This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
ul.menu a {color: #fff !important;} | |
pre, .section .gist .gist-file .gist-data pre { | |
font-family: 'Consolas',sans-serif !important; | |
letter-spacing: -1px !important; | |
color: #eee !important; | |
background-color: #000 !important; | |
} | |
div.gist-file, .gist-syntax, .gist-data{ | |
line-height: 1.5 !important; | |
font-family: 'Consolas',sans-serif !important; |
#container { | |
float:right; | |
position:relative; | |
left:-50%; | |
} | |
#container ul { | |
list-style:none; | |
position:relative; | |
left:50%; | |
} |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
if(typeof require !== 'undefined') { // We are in Node, need to require the file | |
console.log("Requiring neon from file"); | |
var Neon = require('../neon.js'); | |
console.log(Neon); | |
// In Coffeescript, the following construct is recommended | |
// { Class, Module, Interface } = require('neon') | |
var Class = Neon.Class; |
Cuiki = function() { | |
this.makeChoice = function() { | |
setTimeout(function() { | |
return Chameleon.Color.random(); | |
}, 5 * 60 * 1000); | |
} | |
return this; | |
} |
source :rubygems | |
gem 'levenshtein-ffi', :require => 'levenshtein' | |
gem "rspec" |
#!/bin/env ruby | |
# encoding: utf-8 | |
# Differences between Ruby versions | |
code = case ARGV[0] | |
when "1" | |
puts "- Local block variables" |
The task for this month is to create a simple Hubot script to play Cards Against Humanity on Slack. Yay productivity!
The rules for the challenge will be the minimum set of rules of the game (full rules), only using the house rule of public voting (God is Dead rule)
<?xml version="1.0" encoding="UTF-8"?> | |
<scheme name="Chubascasts" version="1" parent_scheme="Default"> | |
<option name="LINE_SPACING" value="0.85" /> | |
<option name="EDITOR_FONT_SIZE" value="12" /> | |
<option name="CONSOLE_FONT_NAME" value="Monaco" /> | |
<option name="CONSOLE_LINE_SPACING" value="1.0" /> | |
<option name="EDITOR_FONT_NAME" value="Consolas" /> | |
<colors> | |
<option name="ANNOTATIONS_COLOR" value="3399" /> | |
<option name="ANNOTATIONS_MERGED_COLOR" value="6666" /> |