Skip to content

Instantly share code, notes, and snippets.

@rbochet
rbochet / .gitignore
Created March 16, 2011 03:48 — forked from kogakure/.gitignore
.gitignore file for LaTeX projects on Mac
# Latex files
*.aux
*.glo
*.idx
*.log
*.toc
*.ist
*.acn
*.acr
@rbochet
rbochet / printer.sh
Created December 26, 2010 10:47 — forked from rbochet/printer.sh
Shell script for printer cron (w/ lock)
#!/bin/bash
# Romain Bochet
# Use as a cron
# Print all the files included in a folder with lp, and move them in another folder.
# Use absolute path (mandatory for crons)
SOURCE="/home/dropbox/print/"
DONE="/home/romain/printed/"
LOCK="/tmp/printerlock"