I hereby claim:
- I am armins on github.
- I am armins (https://keybase.io/armins) on keybase.
- I have a public key whose fingerprint is EBA2 D414 AB0E 818C 7A0E 6434 0D7E A0D9 A268 DDE5
To claim this, I am signing this object:
| require 'resolv' | |
| module ResolveHost | |
| def ResolveHost.lookup(name) | |
| begin | |
| Resolv.getaddress(name) | |
| rescue Resolv::ResolvError | |
| false | |
| end | |
| end |
| #!/usr/bin/env ruby | |
| sockets = %x(ps ax -o args=).lines.grep(/tmux.*-L/).map{|l| l.chomp.match(/-L +([^ ]+)/)[1] }.uniq | |
| servers = [['default', nil]] + sockets.sort.map{|s| [s, s] } | |
| res = [] | |
| servers.each do |srv, sock| | |
| res << "#{srv}:" | |
| arg = sock ? "-L #{sock}" : "" | |
| %x(tmux #{arg} ls 2> /dev/null).each_line{|l| res << "- #{l.chomp}" } | |
| res << "" |
| #!/usr/bin/env ruby | |
| #/ Usage: <progname> [options]... | |
| #/ How does this script make my life easier? | |
| # ** Tip: use #/ lines to define the --help usage message. | |
| $stderr.sync = true | |
| require 'optparse' | |
| # default options | |
| flag = false | |
| option = "default value" |
I hereby claim:
To claim this, I am signing this object:
| gem install nokogiri -- --with-xml2-include=/usr/local/Cellar/libxml2/2.9.1/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.1/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28 --with-iconv-include=/usr/local/Cellar/libiconv/1.14/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.14/lib -v '1.6.3.1' | |
| Building native extensions with: '--with-xml2-include=/usr/local/Cellar/libxml2/2.9.1/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.1/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28 --with-iconv-include=/usr/local/Cellar/libiconv/1.14/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.14/lib -v 1.6.3.1' |
| Trainingsplan Beispiel | |
| # A - Brust, Schulter, Trizeps, Bauch | |
| 1. Fliegende | |
| 2. Dips | |
| 3. Seitheben | |
| 4. Pull Over (Brustweitung) | |
| 5. Trizeps EH Überkopf sitzend | |
| 6. Bauchübung |
| require 'nokogiri' | |
| require 'open-uri' | |
| require "pp" | |
| # real url | |
| url = "https://www.wien.gv.at/ma22-lgb/luftsl.htm" | |
| # testing url | |
| local_url = 'luftguete.htm' | |
| doc = Nokogiri::HTML(open(url)) |
| use Data::Dumper; | |
| package Package1; | |
| sub new | |
| { | |
| my($class) = shift; | |
| my(%params) = @_; | |
| bless { |