Skip to content

Instantly share code, notes, and snippets.

View ToastShaman's full-sized avatar

Kevin Denver ToastShaman

View GitHub Profile
@marktheunissen
marktheunissen / pedantically_commented_playbook.yml
Last active June 5, 2024 22:16 — forked from phred/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
This playbook has been removed as it is now very outdated.
@turtlesoupy
turtlesoupy / nginx.conf
Created July 8, 2012 21:16
node.js upstream nginx config
http {
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=one:8m max_size=3000m inactive=600m;
proxy_temp_path /var/tmp;
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
gzip on;
gzip_comp_level 6;
#!/bin/bash
TIMESTAMP=$(date +"%Y-%m-%d_%T")
FILE="/home/pi/timelapse/$TIMESTAMP.jpg"
EX="beach"
ISO="100"
HOUR=$(date +"%k")
if [ $HOUR -lt 6 ] || [ $HOUR -gt 18 ];
then