- Convert multipage PDF into single page PNG files with GhostScript
gs -o /path/to/output_page_%03d.png -sDEVICE=png16m -r150 /path/to/input.pdf
- Convert multiple single-page PDF files into one multi-page PDF file
gs -o /path/to/output_page_%03d.png -sDEVICE=png16m -r150 /path/to/input.pdf
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine | |
# This is how I upload my new Sol Trader builds (http://soltrader.net) | |
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash | |
S3KEY="my aws key" | |
S3SECRET="my aws secret" # pass these in | |
function putS3 | |
{ | |
path=$1 |
This project has moved to https://github.com/jonhoo/drwmutex so it can be imported into Go applications.
# Xcode 4.3.3 | |
Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn) | |
Target: x86_64-apple-darwin11.4.0 | |
Thread model: posix | |
# Xcode 4.3.2 | |
Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn) | |
Target: x86_64-apple-darwin11.4.0 | |
Thread model: posix |