Skip to content

Instantly share code, notes, and snippets.

💭
Debugging

Collin Chaffin CollinChaffin

💭
Debugging
Block or report user

Report or block CollinChaffin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:99b6cfd6e27093d8b9c599b419faf6a7
### 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:
@CollinChaffin
CollinChaffin / Enable-DockerRemoteAPI.md
Created Sep 5, 2019
Enable Docker Remote API on Photon OS v3(+)
View Enable-DockerRemoteAPI.md

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
@CollinChaffin
CollinChaffin / How_to_disable_ATT_DNS_Redirection.md
Created Aug 29, 2018
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
View How_to_disable_ATT_DNS_Redirection.md

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 / Youtube-Old-Site-Design.user.js
Last active Aug 17, 2018
Youtube-Old-Site-Design.user.js
View 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 / README.md
Last active Jan 27, 2018
Tweetdeck 280 Character Unlocker
View README.md

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:
You can’t perform that action at this time.