Skip to content

Instantly share code, notes, and snippets.

@jush
jush / namecheap-ddns
Last active November 20, 2020 18:47
Simple Namecheap Dynamic DNS client
#!/bin/sh
set -eu
FETCH="curl -s"
# or for curl:
#FETCH="curl -s"
# $1: your domain
# $2: subdomain to update use @ for TLD
# $3: the password given to you by Namecheap's web interface
#
# Rerun this script every 5 minutes. Crontab entry (not as root):
@jush
jush / build.gradle
Last active December 18, 2015 07:19 — forked from jpeddicord/build.gradle
// additional required configuration to hook into the build script
android {
signingConfigs {
release {
// specify signing properties on the command line
if (project.hasProperty('keyStore')) {
println 'Generating a signed package.'
storeFile file(keyStore)
storePassword storePass
keyAlias alias