My Recent Pastes (109 and counting)
Recent Pasties by halorgium (109 and counting)
Below are summaries of the 15 most recent pasties by halorgium.
May 23, 2008
5:44AM EDT
by halorgium
View more (15 lines)
1 2 3 4 5 |
+----------------+
| main_sup |
+--------+-------+
|
+----------------+----------+
|
May 19, 2008
9:16AM EDT
by halorgium
View more (205 lines)
1 2 3 4 5 |
-module(mb2_bencoding).
-author("Tim Carey-Smith <dev@spork.in>").
-vsn("1.0").
-include_lib("logging.hrl").
|
April 24, 2008
1:19AM EDT
by halorgium
View more (25 lines)
1 2 3 4 5 |
## $REPO/hooks/pre-revprop-change #!/usr/bin/env bash REPOS="$1" |
April 17, 2008
5:08PM EDT
by halorgium
View more (14 lines)
1 2 3 4 5 |
## Put this in ~/.hoerc and it will ignore .git for check_manifest! --- publish_on_announce: false exclude: !ruby/regexp /tmp$|CVS|\.svn|\.git|\/\._/ |
April 17, 2008
2:21AM EDT
by halorgium
View more (52 lines)
1 2 3 4 5 |
## Instructions [plaintext] Put this in /home/deploy/bin/shell chmod +x it command="/home/deploy/bin/shell" ssh-dss AAAAB3Nza........ |
March 01, 2008
6:34PM EDT
by halorgium
View more (11 lines)
1 2 3 4 5 |
[Projects/god (mojombo/science)]$ github home # always opens http://github.com/halorgium/god/tree/master [Projects/god (master)]$ github browse # opens http://github.com/halorgium/god/tree/master |
March 01, 2008
5:45PM EDT
by halorgium
View more (44 lines)
1 2 3 4 5 |
#!/usr/bin/env ruby begin ################# |
February 29, 2008
11:51PM EDT
by halorgium
View more (19 lines)
1 2 3 4 5 |
GitHub.register :open do def run exec "open #{helper.url}" end end |
February 15, 2008
3:09PM EDT
by halorgium
View more (17 lines)
1 2 3 4 5 |
## ./script/deliverer #!/usr/bin/env ruby require 'rubygems' require 'daemons' |
February 13, 2008
8:11PM EDT
by halorgium
View more (23 lines)
1 2 3 4 5 |
profile :rails, "/home/deploy/%s/current" load_balancer :nginx do uid "www-data" gid "www-data" |
January 30, 2008
8:10PM EDT
by halorgium
View more (23 lines)
1 2 3 4 5 |
rule ipv4_address
octet "." octet "." octet "." octet {
def value
IPAddr.new(text_value)
end
|
January 30, 2008
2:24PM EDT
by halorgium
View more (51 lines)
1 2 3 4 5 |
## spec/spec_helper.rb $:.unshift File.dirname(__FILE__) + "/../lib" require 'rubygems' require 'spec' |
January 29, 2008
8:23PM EDT
by halorgium
View more (33 lines)
1 2 3 4 5 |
# From http://tammersaleh.com/posts/rescuing-net-http-exceptions require 'net/http' #=> true |
Pastie