Skip to content

Instantly share code, notes, and snippets.

View amiller-gh's full-sized avatar

Adam Miller amiller-gh

View GitHub Profile
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle Test'
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle Test'
});
@amiller-gh
amiller-gh / 0 | typography.block.css
Last active May 3, 2018 19:29
CSS Blocks JSX API Concepts
:scope {
/* ... */
}
:scope[state|size=small] {
/* ... */
}
:scope[state|size=large] {
/* ... */
@amiller-gh
amiller-gh / Dynamic DNS
Last active May 18, 2024 17:34
Simple Dynamic DNS Bash Script
#!/bin/bash
# This simple bash script will auto-update a CloudFlare DNS entry if a computer's public IP address changes.
# Simply place it in a folder called /etc/ddns and add a cron job to call it every minute or so.
# The five configuration options below are specific to your account and must be set.
DOMAIN_NAME="domain.name.tld"
AUTH_EMAIL="[email protected]"
AUTH_KEY="__cloudflare_auth_key__"
ZONE_ID="__cloudflare_zone_identifier__"
RECORD_ID="__cloudflare_record_identifier__"