Skip to content

Instantly share code, notes, and snippets.

View zacs's full-sized avatar

Zac zacs

View GitHub Profile
@zacs
zacs / addssh.sh
Last active November 28, 2026 23:15 — forked from russdill/addssh.sh
Airvisual Pro Outdoor Samba Support
#!/bin/sh
BASENAME="$(dirname $0)"
pw="EDIT_ME"
# Set to 1 to only back up the samba/account files and log diagnostics,
# without changing anything on the unit.
dryrun=0
# Instructions:
# * Edit the samba pw (pw=) field. Leave it empty (pw="") to keep the existing
@zacs
zacs / hack.sh
Created April 6, 2012 20:51 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2322839/hack.sh | sh
#