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
gcc --version | |
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) | |
Copyright (C) 2007 Free Software Foundation, Inc. | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
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
β rake db:create:all --trace | |
** Invoke db:create:all (first_time) | |
** Invoke db:load_config (first_time) | |
** Invoke rails_env (first_time) | |
** Execute rails_env | |
** Execute db:load_config | |
** Execute db:create:all | |
rake aborted! | |
uninitialized constant Mysql | |
/Users/ashish/.rvm/gems/ree-1.8.7-2011.03@cs/gems/activerecord-3.1.0/lib/active_record/railties/databases.rake:81:in `create_database' |
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
git clone [email protected]:jduan/s10-int.git jduan-s10-intCloning into jduan-s10-int... | |
remote: Counting objects: 117, done. | |
remote: Compressing objects: 100% (40/40), done. | |
remote: Total 117 (delta 71), reused 117 (delta 71) | |
Receiving objects: 100% (117/117), 14.10 KiB, done. | |
Resolving deltas: 100% (71/71), done. | |
β mendicant cd jduan-s10-int | |
β jduan-s10-int git:(master) ls | |
README.md |
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
function current_git_branch { | |
git symbolic-ref HEAD | sed 's/refs\/heads\///' | |
} | |
# Assumes GIT URLS. No support for HTTPS | |
function git_repo_url { | |
git config --get remote.origin.url | sed 's/git@/https:\/\//' | sed 's/com:/com\//' | sed 's/.git$//' | |
} | |
function open_branch_url { |
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
commit b242bf4e453f1a91703f006e9239ab0168256dd7 | |
Author: bglusman <[email protected]> | |
Date: Sun Mar 18 22:21:08 2012 -0400 | |
wiki methods on course and dryer path creation/use | |
diff --git a/app/models/course.rb b/app/models/course.rb | |
index baee48c..a98f0e3 100644 | |
--- a/app/models/course.rb | |
+++ b/app/models/course.rb |
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
class FooClass | |
def bar | |
baz | |
rescue StandardError => e | |
qux | |
raise | |
end | |
def baz | |
end |
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
curl -s http://ascii-middle-finger.com/ | grep -A 10 '<pre>' | grep -v 'pre' |
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
β brew install ntfs-3g | |
β brew install fuse4x | |
# Follow steps the above commands tell you to follow | |
β brew info fuse4x-kext |