Skip to content

Instantly share code, notes, and snippets.

View kmctown's full-sized avatar

Kris Ciccarello kmctown

View GitHub Profile

Keybase proof

I hereby claim:

  • I am kciccarello on github.
  • I am kmctown (https://keybase.io/kmctown) on keybase.
  • I have a public key whose fingerprint is 7A41 D1CF 5B44 E93B AFEF FA3F 160F ADDB 7AEB 5AE9

To claim this, I am signing this object:

###################################################################
#
# Code to support simultaneous multiple editing
# sessions by different clients of a single object. This uses
# the Differential Synchronization algorithm of Neil Fraser,
# which is the same thing that Google Docs uses.
#
# * "Differential Synchronization" (by Neil Fraser).
# * http://neil.fraser.name/writing/sync/
# * http://www.youtube.com/watch?v=S2Hp_1jqpY8
@kmctown
kmctown / dokku_on_do.md
Created February 22, 2016 00:20
Dokku Setup on DigitalOcean

Running Dokku on DigitalOcean

Notes on spinning up a new dokku server on DO. Inspired by this blog post by Bryan Kennedy.

Spin up

Pick a droplet

Choose the Dokku 1-click app

@kmctown
kmctown / styles.less
Created April 4, 2017 18:09
Atom styles for js/python operator mono fancypants syntax
atom-workspace,
atom-text-editor {
font-family: "Operator Mono";
font-size: 14px;
font-weight: 400;
line-height: 1.55;
}
atom-panel.tool-panel {
font-size: 0.88em;
@kmctown
kmctown / flushdns.sh
Created August 4, 2017 15:26
OS X FlushDNS Alias
alias flushdns='echo "flushing dns...";sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder;echo "complete."'
@kmctown
kmctown / ssh-add-keychain.sh
Created August 4, 2017 15:27
OS X SSH Add From Keychain
alias sshkeychain="ssh-add -K"