This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| $randwins = 0 | |
| $swins = 0 | |
| $equal = 0 | |
| $tried = [] | |
| ARGV[0].to_i.times do | |
| $times = 0 | |
| $num = rand(1..9) | |
| $sel = rand(1..$num) | |
| loop do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| $one = 0 | |
| $two = 0 | |
| $three = 0 | |
| $four = 0 | |
| $five = 0 | |
| $six = 0 | |
| $seven = 0 | |
| $eight = 0 | |
| $nine = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| DATE=$(date -d "$1" +%Y-%m-%d) | |
| URL="http://schlockmercenary.com/$DATE" | |
| PICS=$(xidel $URL -e "//@src/resolve-uri(.)" 2> /dev/null | egrep '[0-9][a-z].(png|jpg)') | |
| if [ -z "$PICS" ]; then | |
| PICS=$(xidel $URL -e "//@src/resolve-uri(.)" 2> /dev/null | egrep '[0-9].[png|jpg]' | head -n 1) | |
| fi | |
| echo "$PICS" | |
| exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| LINE=$((`grep -n "$2()" $1 | head -c 1`+1)) | |
| ./insert.sh $1 $LINE "$3" | |
| exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| hackermode() | |
| { | |
| if [ "$1" == "on" ]; then | |
| shopt -s extdebug | |
| analyzer () | |
| { | |
| LAST=`fc -ln -1 | cut -d " " -f 2` | |
| if which $LAST &> /dev/null; then | |
| which $LAST | |
| elif type $LAST | grep builtin &> /dev/null; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/camping-2.1.554/lib/camping/server.rb:40:in `expand_path': no implicit conversion of nil into String (TypeError) | |
| from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/camping-2.1.554/lib/camping/server.rb:40:in `<class:Options>' | |
| from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/camping-2.1.554/lib/camping/server.rb:28:in `<class:Server>' | |
| from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/camping-2.1.554/lib/camping/server.rb:27:in `<module:Camping>' | |
| from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/camping-2.1.554/lib/camping/server.rb:26:in `<top (required)>' | |
| from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' | |
| from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' | |
| from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/camping-2.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkdir: : No such file or directory | |
| Installing gems listed in /tmp/jewelrybox_gemstack-675292940.gems file... | |
| installing mkdir: ..... | |
| .. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| while true; do | |
| read LINE | |
| echo "$LINE" | while IFS= read -r -n1 i; do | |
| case $i in | |
| "<"|">") | |
| echo -n "waka " | |
| ;; | |
| "!") | |
| echo -n "bang " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Camping.goes :Test | |
| module Test::Controllers | |
| class Login < R '/' | |
| def get | |
| require 'openid' | |
| @state.openid_request = Hash.new | |
| oid_request = OpenID::Consumer.new(@state.openid_request, nil).begin(input.identity) | |
| 'You made it home.' | |
| end | |
| end |