I hereby claim:
- I am jcwilk on github.
- I am jcwilk (https://keybase.io/jcwilk) on keybase.
- I have a public key ASBUvxEdS7El9_TzyZAyFBw0LNHg2gKafQ4ZPZbBi7YD6wo
To claim this, I am signing this object:
function jsnap(){ | |
ssdate=`date +%F_%T` | |
sudo zfs snapshot rpool/USERDATA/user_rzvwjy@"${ssdate}" | |
echo "Saved user data at ${ssdate}" | |
} | |
alias jsnapls="zfs list -t snapshot" | |
function jsnaprm(){ | |
sudo zfs destroy $1 |
I hereby claim:
To claim this, I am signing this object:
view I'm your host Chris Pope and today | |
00:02 | |
is jun 8 2012 and we are very very | |
00:08 | |
pleased to announce word this is an | |
00:10 | |
interview we're doing to raise money for | |
00:12 | |
space venture at TG a qik com and I'd | |
00:17 |
test |
#To run this script, either copy and paste this whole thing into a console, or simply the following: | |
=begin | |
require 'rest-client' | |
eval(RestClient.get('https://gist.github.com/jcwilk/7477216/raw/1562c7a4bbcf7002f3402715da95826c095f103e/random_emoji.rb')) | |
=end | |
require 'nokogiri' | |
require 'rest-client' |
int reinventTheWheel(char* numberString, int numberLength) { | |
int multiplier = 1; | |
int i; | |
int number = 0; | |
while (numberLength--) { | |
multiplier = 1; | |
i = numberLength; | |
while (i--) multiplier*= 10; | |
switch(*(numberString++)){ |
# 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") |
describe FavoritesHelper, ".link_to_like" do | |
before do | |
@user = mock_model(User, :get_favorite => nil) | |
@guide = mock_model(Guide) | |
helper.stub!(:user_logged_in?).and_return(true) | |
helper.stub!(:link_to_login).and_return('login') | |
helper.stub!(:current_user).and_return(@subscriber) | |
helper.stub!(:render) | |
end | |