These commands are good as of 2013-1-8.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
These commands are good as of 2013-1-8.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
PROMPT='%{$fg_bold[red]%}➜ %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)$(check_git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}' | |
RPROMPT='%{$fg_bold[green]%}$(git_prompt_short_sha)%{$reset_color%}' | |
ZSH_THEME_GIT_PROMPT_PREFIX="(%{$fg[green]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
#ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[red]%}✗%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%})" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" |
require "capybara" | |
require "capybara/poltergeist" | |
require "capybara/poltergeist/utility" | |
module Capybara::Poltergeist | |
Client.class_eval do | |
def start | |
@pid = Process.spawn(*command.map(&:to_s), pgroup: true) | |
ObjectSpace.define_finalizer(self, self.class.process_killer(@pid)) | |
end |
### Keybase proof | |
I hereby claim: | |
* I am jonstokes on github. | |
* I am jonstokes (https://keybase.io/jonstokes) on keybase. | |
* I have a public key whose fingerprint is FA64 D2B7 B076 B3DF 592A 6295 C17A 9056 03A2 F315 | |
To claim this, I am signing this object: |
Verifying that +jonstokes is my blockchain ID. https://onename.com/jonstokes |
Bloggy McBlogface is my master. | |
``` | |
def foo(bar) | |
baz | |
end | |
``` |
namespace :db do | |
require "sequel" | |
Sequel.extension :migration | |
DB = Sequel.connect(ENV['DATABASE_URL']) | |
desc "Prints current schema version" | |
task :version do | |
version = if DB.tables.include?(:schema_info) | |
DB[:schema_info].first[:version] | |
end || 0 |
javascript:console.log(Object.values(window.APP.hubChannel.presence.state).map(v => v.metas[0].profile.displayName).join(",")); |