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
# Mac OS X Lion introduced a new, iOS-like context menu when you press and hold a key | |
# that enables you to choose a character from a menu of options. If you are on Lion | |
# try it by pressing and holding down 'e' in any app that uses the default NSTextField | |
# for input. | |
# | |
# It's a nice feature and continues the blending of Mac OS X and iOS features. However, | |
# it's a nightmare to deal with in Sublime Text 2 if you're running Vintage (Vim) mode, | |
# as it means you cannot press and hold h/j/k/l to move through your file. You have | |
# to repeatedly press the keys to navigate. |
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
# =============== # | |
# Unity generated # | |
# =============== # | |
# temporary files that you do not want to share with other users | |
Temp/ | |
Obj/ | |
UnityGenerated/ | |
Library/ | |
# optional, but you likely do not want to store | |
# your builds in your git repo due to size |
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
$checkbox-color-active: $brand-primary !default | |
$checkbox-color-scale-active: 1.1 !default | |
$checkbox-box-size: 1.2em !default | |
$checkbox-box-top: 0.05em !default | |
$checkbox-box-padding: $checkbox-box-size + .75em !default | |
.checkbox | |
input[type="checkbox"] | |
@extend .sr-only |
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
$radio-color-active: $brand-primary !default | |
$radio-color-scale-active: 1.1 !default | |
$radio-box-size: 1.2em !default | |
$radio-box-size-padding: 2px !default | |
$radio-box-top: 0.05em !default | |
$radio-box-padding: $radio-box-size + .75em !default | |
.radio | |
input[type="radio"] | |
@extend .sr-only |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
-- TerminalVim.app | |
-- This creates a shim Application that will enable you to open files from the Finder in vim using iTerm | |
-- To use this script: | |
-- 1. Open Automator and create a new Application | |
-- 2. Add the "Run Applescript" action | |
-- 3. Paste this script into the Run Applescript section | |
-- 4. Save the application as TerminalVim.app in your Applications folder | |
-- 5. In the Finder, right click on a file and select "Open With". In that window you can set TerminalVim as a default |
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
if Rails.env.development? | |
localistico_files = Dir['lib/localistico/*.rb'] + ['lib/localistico.rb'] | |
reloader = ActiveSupport::FileUpdateChecker.new(localistico_files) do | |
localistico_files.each { |file| load file } | |
end | |
ActiveSupport::Reloader.to_prepare do | |
reloader.execute_if_updated | |
end | |
end |
OlderNewer