The thumbnail should render on my bl.ocks.org page.
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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'commander/import' | |
program :version, "0.0.1" | |
command :main do |c| | |
c.action do |args, options| | |
say "This is some output" |
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
# config.rb | |
page "/sitemap.xml", :layout => false |
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
source :rubygems | |
gem "compass" | |
gem "sass" | |
gem "jekyll" |
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
{ Put your code here } |
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
var finalhandler = require('finalhandler') | |
var http = require('http') | |
var serveStatic = require('serve-static') | |
// Serve up public/ftp folder | |
var serve = serveStatic(__dirname, {'index': ['index.html', 'index.htm']}) | |
// Create server | |
var server = http.createServer(function(req, res){ | |
var done = finalhandler(req, res) |
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
# support/login.rb | |
module RSpec | |
module Core | |
class ExampleGroup | |
def login_admin | |
u = FactoryGirl.create(:admin) | |
login_as(u) | |
allow_any_instance_of(ApplicationController).to receive(:check_permissions).and_return(true) | |
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
# osx friendly | |
echo "Today I `git log --format=%s --since 6am | tail -r | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/, /g'`" |
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
Show hidden characters
{ | |
//"name": "Go Run", | |
"cmd": ["/usr/local/go/bin/go", "run", "$file"], | |
"working_dir": "${file_path}", | |
"selector" : "source.go", | |
"env": { | |
//"GOPATH": "/path/to/go" | |
}, | |
"variants": [ | |
// variants available with ctrl+shift+b |
OlderNewer