Skip to content

Instantly share code, notes, and snippets.

View CollinChaffin's full-sized avatar
💭
Debugging

Collin Chaffin CollinChaffin

💭
Debugging
View GitHub Profile
@CollinChaffin
CollinChaffin / README.md
Last active January 27, 2018 10:50
Tweetdeck 280 Character Unlocker

Tweetdeck 280 Character Unlocker

Automatically and instantly unlock the new full 280 character Tweet length limit in the tweetdeck.twitter.com interface.

Author:         Collin Chaffin
Version:        1.0
Site:           https://tweetdeck.twitter.com

Changelog:
@CollinChaffin
CollinChaffin / Youtube-Old-Site-Design.user.js
Last active August 17, 2018 06:02
Youtube-Old-Site-Design.user.js
// ==UserScript==
// @name Youtube Old Site Design
// @namespace https://twitter.com/collinchaffin
// @description Restore Youtube's Old Site Design
// @author Collin Chaffin
// @include http://www.youtube.com/*
// @include https://www.youtube.com/*
// @homepage https://twitter.com/collinchaffin
// @run-at document-start
// @grant none
@CollinChaffin
CollinChaffin / How_to_disable_ATT_DNS_Redirection.md
Created August 29, 2018 21:26
How to disable the very little-known AT&T setting that can appear to hijack your home DNS lookups and redirect to 104.239.207.44

How to disable the very little-known AT&T setting that can appear to hijack your home DNS lookups and redirect to 104.239.207.44

Issue

DNS queries on home network suddenly resolving hosts to 104.239.207.44.

Symptoms

You will see SPORADIC mis-resolutions of EVERYTHING to that 104.239.207.44 address if their crappy router happens to hear your PC's DHCP request - EVEN IF ANOTHER DHCP SERVER ON THE NETWORK assigns the ultimate address.

@CollinChaffin
CollinChaffin / Enable-DockerRemoteAPI.md
Created September 5, 2019 00:17
Enable Docker Remote API on Photon OS v3(+)

Enable Local/Remote Docker API on PhotonOS

Prerequisites

You must have already performed the following in one form or another as well as properly set a STATIC IP. Bear in mind many instructions do not properly show how to commit iptables changes on Photon which then survive reboots.

iptables -A INPUT -p tcp --dport 2375 -j ACCEPT
iptables -A INPUT -p tcp --dport 2376 -j ACCEPT
iptables-save > /etc/systemd/scripts/ip4save
### Keybase proof
I hereby claim:
* I am collinchaffin on github.
* I am collinchaffin (https://keybase.io/collinchaffin) on keybase.
* I have a public key ASBBe4KJeddgnHPv02WjuPJ23XiMqv-6R91Ps-oBE2Rc3Qo
To claim this, I am signing this object: