Skip to content

Instantly share code, notes, and snippets.

View deadprogram's full-sized avatar
💭
Currently available for work. Let's talk!

Ron Evans deadprogram

💭
Currently available for work. Let's talk!
View GitHub Profile
class Dang
end
%w{ dang parser }.each do |f|
require File.expand_path(File.dirname(__FILE__) + "/dang/#{f}.rb")
end
<internal:lib/rubygems/custom_require>:29:in `require': 126: The specified module could not be found. - C:/Ruby192/lib/ruby/gems/1.9.1/gems/qtbindings-0.0.0.0-x86-mingw32/lib/1.9/qtruby4.so (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/qtbindings-0.0.0.0-x86-mingw32/
lib/Qt4.rb:19:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/qtbindings-0.0.0.0-x86-mingw32/
lib/Qt.rb:1:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:33:in `require'
from <internal:lib/rubygems/custom_require>:33:in `rescue in require'
@deadprogram
deadprogram / gist:910116
Created April 8, 2011 15:34
KidsRuby Lightning Talk
KidsRuby
- There are not enough programmers in the world
- The best programmers all started when young
- Computer programming education budgets are getting slashed in the US/UK and elsewhere!
- _why the lucky stiff cared a lot about teaching kids, created Hackety-Hack
/usr/local/kidsruby/ruby/lib/ruby/1.9.1/rubygems/config_file.rb:205:in `exists?': Insecure operation - exists? (SecurityError)
from /usr/local/kidsruby/ruby/lib/ruby/1.9.1/rubygems/config_file.rb:205:in `load_file'
from /usr/local/kidsruby/ruby/lib/ruby/1.9.1/rubygems/config_file.rb:154:in `initialize'
from /usr/local/kidsruby/ruby/lib/ruby/1.9.1/rubygems/gem_runner.rb:71:in `new'
from /usr/local/kidsruby/ruby/lib/ruby/1.9.1/rubygems/gem_runner.rb:71:in `do_configuration'
from /usr/local/kidsruby/ruby/lib/ruby/1.9.1/rubygems/gem_runner.rb:44:in `run'
from /usr/local/kidsruby/ruby/bin/gem:21:in `<main>'
@deadprogram
deadprogram / editor process
Created December 6, 2011 21:10
KidsRuby Windows performance with Ruby 1.9.2
Thread ID: 11807412
Total: 35.046000
%self total self wait child calls name
93.71 32.84 32.84 0.00 0.04 305 Qt::Base#method_missing
4.49 1.62 1.57 0.00 1.55 39 Kernel#gem_original_require
1.43 0.50 0.50 0.00 0.00 36 Qt::Base#initialize
0.09 0.03 0.03 0.00 0.00 65 <Class::File>#expand_path
0.06 0.04 0.02 0.00 0.02 2 <Module::Gem>#searcher
0.06 0.02 0.02 0.00 0.00 10126 Hash#default
ii appmenu-qt 0.1.2-0ubuntu1 appmenu support for Qt
ii libdbusmenu-qt2 0.8.2-0ubuntu2 a Qt library that implements the DBusMenu spec
ii libqt4-core 4:4.7.2-0ubuntu6 transitional package for Qt 4 core non-GUI runtime libraries
ii libqt4-dbus 4:4.7.2-0ubuntu6 Qt 4 D-Bus module
ii libqt4-declarative 4:4.7.2-0ubuntu6 Qt 4 Declarative module
ii libqt4-designer 4:4.7.2-0ubuntu6 Qt 4 designer module
ii libqt4-dev 4:4.7.2-0ubuntu6 Qt 4 development files
ii libqt4-help 4:4.7.2-0ubuntu6 Qt 4 help module
ii libqt4-network 4:4.7.2-0ubuntu6 Qt 4 network module
ii libqt4-ope
@deadprogram
deadprogram / Gemfile
Created January 5, 2012 05:18
Hello AT&T Foundry Service
source :rubygems
gem 'rack', "~> 1.3.6"
gem 'sinatra'
gem 'json'
gem 'omniauth'
gem 'omniauth-github'
@deadprogram
deadprogram / hello.js
Created January 9, 2012 03:14
Node.js Sample Application for AT&T Alpha API Foundry
var express = require('express');
var OAuth = require('oauth').OAuth2;
var app = express.createServer();
var _foundryConsumerKey = "YOURFOUNDRYKEY";
var _foundryConsumerSecret = "YOURFOUNDRYSECRET";
var _redirectUri = "http://hello-att-foundry-node.heroku.com/auth/callback";
var consumer = new OAuth(_foundryConsumerKey,
@deadprogram
deadprogram / Gemfile
Created January 9, 2012 03:24
Ruby Sample Application for AT&T Alpha API Foundry
source :rubygems
gem 'rack', "~> 1.3.6"
gem 'sinatra'
gem 'json'
gem 'oauth2'
@deadprogram
deadprogram / Procfile
Created January 9, 2012 23:20
Python Sample Application for AT&T Alpha API Foundry
web: python hi.py