This file contains 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 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 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 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 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 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 |
This file contains 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 Home < R '/' | |
def get | |
render :home | |
end | |
end | |
class Login < R '/openid' | |
def get |
This file contains 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
(in /Users/brysonholdeman/shoes) | |
** Invoke default (first_time) | |
** Invoke build (first_time) | |
** Invoke osx:build (first_time) | |
** Invoke osx:build_tasks:pre_build (first_time) | |
** Invoke osx:build_tasks:check_ruby_arch (first_time) | |
** Execute osx:build_tasks:check_ruby_arch | |
** Execute osx:build_tasks:pre_build | |
** Invoke build_skel (first_time) | |
** Execute build_skel |
This file contains 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
# | |
# Initialize the stuff | |
# | |
# We build the status bar item menu | |
framework 'AppKit' | |
def setupMenu | |
menu = NSMenu.new | |
menu.initWithTitle 'FooApp' | |
mi = NSMenuItem.new | |
mi.title = 'Hellow from MacRuby!' |