View part 2?
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
totalprice=0 | |
totalitemcount=0 | |
laborcharge=0 | |
discount= 0 | |
totalgccount=0 |
View email.rl
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
%%{ | |
machine rfc2822_header; | |
action mark { | |
@pos = p | |
} | |
action domain { | |
# We have to match 'foo . bar' per the tests and transform it into 'foo.bar' | |
@parts[:host] = data[@pos..p-1].delete(" ") |
View upgrade_ruby.sh
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 | |
apt-get update | |
apt-get install -y build-essential libssl-dev libncurses5-dev libreadline5-dev zlib1g-dev linux-headers-generic libsqlite3-dev | |
cd /tmp | |
wget http://repo.webbynode.com/ruby-1.9.2-p290_i386.deb | |
dpkg -i ruby-1.9.2-p290_i386.deb | |
rm ruby-1.9.2-p290_i386.deb |