Find and delete old git branches that are no longer needed.
Clone the repo and add to your path (just for ease of use):
# Taken from a comment on http://www.mikeperham.com/2012/03/03/the-perils-of-rescue-exception/ | |
module RescuableException | |
def self.===(exception) | |
case exception | |
# Catch when the user hits ^C (Interrupt < SignalException), and assume | |
# that they just wanted to stop the in-progress command (just like bash etc.) | |
when Interrupt | |
true | |
require 'spec_helper' | |
module Gimme | |
class ChairFactory | |
def self.build | |
raise RuntimeError.new "unimplemented feature" | |
end | |
def self.destroy |
# in .bash_profile | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
# in .bashrc | |
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting |
package main | |
import ( | |
"fmt" | |
"net" | |
"os" | |
"bufio" | |
) | |
func printBanner() { |
#include <stdlib.h> | |
#include <netinet/in.h> | |
#include <sys/un.h> | |
#include <string.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
#define MAX_CONNECTIONS 5 | |
#define BUFSIZE 1024 | |
#define SOCKPATH "/tmp/migrate.sock" |
#include <stdlib.h> | |
#include <netinet/in.h> | |
#include <string.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
#define MAX_CONNECTIONS 5 | |
#define BUFSIZE 1024 | |
typedef struct { |
source 'https://rubygems.org' | |
gem 'resque', '1.20.0' | |
gem 'rake' |
; Puts "random" numbers in X, Y, and Z | |
SET A, 0x1232 | |
JSR rand | |
SET X, A | |
JSR rand | |
SET Y, A | |
JSR rand | |
SET Z, A | |
SET PC, break |