El comando hace una búsqueda recursiva de archivos el comando tiene la siguiente synopsis:
Todos los argumentos son obcionales, simplificando:
find [path] [atributos] [nombre]
| Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
| 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 |
| -- 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 |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| $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 |
| $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 |
| # =============== # | |
| # 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 |
| # 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. |
| # http://henrik.nyh.se/2008/12/git-dirty-prompt | |
| # http://www.simplisticcomplexity.com/2008/03/13/show-your-git-branch-name-in-your-prompt/ | |
| # username@Machine ~/dev/dir[master]$ # clean working directory | |
| # username@Machine ~/dev/dir[master*]$ # dirty working directory | |
| function parse_git_dirty { | |
| [[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*" | |
| } | |
| function parse_git_branch { | |
| git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/[\1$(parse_git_dirty)]/" |