Skip to content

Instantly share code, notes, and snippets.


Tunghsiao Liu sparanoid

Block or report user

Report or block sparanoid

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sparanoid /
Created Jul 28, 2019
CloudFlare as a Dynamic DNS (DDNS)
# CloudFlare as a Dynamic DNS (DDNS)
# Support CloudFlare API v4
# Author: Tunghsiao Liu (
# Setup envrionment
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
# NOTE: You need `curl` v7.19.4 or higher to support `--noproxy` flag.
sparanoid / Makefile
Last active Aug 22, 2018
Fix private keys permission
View Makefile
@chmod 600 ~/.ssh/id_rsa || true
@chmod 600 ~/.ssh/id_dsa || true
@chmod 600 ~/.ssh/id_ecdsa || true
@chmod 600 ~/.ssh/id_ed25519 || true
@chmod 600 ~/.ssh/*.pem || true
@echo "Fixed private keys permission"

Keybase proof

I hereby claim:

  • I am sparanoid on github.
  • I am sparanoid ( on keybase.
  • I have a public key whose fingerprint is 1D00 9217 C41B 9F55 DA73 3686 1EC0 7B97 513A 7726

To claim this, I am signing this object:

sparanoid /
Last active Feb 24, 2018 Auto Update Script
#!/usr/bin/env bash
# Auto Update Script
# Usage: Download the latest SpeedTest script monthly as in 1st of every month at 00:00
# 0 0 1 * * nice -n 19 bash /srv/www/ >/dev/null 2>&1
# Make sure is executable
# chmod +x /srv/www/
View Company Team Blogs in
sparanoid / stacey-on-nginx.conf
Created Dec 22, 2010
Runing Stacey on nginx
View stacey-on-nginx.conf
server {
listen 80;
server_name_in_redirect off;
access_log /srv/www/;
error_log /srv/www/;
location / {
root /srv/www/;
You can’t perform that action at this time.