Skip to content

Instantly share code, notes, and snippets.

View sarahhodne's full-sized avatar
🏳️‍⚧️

Sarah Hodne sarahhodne

🏳️‍⚧️
View GitHub Profile
<?PHP
class Account {
protected $id;
protected $username;
protected $level;
public static function create( $id, $userName, $password, $level = 1 ) {
$insertData = Array(
'id' => 'NULL',
'user' => $userName,
require 'rbnc'
class CouncilPoke
include RBNC::Filters
filter_privmsg :to_client, /councilpoke/i, :privmsg
def privmsg(to, from, msg)
# Notify Dvyjones
# ...
[:require,
["rubygems"],
true,
["config/environment.rb:4:in `require'",
"<internal:gem_prelude>:235:in `load_full_rubygems_library'",
"<internal:gem_prelude>:343:in `method_missing'",
"/home/dvyjones/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.5/lib/bundler.rb:126:in `configure_gem_home_and_path'",
"/home/dvyjones/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.5/lib/bundler.rb:48:in `configure'",
"/home/dvyjones/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.5/lib/bundler.rb:80:in `definition'",
"/home/dvyjones/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.5/lib/bundler.rb:76:in `load'",
nick 'Dvyjones' do
user 'dvyjones'
oper 'Dvyjones', :base64 => 'TmljZSB0cnkuLi4='
end
network :clueirc do
server 'irc.cluenet.org', 6697, :ssl => true
bind_to 'localhost', 17878
end
Hi - your order has shipped!
Spark Fun Electronics Order 179013
Shipped To:
Henrik Hodne
Elle Terrasse 3
Drøbak, 1440
Norway
Timestamp: Sat Jan 30 21:07:05 2010 (1264907225)
<br>
<br>
<table border=6 class="wikitable sortable">
<thead>
<tr>
<th align=center>Node Name</th>
<th align=center>ID</th>
<th align=center>IP Address</th>
<th align=center>IPv6 Address</th>
[dvyjones@ostrich ~]$ rvm list
jruby-1.4.0 [ [i386-java] ]
rbx-1.0.0-rc2 [ ]
ruby-1.8.6-p383 [ i386 ]
ruby-1.8.7-p248 [ i386 ]
ruby-1.9.1-p378 [ i386 ]
(default) ruby-1.9.1-p378 [ i386 ]
system [ i386 ]
. $HOME/.bashrc
[dvyjones@LE09001865:~]$ rvm list
bash: /home/dvyjones/.rvm/rubies/jruby-1.3.1/bin/ruby: No such file or directory
jruby-1.3.1 [ ]
jruby-1.4.0 [ [amd64-java] ]
rbx-1.0.0-rc2 [ ]
ruby-1.8.6-p383 [ x86_64 ]
ruby-1.8.7-p174 [ x86_64 ]
ruby-1.8.7-p248 [ x86_64 ]
ruby-1.9.1-p376 [ x86_64 ]
plugin(:echo) do
name 'Echo Plugin'
author 'Henrik Hodne <[email protected]>'
command(:echo, '*') do |from, params|
from.privmsg(params)
end
end