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
#<IRC::Event:PRIVMSG sender=#<IRC::User:0x179d078 @mask="nixeagle!i=chatzill@Wikimedia/Nixeagle"> recipient="#botters" message="chuck, no mediawiki changed on me"> | |
#<IRC::Event:PRIVMSG sender=#<IRC::User:0x179bf0c @mask="chuck!n=charlie@tangocms/developer/chuck"> recipient="#botters" message="http://gist.github.com/ I didn't know that existed O_o"> | |
#<IRC::Event:PRIVMSG sender=#<IRC::User:0x179ad64 @mask="nixeagle!i=chatzill@Wikimedia/Nixeagle"> recipient="#botters" message="(which is part of the reason why I'm going to do a rewrite)"> | |
#<IRC::Event:PRIVMSG sender=#<IRC::User:0x1799a54 @mask="chuck!n=charlie@tangocms/developer/chuck"> recipient="#botters" message="it looks like pastie"> | |
#<IRC::Event:PRIVMSG sender=#<IRC::User:0x1798960 @mask="nixeagle!i=chatzill@Wikimedia/Nixeagle"> recipient="#botters" message="http://gist.github.com/20262"> | |
#<IRC::Event:PRIVMSG sender=#<IRC::User:0x17978e4 @mask="nixeagle!i=chatzill@Wikimedia/Nixeagle"> recipient="#botters" message="I think so"> | |
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
$LOAD_PATH << './lib' | |
puts "Loading IRC..." | |
require 'irc' | |
puts "Loading the IRC Parser..." | |
require 'parser' | |
puts "Loading RubyGems..." | |
require 'rubygems' | |
puts "Loading Activerecord..." | |
require 'activerecord' | |
puts "Loading models and connecting to database..." |
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
require 'rubygems' | |
require 'wirble' | |
require 'utility_belt' | |
Wirble::Colorize.colors.merge!( | |
:comma => :light_white, | |
:refers => :light_white, | |
:open_hash => :light_white, | |
:close_hash => :light_white, |
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
class Configuration | |
def initialize( file = 'config.yaml' ) | |
p file | |
@config = YAML.load_file( file ) | |
end | |
def is_admin?(nick, host) | |
p nick | |
p host | |
for person in @config |
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
--- | |
- nick: chuck | |
host: wikimedia/cmelbye | |
- nick: Prom_cat | |
host: wikipedia/Prom3th3an | |
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
<?php | |
print "hey!\n"; | |
if( 1 == 1 ) { | |
print "1 is equal to 1. Yay.\n"; | |
} | |
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
no! |
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
export LANG=en_US.UTF-8 | |
export LC_CTYPE="en_US.UTF-8" | |
export LC_NUMERIC="en_US.UTF-8" | |
export LC_TIME="en_US.UTF-8" | |
export LC_COLLATE="en_US.UTF-8" | |
export LC_MONETARY="en_US.UTF-8" | |
export LC_MESSAGES="en_US.UTF-8" | |
export LC_PAPER="en_US.UTF-8" | |
export LC_NAME="en_US.UTF-8" | |
export LC_ADDRESS="en_US.UTF-8" |
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
charlie@li50-78 ~ $ sudo emerge -uDpv system | |
These are the packages that would be merged, in order: | |
Calculating dependencies... done! | |
[ebuild U ] dev-libs/expat-2.0.1-r1 [1.95.8] USE="(-test%)" 436 kB [?=>0] | |
[ebuild U ] perl-core/Test-Harness-3.10 [2.64] 173 kB [?=>0] | |
[ebuild U ] app-admin/perl-cleaner-1.05 [1.04.3] 6 kB [?=>0] | |
[ebuild N ] app-admin/python-updater-0.5 0 kB [0] | |
[ebuild U ] sys-devel/binutils-config-1.9-r4 [1.9-r3] 0 kB [?=>0] |
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
root@hvc0:~# umount /dev/xvdc | |
umount: /dev/xvdc: not mounted | |
root@hvc0:~# swapon /dev/xvdc | |
swapon: /dev/xvdc: Device or resource busy | |
root@hvc0:~# | |
OlderNewer