$ cd /path/to/Dockerfile
$ sudo docker build .
View running processes
| # Reads from EXIF data and applies the appropriate rotation. Requires AWS CLI and ImageMagick. | |
| # To use, replace `BUCKET` and run in your terminal. | |
| mkdir -p BUCKET/upright | |
| cd BUCKET | |
| aws s3 sync s3://BUCKET . | |
| find . -name "*.jpg" -exec convert {} -auto-orient upright/{} \; | |
| aws s3 sync . s3://BUCKET --acl public-read |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
| #!/bin/bash | |
| # -------------------------------------------------------------------------------------------- | |
| # Installs Ruby using rbenv/ruby-build on the Raspberry Pi (Raspbian) | |
| # | |
| # Run from the web: | |
| # bash <(curl -s https://gist.githubusercontent.com/blacktm/8302741/raw/install_ruby_rpi.sh) | |
| # -------------------------------------------------------------------------------------------- | |
| # Set the Ruby version you want to install |
I have a lot of people at Hacker Hours ask about where to look for jobs - here are some places I recommend.
This list has been superseded by Public APIs. Check there for APIs with Auth: No, HTTPS and CORS Yes.
List of data APIs that require no server-side auth or private credentials, and are thus good for small browser-only JS projects.