Zobrazit příspěvky

Tato sekce Vám umožňuje zobrazit všechny příspěvky tohoto uživatele. Prosím uvědomte si, že můžete vidět příspěvky pouze z oblastí Vám přístupných.


Příspěvky - ZAJDAN

Stran: 1 ... 98 99 [100] 101 102 ... 139
1486
solved:
\curl -sSL https://get.rvm.io | bash -s stable --rails


1487
problem je ted ale nainstalovat rails:

gem install rails
Kód: [Vybrat]
Building native extensions.  This could take a while...
ERROR:  Error installing rails:
ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.3.0/gems/nokogiri-1.6.8.1/ext/nokogiri
/usr/bin/ruby2.3 -r ./siteconf20161027-29302-1cllka0.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.3.0/gems/nokogiri-1.6.8.1 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/nokogiri-1.6.8.1/gem_make.out

1488
Distribuce / Re:Ruby 2.3 + Rails 5 na Debian 8(stable)
« kdy: 27. 10. 2016, 13:59:27 »
Co se tyce tveho problemu s dependency tak toto je problem tveho debianu (ja RVM pouzivam na Ubuntu/Debianu/Fedore/Gentoo/macOS a nikdy jse ms nim nemel problem).

je to naprosto cista instalace debianu 8.6 x64 kde jsem nainstaloval defaultni verzi  z repozitare 2.1.5
protoze jsem si vsiml ze to hlasi:
Kód: [Vybrat]
No binary rubies available for: debian/8/x86_64/ruby-2.3.0.
do repositaru jsem tedy nasadil vetev testing, z ni nainstaloval balicek ruby (2.3)
a nasledne spustil

\curl -sSL https://get.rvm.io | bash -s stable --ruby

a vypada to ze je hotovo

1489
Distribuce / Re:Ruby 2.3 + Rails 5 na Debian 8(stable)
« kdy: 27. 10. 2016, 13:50:46 »
curl -sSL https://get.rvm.io | bash -s stable --rails
Kód: [Vybrat]
Downloading https://github.com/rvm/rvm/archive/1.27.0.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.27.0/1.27.0.tar.gz.asc
gpg: Signature made Tue 29 Mar 2016 03:49:47 PM CEST using RSA key ID BF04FF17
gpg: Good signature from "Michal Papis (RVM signing) <mpapis@gmail.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 409B 6B17 96C2 7546 2A17  0311 3804 BB82 D39D C0E3
     Subkey fingerprint: 62C9 E5F4 DA30 0D94 AC36  166B E206 C29F BF04 FF17
GPG verified '/usr/local/rvm/archives/rvm-1.27.0.tgz'

Upgrading the RVM installation in /usr/local/rvm/
Upgrade of RVM in /usr/local/rvm/ is complete.

# Administrator,
#
#   Thank you for using RVM!
#   We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne, Michal & team.

In case of problems: https://rvm.io/help and https://twitter.com/rvm_io

Upgrade Notes:

  * No new notes to display.

rvm 1.27.0 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
Searching for binary rubies, this might take some time.
No binary rubies available for: debian/8/x86_64/ruby-2.3.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for debian.
Installing requirements for debian.
Updating system....
Installing required packages: libreadline6-dev, zlib1g-dev, libssl-dev, libyaml-dev, libsqlite3-dev, sqlite3, autoconf, libgmp-dev, libgdbm-dev, libncurses5-dev, automake, libtool, bison, pkg-config, libffi-dev...
Error running 'requirements_debian_libs_install libreadline6-dev zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 autoconf libgmp-dev libgdbm-dev libncurses5-dev automake libtool bison pkg-config libffi-dev',
showing last 15 lines of /usr/local/rvm/log/1477568950_ruby-2.3.0/package_install_libreadline6-dev_zlib1g-dev_libssl-dev_libyaml-dev_libsqlite3-dev_sqlite3_autoconf_libgmp-dev_libgdbm-dev_libncurses5-dev_automake_libtool_bison_pkg-config_libffi-dev.log
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libncurses5-dev : Depends: libtinfo5 (= 5.9+20140913-1+b1) but 6.0+20160917-1 is to be installed
                   Depends: libncurses5 (= 5.9+20140913-1+b1) but 6.0+20160917-1 is to be installed
                   Depends: libtinfo-dev (= 5.9+20140913-1+b1) but it is not going to be installed
 libreadline6-dev : Depends: libtinfo-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
++ /scripts/functions/utility : __rvm_try_sudo()  381 > return 100
++ /scripts/functions/requirements/debian : requirements_debian_libs_install()  36 > return 100
Requirements installation failed with status: 100.

1490
Distribuce / Re:Ruby 2.3 + Rails 5 na Debian 8(stable)
« kdy: 27. 10. 2016, 13:38:21 »
Osobne pouzivam pro ruby rvm (pripadne rbenv) je nejaky duvod proc jej nepouzit?
nevim neznam...slysim az ted...jsem ruby beginer!
poradis tedy co nejlepe?

1491
Distribuce / Nasazení Ruby 2.3 a Rails 5 na Debian 8 (stable)
« kdy: 27. 10. 2016, 13:27:56 »
Ahoj...
podarilo se nekomu na Debian 8(stable) nasadit Ruby 2.3 + Rails 5 ...?
Rails 5 jede jen s Ruby 2.2 a vissi...jenze Debian stable ma v repo ruby 2.1.5
instalace ruby2.3-dev z testing vetve chce odebrat pulku systemu!

1492
Vývoj / Re:komprese XML na straně klienta
« kdy: 25. 10. 2016, 15:47:20 »
Stačí v PHP zavolat inverzní funkci k té javascriptové.
díky za info

1493
Vývoj / Re:komprese XML na straně klienta
« kdy: 25. 10. 2016, 15:45:08 »
To odpovídá jen na tu první část. Jaký je obvyklý/doporučený postup pro detekci, zda a jaké kódování tělo požadavku server podporuje?
Asi žádný, buď to server umí a vrátí 200, nebo to server neumí a vrátí 500. To už si musí rozhodnout Zajdan, jak to chce provozovat a jestli umí zařídit, aby server kompresi requestu podporoval.
server mam pod kontrolou, je to Apache...snazil jsem se pochopit dokumentaci a chapu to dobre?,  ze do virtualhostu pro dany web pridam:
SetInputFilter DEFLATE

1494
Vývoj / Re:komprese XML na straně klienta
« kdy: 25. 10. 2016, 14:35:39 »
no ted mi docvakla jeste jedna vec...ze ja to Ajaxem posilam na PHP a pokud to zkomprimuju nejakou JS knihovnou tak tomu PHP nebude rozumet a bude potreba dalsi čáry máry :(

1495
Vývoj / Re:komprese XML na straně klienta
« kdy: 25. 10. 2016, 13:08:37 »
Pro upload by ale mělo jít použít existující javascriptové knihovny pro kompresi a xml komprimovat před odesláním a na serveru zase dekomprimovat.
mas nejaky ozkouseny tip? samotne jquery to neumi...aspon jsem nic nevylustil

1496
Vývoj / Re:komprese XML na straně klienta
« kdy: 25. 10. 2016, 13:01:55 »
Cece ja ti teda nevim, ale nekomprimuje ono http tak nejak od prirody? Teda pokud se srv i klient prihlasi k tomu, ze to umi. Jinak je to vseobecne protokol pro prenos vetsich objemu dat naprosto nevhodnej.

Jinak se da zcela jiste napsat klidne celej zip, jen bude vysledek presne nula.
Covece to nevim ani ja, pac na Apachi se pise:
'The mod_deflate module provides the DEFLATE output filter that allows output from your server to be compressed before being sent to the client over the network.'

Ale jak je to u apache s input, to by mne zajimalo. Mozna se na to cele spatne divam...

1497
Vývoj / Komprese XML na straně klienta
« kdy: 25. 10. 2016, 12:21:44 »
Ahoj...
Scenář:
webový formulař obsahuje SVG(5-10MB), které se odesláním formuláře odešle jako XML string na server, tam se uloží zpět do SVG a vloží do generovaného PDF, které se pošle zpět do okna klientova prohlížeče.
Rychlost generování PDF je tedy synchroní s rychlostí upload linky na straně klienta.

Cíl:
urychlit proces generovaní PDF pomocí zmenšení odesílaných dat ze strany klienta na server
-------------------------------------------------------------------------------
nemáte tip jak před odesláním Ajaxem XML komprimovat?

1498
Hardware / Re:Poraďte kvalitní zvukovku pro Linux
« kdy: 24. 10. 2016, 23:16:02 »
Alesis Multimix 4 USB... Ta jede zarucene
Na windows jsem kdysi pouzival turtle beach montego.. To byla trida!

1499
Hardware / Re:Mobilní příslušenství s protokolem NFC
« kdy: 24. 10. 2016, 12:19:14 »
Petře měl jsi pravdu, jde o rychlost a make it simply :_)
presnou odpoved jsem nalezl zde:
http://blog.jabra.com/whats-nfc-and-why-should-you-care/

What’s the point of NFC in Bluetooth headsets?

You’ve probably heard of Bluetooth headsets with NFC. That may sound confusing. Don’t Bluetooth headsets already use – you know – Bluetooth to connect to your smartphone?

They do, and if you’ve ever owned a Bluetooth headset, you’re probably familiar with the many steps involved in pairing it with your phone. You put your headset in “pairing mode,” turn on Bluetooth on your smartphone, tell it to scan for new devices, pick your new Bluetooth headset from the list, maybe enter a passkey, then cross your fingers and pray for it all to work.

That’s where NFC comes in: It acts as a little helper in the tedious pairing process. If both your smartphone and your Bluetooth headset have NFC, pairing them is no more complicated than tapping them together for a second. Here’s a quick demo:

1500
osobne bych problem zminil i sem:
https://forums.openvpn.net/

Stran: 1 ... 98 99 [100] 101 102 ... 139