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
# RSpec 2.0 syntax Cheet Sheet by http://ApproachE.com | |
# defining spec within a module will automatically pick Player::MovieList as a 'subject' (see below) | |
module Player | |
describe MovieList, "with optional description" do | |
it "is pending example, so that you can write ones quickly" | |
it "is already working example that we want to suspend from failing temporarily" do | |
pending("working on another feature that temporarily breaks this one") |
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
require 'action_view' | |
require 'ruby-beautify' | |
require 'ripper' | |
require 'tmpdir' | |
require 'fileutils' | |
require 'optparse' | |
def check_syntax(path, options = {}) | |
erb = content(path) | |
code = ruby_code(erb) |
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
// ==UserScript== | |
// @name Steam Broadcast Chat Cleaner | |
// @namespace http://jzhang.net/ | |
// @version 3.1.1 | |
// @description Cleans up Steam Broadcast chat | |
// @author waylaidwanderer | |
// @include http://steamcommunity.com/broadcast/watch/* | |
// @require //code.jquery.com/jquery-1.11.3.min.js | |
// @downloadURL https://gist.github.com/waylaidwanderer/6bb095e0731ef41d49dc/raw/SteamBroadcastChatCleaner.user.js | |
// @updateURL https://gist.github.com/waylaidwanderer/6bb095e0731ef41d49dc/raw/SteamBroadcastChatCleaner.user.js |
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
// Based on the NeoPixel Ring simple sketch (c) 2013 Shae Erisson | |
// Released under the GPLv3 license to match the rest of the | |
// Adafruit NeoPixel library | |
// Simple interface to run light sequences based on a single character | |
// code over serial over usb. Makes the interface on linux look something | |
// like this: | |
// | |
// echo -n 'a' > /dev/cu.usbmodem123 | |
// |