Skip to content

Instantly share code, notes, and snippets.

View tmchow's full-sized avatar

Trevin tmchow

View GitHub Profile
@tmchow
tmchow / cf-ddns.sh
Created April 14, 2016 02:41 — forked from larrybolt/cf-ddns.sh
Automatically update your CloudFlare DNS record to the IP, Dynamic DNS for Cloudflare
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
# Automatically update your CloudFlare DNS record to the IP, Dynamic DNS
# Can retrieve cloudflare Domain id and list zone's, because, lazy
# Place at:
# /usr/local/bin/cf-ddns.sh

Keybase proof

I hereby claim:

  • I am tmchow on github.
  • I am trevinchow (https://keybase.io/trevinchow) on keybase.
  • I have a public key ASBjt-rtSj5ON33LyfaBwH-EaTWoSyVWB-5WRn9VxbHV1Ao

To claim this, I am signing this object:

@tmchow
tmchow / microdata-schema.liquid
Last active November 11, 2024 20:28 — forked from bakura10/microdata-schema.liquid
This is the last microdata-schema for our Shopify themes
{%- comment -%}
This snippet structures the micro-data using JSON-LD specification. Please note that for Product especially,
the schema often changes. We try to output as much info as possible, but Google may add new requirements over time,
or change the format of some info
{%- endcomment -%}
{%- if request.page_type == 'product' -%}
{%- assign days_product_price_valid_until = 10 | times: 86400 -%}
{%- capture main_entity_microdata -%}