I hereby claim:
- I am teleological on github.
- I am teleological (https://keybase.io/teleological) on keybase.
- I have a public key ASBCsw5qW2n-gbGU8HneNtWGE7Gw8Uxeac877bRhRXhZZwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
congress=# select d.state, d.cong_dist, n.state, n.cong_dist from cgd113p010g d join cgd113p010g n on ST_Touches(d.geom, n.geom) order by d.state, d.cong_dist, n.state, n.cong_dist; | |
state | cong_dist | state | cong_dist | |
----------------------+-----------+----------------------+----------- | |
Alabama | 01 | Alabama | 02 | |
Alabama | 01 | Alabama | 07 | |
Alabama | 01 | Florida | 01 | |
Alabama | 01 | Mississippi | 04 | |
Alabama | 02 | Alabama | 01 | |
Alabama | 02 | Alabama | 03 | |
Alabama | 02 | Alabama | 06 |
var iphost = "http://api.hostip.info/get_json.php"; | |
var countryhost = "http://api.hostip.info/get_json.php?ip="; | |
function getIP() { | |
return $.ajax({ | |
type: 'GET', | |
url: iphost, | |
dataType: 'json' | |
}); | |
} |
require 'rubygems' | |
require 'twitter' | |
follower = ARGV[0] || raise("USAGE: #$0 <follower_name> [list_name]") | |
list_name = ARGV[1] || ("FollowedBy" + follower.upcase) | |
# Requires read-write token | |
CONSUMER_KEY = YOUR_CONFIG_HERE | |
CONSUMER_SECRET = YOUR_CONFIG_HERE | |
OAUTH_TOKEN = YOUR_CONFIG_HERE |
require 'ffi' | |
module RubyInternals | |
extend FFI::Library | |
ffi_lib(FFI::CURRENT_PROCESS) | |
attach_variable :ptr_vm_core, :rb_mRubyVMFrozenCore, :pointer | |
attach_function :const_def_pointer, :rb_define_const, | |
[:pointer, :string, :pointer], :void |
module Greeter | |
extend RubyInternals | |
iseq = RubyVM::InstructionSequence.compile <<-RUBY | |
puts "Hello, world." | |
RUBY | |
define_iseq_singleton_method(self, :greet, iseq) | |
end |
module RubyInternals | |
def define_iseq_singleton_method(mod,sel,iseq) | |
mod.module_eval do | |
RubyCore.send("core#define_singleton_method",mod,sel,iseq) | |
end | |
end | |
end |
module RubyInternals | |
attach_function :const_def_pointer, :rb_define_const, | |
[:pointer, :string, :pointer], :void | |
attach_variable :ptr_object_class, :rb_cObject, :pointer | |
const_def_pointer(ptr_object_class, "RubyCore", ptr_vm_core) | |
end |
module RubyInternals | |
attach_variable :ptr_vm_core, :rb_mRubyVMFrozenCore, :pointer | |
end |
require 'ffi' | |
module RubyInternals | |
extend FFI::Library | |
ffi_lib(FFI::CURRENT_PROCESS) | |
end |