This file contains 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
executable items list # shows list of items | |
executable items one_item # shows info about one_item | |
executable items one_item list # list sub_items of one_item | |
executable items one_item one_subitem # shows info about items sub_item | |
This file contains 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 Robocop | |
include Directive4 # My little contribution to your psychological profile! | |
end |
This file contains 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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<match target="font" > | |
<edit mode="assign" name="rgba" > | |
<const>none</const> | |
</edit> | |
</match> | |
<match target="font" > | |
<edit mode="assign" name="hinting" > |
This file contains 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
# Update, upgrade and install development tools: | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install build-essential | |
apt-get -y install git-core | |
# Install rbenv | |
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv | |
# Add rbenv to the path: |
This file contains 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
/home/cmeiklejohn/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:167:in `block in non_options': file not found: cucumber (ArgumentError) | |
from /home/cmeiklejohn/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:146:in `map!' | |
from /home/cmeiklejohn/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:146:in `non_options' | |
from /home/cmeiklejohn/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:207:in `non_options' | |
from /home/cmeiklejohn/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:52:in `process_args' | |
from /home/cmeiklejohn/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:891:in `_run' | |
from /home/cmeiklejohn/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' | |
from /home/cmeiklejohn/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:21:in `run' | |
from /home/cmeiklejohn/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' | |
from /home/cmeiklejohn/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' |
This file contains 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
1649 rubygems.org:master % cap production deploy | |
* executing `production' | |
triggering start callbacks for `deploy' | |
* executing `multistage:ensure' | |
* executing `deploy' | |
* executing `deploy:update' | |
** transaction: start | |
* executing `deploy:update_code' | |
updating the cached checkout on all servers | |
executing locally: "git ls-remote git://github.com/rubygems/rubygems.org production" |
This file contains 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
describe MessageReceiver do | |
context 'with a hello message' do | |
let(:message) { "hello" } | |
it 'responds accordingly' do | |
subject.receive(message).should == 'is it me your looking for?' | |
end | |
end | |
end |
This file contains 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
curl -X PUT http://127.0.0.1:8098/riak/test/one -H 'Content-Type: application/json' -d "{'foo': 'bar'}" | |
curl -X POST http://127.0.0.1:8098/mapred -H "Content-Type: application/json" -d '{ "inputs": "test", "query": [{ "map": { "language": "javascript", "name": "Riak.mapValuesJson", "keep": true } }] }' |
This file contains 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
curl -X PUT http://127.0.0.1:8098/riak/test/one -H 'Content-Type: application/json' -d '{ "foo" : "bar" }' | |
curl -X POST http://127.0.0.1:8098/mapred -H "Content-Type: application/json" -d @- | |
{ | |
"inputs": "test", | |
"query": [ | |
{ | |
"map": { | |
"language": "javascript", | |
"name": "Riak.mapValuesJson", |
This file contains 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
{{#each App.myController}} | |
{{#view App.myItemView contentBinding="this"}} | |
thing | |
{{/view}} | |
{{/each}} |