This file contains hidden or 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
| $ rake gitnesse:info | |
| /Users/ron/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/rake.rb:30: warning: already initialized constant RAKEVERSION | |
| WARNING: Possible conflict with Rake extension: String#ext already exists | |
| WARNING: Possible conflict with Rake extension: String#pathmap already exists | |
| /Users/ron/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/rake.rb:402: warning: already initialized constant EMPTY_TASK_ARGS | |
| /Users/ron/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/rake.rb:450: warning: already initialized constant EMPTY | |
| /Users/ron/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/rake.rb:962: warning: already initialized constant RUBY | |
| /Users/ron/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/rake.rb:1031: warning: already initialized constant LN_SUPPORTED | |
| /Users/ron/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/rake.rb:1240: warning: already initialized constant ARRAY_METHODS | |
| /Users/ron/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/rake.rb:1243: warning: already initialized constant MUST_DEFINE |
This file contains hidden or 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 WishList | |
| include Enumerable | |
| attr_accessor :wishes | |
| def initialize | |
| @wishes=[] | |
| end | |
| def each &block | |
| @wishes.each_with_index {|item, index| block.call("#{index}, #{item}")} |
This file contains hidden or 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
| $ bundle install | |
| Using rake (0.8.7) | |
| Using chunky_png (1.2.5) | |
| Using fssm (0.2.7) | |
| Using sass (3.1.12) | |
| Using compass (0.11.5) | |
| Using ffi (1.0.10) | |
| Using thor (0.14.6) | |
| Using guard (0.8.7) | |
| Using guard-shell (0.1.1) |
This file contains hidden or 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
| We Want YOU For KidsCodeCamp! | |
| Did you ever want to make a videogame, program a robot, or create a web site? Now you can! | |
| Come to KidsCodeCamp, a free one-day event to learn how to use computers and technology to make things that do whatever you want. | |
| KidsCodeCamp in PLACE will take place on DATE at YYY location from START TIME to END TIME. | |
| Here is how it works: | |
| 1. Local volunteers will run classes intended for a particular age group (elementary, middle, or high-school age kids). Each class is from 1 to 2 hours long. |
This file contains hidden or 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
| #!/usr/bin/env ruby | |
| def pop; $stack.pop || raise(StackUnderflow); end | |
| def push(expression); $stack << expression; end | |
| def unary; -> { push(yield pop) }; end | |
| def binary; -> { push(yield pop, pop) }; end | |
| def unary_boolean; -> { push(if yield pop then 1 else 0 end) }; end | |
| def binary_boolean; -> { push(if yield pop, pop then 1 else 0 end) }; end | |
| def swap; $stack[-2,2] = $stack[-2,2].reverse; end | |
| $stack = [] |
This file contains hidden or 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
| web: python hi.py |
This file contains hidden or 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
| source :rubygems | |
| gem 'rack', "~> 1.3.6" | |
| gem 'sinatra' | |
| gem 'json' | |
| gem 'oauth2' |
This file contains hidden or 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
| 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, |
This file contains hidden or 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
| source :rubygems | |
| gem 'rack', "~> 1.3.6" | |
| gem 'sinatra' | |
| gem 'json' | |
| gem 'omniauth' | |
| gem 'omniauth-github' |
This file contains hidden or 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
| 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 |