This re-styles your sublime text 2 sidebar to be darker, so it doesn't blind you when using a dark theme.
Save the Default.sublime-theme file into packages/Theme - Default, make a backup of your original if you want to be able to go back easily.
fi: | |
errors: | |
messages: | |
not_found: "ei löytynyt" | |
already_confirmed: "on jo vahvistettu, yritä kirjautua sisään uudelleen" | |
not_locked: "ei ollut lukittu" | |
not_saved: | |
one: "1 virhe esti %{resource} tallentamisen:" | |
other: "%{count} virhettä esti %{resource} tallentamisen:" |
is: | |
errors: | |
messages: | |
not_found: "Afsakið, síða ekki fundin." | |
not_authorized: "Afsakið, auðkenning mistókst" | |
not_available: "Afsakið, þessu síða er tímabundið niðri." | |
not_existent: "Afsakið, þessi staður er ekki til lengur." | |
devise: | |
confirmations: | |
confirmed: "Aðgangurinn hefur verið staðfestur. Þú ert núna skráður inn" |
# Additional translations at http://github.com/plataformatec/devise/wiki/I18n | |
my: | |
errors: | |
messages: | |
not_found: "tidak dijumpai" | |
already_confirmed: "sudah disahkan" | |
not_locked: "tidak dikunci" | |
devise: |
# ======================================================================================= # | |
# NOTE: This is relatively outdated, you should use the DetectSyntax package | |
# from Package Control instead: http://wbond.net/sublime_packages/community#sort-installs | |
# ======================================================================================= # | |
# Instructions: put this inside of the following folder on a Mac: | |
# /Users/<yourusername>/Library/Application\ Support/Sublime\ Text\ 2/Packages/User/ | |
# ======================================================================================= # | |
import sublime, sublime_plugin | |
import os |
# switch default editor for pry to sublime text | |
Pry.config.editor = "sublime" | |
# format prompt to be <Rails version>@<ruby version>(<object>)> | |
Pry.config.prompt = proc do |obj, level, _| | |
prompt = "\e[1;30m" | |
prompt << "#{Rails.version} @ " if defined?(Rails) | |
prompt << "#{RUBY_VERSION}" | |
"#{prompt} (#{obj})>\e[0m" | |
end |
#!/usr/bin/env zsh | |
# -------------------------------------------------------------------------------- # | |
# 1304046900 Track changes to a skeleton Rails app since a given `base_version` | |
# -------------------------------------------------------------------------------- # | |
## Changelog | |
# - Update 7/7/2012: | |
# * rewrote to use Bundler instead of RubyGems | |
# * attempting to switch to a master branch for which no commit existing was causing a pathspec error | |
# * simplified rails new commands by running them on the current path (after changing directory to tmp/skeleton_check of course). | |
# * renamed `old_version` variable to `base_version` for clarity |
# rbenv | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
source ~/.rbenv/completions/rbenv.bash | |
# prompt with ruby version | |
# rbenv version | sed -e 's/ .*//' | |
__rbenv_ps1 () | |
{ | |
rbenv_ruby_version=`rbenv version | sed -e 's/ .*//'` |
The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.
You're probably aren't going to take the time to read this document if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.
diff --git i/hash.c w/hash.c | |
index 007508a..6f39e47 100644 | |
--- i/hash.c | |
+++ w/hash.c | |
@@ -2402,6 +2402,28 @@ rb_hash_flatten(int argc, VALUE *argv, VALUE hash) | |
return ary; | |
} | |
+static int | |
+hash_contain_i(VALUE key, VALUE value, VALUE arg) |