Skip to content

Instantly share code, notes, and snippets.

@thomasnorris
thomasnorris / git_aliases.lua
Last active February 4, 2019 19:10 — forked from bhank/git_checkout.lua
A clink script for supporting tab-completion of git branches when using git aliases
-- git commands which will autocomplete branch names after them:
local git_commands = {"co", "merge", "del"}
-- "g" is an alias I have for "git" so both of them are triggers
local git_triggers = {"g", "git"}
function git_checkout_match_generator(text, first, last)
local commandLine = rl_state.line_buffer
local matchedCommand = false
local matchedBranches = false
# This is a blocklist to block samsung smart tv's sending meta data at home.
# Please help to collect domains!
# It could be that the TV does not receive any more updates or other services no longer work. Please report such an incident.
device-metrics-us.amazon.com
samsungacr.com
samsungcloudsolution.com
samsungcloudsolution.net
pavv.co.kr
samsungotn.net
@thomasnorris
thomasnorris / lwp-cloudflare-dyndns.sh
Last active January 18, 2023 17:45 — forked from Firsh/lwp-cloudflare-dyndns.sh
Cloudflare as Dynamic DNS
#!/bin/bash
# Cloudflare as Dynamic DNS
# From: https://letswp.justifiedgrid.com/cloudflare-as-dynamic-dns-raspberry-pi/
# Based on: https://gist.github.com/benkulbertis/fff10759c2391b6618dd/
# Original non-RPi article: https://phillymesh.net/2016/02/23/setting-up-dynamic-dns-for-your-registered-domain-through-cloudflare/
# Update these with real values
auth_email="[email protected]"
auth_key="global_api_key_goes_here"
zone_name="example.com"