I hereby claim:
- I am agargiulo on github.
- I am agargiulo (https://keybase.io/agargiulo) on keybase.
- I have a public key whose fingerprint is BAA1 A658 1060 B244 DE49 6D41 5C36 CA3C BF43 F315
To claim this, I am signing this object:
| #!/usr/bin/zsh | |
| money=103.4 | |
| print "ruby vs python:" | |
| diff <(echo $money | ruby ex12b.rb) <(echo $money | python3 ex12b.py) && print "No changes" | |
| print "ruby vs java:" | |
| diff <(echo $money | ruby ex12b.rb) <(echo $money | java ex12b) && print "No changes" |
| lrb () { | |
| filename="ex${1}.rb" | |
| shift | |
| if [[ -e $filename ]] | |
| then | |
| vim $filename | |
| else | |
| vim $filename +startinsert | |
| fi |
| [19:45:48] % ping 8.8.8.8 | |
| PING 8.8.8.8 (8.8.8.8): 56 data bytes | |
| 64 bytes from 8.8.8.8: icmp_seq=0 ttl=127 time=558.698 ms | |
| 64 bytes from 8.8.8.8: icmp_seq=1 ttl=127 time=151.799 ms | |
| 64 bytes from 8.8.8.8: icmp_seq=2 ttl=127 time=688.438 ms | |
| 64 bytes from 8.8.8.8: icmp_seq=3 ttl=127 time=172.532 ms | |
| 64 bytes from 8.8.8.8: icmp_seq=4 ttl=127 time=374.557 ms | |
| 64 bytes from 8.8.8.8: icmp_seq=5 ttl=127 time=212.875 ms | |
| 64 bytes from 8.8.8.8: icmp_seq=6 ttl=127 time=206.686 ms | |
| 64 bytes from 8.8.8.8: icmp_seq=7 ttl=127 time=940.021 ms |
I hereby claim:
To claim this, I am signing this object:
| module Foo | |
| class << self | |
| def logger | |
| @logger ||= Logger.new($stdout) | |
| end | |
| end | |
| class FunThing | |
| def self.is_fun? item | |
| item.is_a? FunThing | |
| end |
| sub Foo { | |
| return; | |
| } | |
| sub Bar { | |
| return undef; | |
| } | |
| my $foo_item = Foo(); | |
| my $bar_item = Bar(); |
| #!/bin/zsh | |
| # go to $HOME | |
| cd ~ | |
| # look for all .*rc files | |
| for rc in \.*rc; | |
| do; | |
| # $rc2 = filename without the leading . | |
| rc2=${rc:e} |
| use 5.010; | |
| open(my $config, ">" "$configfile") or die $!; | |
| $output = $row->{value}; | |
| my @output = split(/\n/, $output); | |
| if ($wroteToFile) | |
| { | |
| foreach (@output) | |
| { |
| question 1 | |
| question 2 |
| #!/bin/zsh | |
| # | |
| echo wget -O CentOS/initrd_6_32.img "http://mirrors.rit.edu/centos/6.2/os/i386/images/pxeboot/initrd.img" | |
| wget -O CentOS/initrd_6_32.img "http://mirrors.rit.edu/centos/6.2/os/i386/images/pxeboot/initrd.img" | |
| echo wget -O CentOS/initrd_6_64.img "http://mirrors.rit.edu/centos/6.2/os/x86_64/images/pxeboot/initrd.img" | |
| wget -O CentOS/initrd_6_64.img "http://mirrors.rit.edu/centos/6.2/os/x86_64/images/pxeboot/initrd.img" | |
| echo wget -O CentOS/vmlinuz_6_32 "http://mirrors.rit.edu/centos/6.2/os/i386/images/pxeboot/vmlinuz" | |
| wget -O CentOS/vmlinuz_6_32 "http://mirrors.rit.edu/centos/6.2/os/i386/images/pxeboot/vmlinuz" | |
| echo wget -O CentOS/vmlinuz_6_64 "http://mirrors.rit.edu/centos/6.2/os/x86_64/images/pxeboot/vmlinuz" | |
| wget -O CentOS/vmlinuz_6_64 "http://mirrors.rit.edu/centos/6.2/os/x86_64/images/pxeboot/vmlinuz" |