Skip to content

Instantly share code, notes, and snippets.

Avatar

Wilson Bilkovich wilson

View GitHub Profile
View gist:13938
##
# Sets all the default values. Should only be called once. Use reset
# if you need to restore values.
def self.set_defaults
@@default_env ||= {}
self.reset
mandatory :repository, "repository path"
mandatory :deploy_to, "deploy path"
View Rakefile
desc "Build MacVim and copy MacVim.app to the root of the checkout"
task :package do
cd "src"
sh "make clean"
sh "./configure --enable-gui=macvim"
sh "make"
cd "MacVim"
sh "xcodebuild"
cd "../.."
rm_rf "MacVim.app"
View macvim_rakefile.rb
desc "Build MacVim and copy MacVim.app to the root of the checkout"
task :package do
cd "src"
sh "make clean"
sh "./configure --enable-gui=macvim"
sh "make"
cd "MacVim"
sh "xcodebuild"
cd "../.."
rm_rf "MacVim.app"
View gist:18673
t = Thread.new do
sleep 100_000
end
if t.join(1).nil?
t.kill
raise "whee!"
end
View gist:27087
Installing gem integrity-0.1.1
Using local gem /usr/local/lib/ruby/gems/1.8/cache/integrity-0.1.1.gem
ERROR: Error installing integrity-0.1.1.gem:
integrity requires foca-sinatra-diddies (>= 0.0.2, runtime)
本拠> sudo gem install foca-sinatra-diddies --source http://gems.github.com
GET 200 OK: http://gems.github.com/latest_specs.4.8.gz
GET 200 OK: http://gems.github.com/quick/Marshal.4.8/foca-sinatra-diddies-0.0.2.gemspec.rz
Installing gem foca-sinatra-diddies-0.0.2
Downloading gem foca-sinatra-diddies-0.0.2.gem
GET 200 OK: http://gems.github.com/gems/foca-sinatra-diddies-0.0.2.gem
View gist:27090
本拠> gem env ~/code/integrity
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.0
- RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i686-darwin9.5.0]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-darwin-9
View .gvimrc
set background=dark
" ir_black has an 'after' hook
colorscheme ir_black
set columns=120
set lines=40
set enc=utf-8
set gfn=Anonymous:h12
set list
set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+
View MacVim from git
# 本拠> git remote show origin
# * remote origin
# URL: git://repo.or.cz/MacVim.git
# Remote branch merged with 'git pull' while on branch master
# master
# Tracked remote branches
# master stable vim
# 本拠> cat Rakefile
desc "Build MacVim and copy MacVim.app to the root of the checkout"
View .vimrc
set nocompatible
set backspace=indent,eol,start whichwrap+=<,>,[,]
set history=50
set incsearch
set hlsearch
set background=dark
colors ir_black
vnoremap <BS> d
filetype on
View gist:46791
From 37e5dfb8c9f305d1df50abb1fff766fe741874c7 Mon Sep 17 00:00:00 2001
From: Wilson Bilkovich <wilson@supremetyrant.com>
Date: Wed, 14 Jan 2009 00:07:09 -0500
Subject: [PATCH] Trivial typo fix in docs
---
doc/rails.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/doc/rails.txt b/doc/rails.txt