This file contains hidden or 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
| --- | |
| argument-hint: [path to source image] | |
| description: Generate favicons from a source image | |
| --- | |
| Generate a complete set of favicons from the source image at `$1` and update the project's HTML with the appropriate link tags. | |
| ## Prerequisites | |
| First, verify ImageMagick v7+ is installed by running: |
This file contains hidden or 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
| find ~ -name '*.log' -print0 | xargs -0 -L1 stat -f'%z %N' | sort -rn | tee fat-logfiles.txt | head | |
| awk '{ total += $1 } END { printf "total: %5.2f MiB\n", total/1024/1024 }' < fat-logfiles.txt |
This file contains hidden or 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
| # My pimped out unicorn config, with incremental killof | |
| # and all the latest capistrano & bundler-proofing | |
| # @jamiew :: http://github.com/jamiew | |
| application = "000000book.com" | |
| environment = ENV['RACK_ENV'] || ENV['RAILS_ENV'] || 'production' | |
| app_path = "/srv/#{application}" | |
| bundle_path = "#{app_path}/shared/bundle" | |
| timeout 30 |