Skip to content

Instantly share code, notes, and snippets.

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

Sarah Hodne sarahhodne

🏳️‍⚧️
View GitHub Profile
#include <ruby.h>
#ifndef RSTRING_PTR
#define RSTRING_PTR(str) RSTRING(str)->ptr
#endif
#ifndef RSTRING_LEN
#define RSTRING_LEN(str) RSTRING(str)->len
#endif
#ifndef HAVE_RB_STR_SET_LEN
#define rb_str_set_len(str, length) (RSTRING_LEN(str) = (length))
#endif

To open any account (either savings or checking), you must first fill out a W-8 form, which is a declaration of non-citizenship. The bank should have copies of this form available.

Savings Account: Most savings accounts require no minimum balance. You should bring your passport with you for identification. Some sav- ings accounts require a co-signer for non-citizens. In this case try another bank; it is never a good idea to give access to your money to anyone.

Checking Account: Most checking accounts require a co-signer. Many

from base64 import b64decode
from pyserv import IRCd
class Unreal(IRCd):
def start(self):
self.subscribe('raw', self.raw_in)
def raw_in(self, data):
data = data.rstrip("\r\n")
{
"server": {
"name": "irc.example.com",
"description": "RIRCd example server",
"network": "RIRCd"
},
"bind": {
"address": "0.0.0.0",
"port": 6667
},
+-------+ +--------++--+
|COMICS | | || |
+-------+ +--------++--+
| | | || |
+-------+ +--------++--+
| | | || |
+-------+ +--------++--+
| | | || |
+-------+ +--------++--+
| | | || |
cluewiki = MediaWiki.new('http://a.core.cluenet.org/cluewiki/api.php')
cluewiki.signin('Bot', 'password')
cluewiki.edit('SomePage', '[http://example.com Buy some cheap viagra]')
/iomega/code% rails binaryhex
/home/dvyjones/.rvm/gems/ruby-head/gems/railties-3.0.0.beta3/lib/rails/generators.rb:6:in `require': no such file to load -- active_support/core_ext/kernel/singleton_class (LoadError)
from /home/dvyjones/.rvm/gems/ruby-head/gems/railties-3.0.0.beta3/lib/rails/generators.rb:6:in `<top (required)>'
from /home/dvyjones/.rvm/gems/ruby-head/gems/railties-3.0.0.beta3/lib/rails/commands/application.rb:10:in `require'
from /home/dvyjones/.rvm/gems/ruby-head/gems/railties-3.0.0.beta3/lib/rails/commands/application.rb:10:in `<top (required)>'
from /home/dvyjones/.rvm/gems/ruby-head/gems/railties-3.0.0.beta3/lib/rails/cli.rb:30:in `require'
from /home/dvyjones/.rvm/gems/ruby-head/gems/railties-3.0.0.beta3/lib/rails/cli.rb:30:in `<top (required)>'
from /home/dvyjones/.rvm/gems/ruby-head/gems/rails-3.0.0.beta3/bin/rails:1:in `require'
from /home/dvyjones/.rvm/gems/ruby-head/gems/rails-3.0.0.beta3/bin/rails:1:in `<top (required)>'
from /home/dvyjones/.rvm/gems/ruby-head/bin/rails:19:in
class Hook
def self.hooks
@hooks ||= []
end
def initialize(event, &callback)
# Add the hook to the list of hooks
Hook.hooks << {:event => event, :callback => callback}
end
end
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "defender"
gem.summary = %Q{Ruby API wrapper for Defensio}
gem.description = %Q{A wrapper of the Defensio spam filtering service.}
gem.email = "[email protected]"
SQL (3.0ms) SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'