Skip to content

Instantly share code, notes, and snippets.

View lukehuxley's full-sized avatar

Luke Huxley lukehuxley

View GitHub Profile
@lukehuxley
lukehuxley / cloudflare-update-record.sh
Last active August 30, 2015 10:31 — forked from benkulbertis/cloudflare-update-record.sh
Cloudflare API v4 Dynamic DNS Update in Bash
#!/bin/bash
# CHANGE THESE
auth_email="[email protected]"
auth_key="c2547eb745079dac9320b638f5e225cf483cc5cfdda41" # found in cloudflare account settings
zone_name="example.com"
record_name="www.example.com"
# MAYBE CHANGE THESE
ip=$(curl -s http://ipv4.icanhazip.com)
@lukehuxley
lukehuxley / designer.html
Last active August 29, 2015 14:11
designer
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@lukehuxley
lukehuxley / designer.html
Last active August 29, 2015 14:06
designer
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;