tagged with bash

Automatically publish a site using Git

I've just rebuild this site using my own static generator. It would be easy to just rely on github pages to automatically publish my site but I don't want to use too much cloud services. Therefore I want to use the same technology tricks github uses but then on my own system.

(read more)

Cat output without interpretation

I usually use cat in a bash script to create files. However sometimes the text for output through cat is interpreted and this causes script errors or wrong files. Especially with ASCII art output. The fix for this is to quote the 'EOF' string.

(read more)

sticky bits

Always forgetting certain not often used commands. So here's a reminder to set the sticky group bit on a directory so everything created is with same group ownership of the parent directory!

(read more)

Justin.tv ffmpeg streaming

Just a simple reminder again. This script streams the webcam directly to Justin.tv. Plain simple

(read more)