Skip to content

Instantly share code, notes, and snippets.

View akisys's full-sized avatar

Alexander Kuemmel akisys

  • AK Information Systems
View GitHub Profile
@akisys
akisys / lwp-cloudflare-dyndns.sh
Last active December 20, 2019 16:27 — forked from Firsh/lwp-cloudflare-dyndns.sh
Cloudflare as Dynamic DNS
#!/bin/bash
# Cloudflare as Dynamic DNS
# From: https://letswp.io/cloudflare-as-dynamic-dns-raspberry-pi/
# Based on: https://gist.github.com/benkulbertis/fff10759c2391b6618dd/
# Original non-RPi article: https://phillymesh.net/2016/02/23/setting-up-dynamic-dns-for-your-registered-domain-through-cloudflare/
# Update these with real values
auth_token="${CF_TOKEN:-"[email protected]"}"
zone_name="${CF_ZONE:-"example.com"}"
record_name="${CF_RECORD:-"home.example.com"}"
@akisys
akisys / osx-for-hackers.sh
Created May 31, 2016 08:58 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned. Also, please don't email me about this script, my poor inbox...
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'