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
# Debian 6 bootstrap template file for chef | |
# | |
# Installs RVM and ruby enterprise edition (ree) patched to workaround | |
# issues with SSLv2 in debian systems (SSLv2 is deprecated) | |
# | |
# Also only installs ruby dependencies listed in `rvm notes` | |
# | |
# RVM is installed system-wide in /usr/local/rvm | |
# | |
# Usage: |
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
#!/usr/bin/env ruby | |
# requires: jpegtran and pngcrush | |
# brew install libjpeg | |
# brew install pngcrush | |
# | |
# "crushimg" on a directory will look for jpg and png files, compress them using | |
# jpegtran and pngcrush and return a new file with an "-optimized" suffix. | |
# it will not traverse the child directories (not recursive) | |
# |