Skip to content

Instantly share code, notes, and snippets.

View duke-m's full-sized avatar

Mario duke-m

View GitHub Profile
@duke-m
duke-m / deploy.sh
Created August 1, 2018 16:24
Hugo make and deploy file
# locally
eploy_to=~/html/3
# remove all Thumbs.db (if browsed with a Windows Explorer over sftp)
./no-thumbsdb
# SCSS changed?
# Building an extended Hugo can be a pain on some systems...
echo SCSS...
source_css_dir=themes/forty/assets/sass
@duke-m
duke-m / make_keys.sh
Created August 21, 2017 12:24
experimental ssl-key-maker for postgresql
#!/usr/bin/env sh
if [ `whoami` != "postgres" ]; then
echo You are not postgres!
exit
fi
if [ "$1" = "" ]; then
echo "Usage:"
echo "$0 [server|client] [cn]"