Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am dforsyth on github.
* I am dforsyth (https://keybase.io/dforsyth) on keybase.
* I have a public key whose fingerprint is AF25 D517 6587 E7BD 9806 F6DB A958 2ABB 255D 909E
To claim this, I am signing this object:
@dforsyth
dforsyth / gist:ef4da0c4bb0bb019a6bc
Created November 16, 2014 20:08
checkablelinearlayout
package org.dforsyth.android.garbage;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Checkable;
import android.widget.LinearLayout;
@dforsyth
dforsyth / java.env
Last active April 29, 2022 09:25 — forked from logic/java.env
ZOO_LOG4J_PROP="INFO,ROLLINGFILE"
ZOO_LOG_DIR="/var/log/zookeeper/"
@dforsyth
dforsyth / win.gridc
Last active December 11, 2015 01:59
compile me
int north;
int east;
int south;
int west;
int dir;
int
survey()
{
@dforsyth
dforsyth / win2.gridlang
Last active December 11, 2015 01:19
win gridc
PUSH 0
DUPN << 8
CALL << @main
END
@look_north
# return
# call ffi
PUSH @look
@dforsyth
dforsyth / win.gridlang
Last active December 11, 2015 01:18
win
@win
goto << @main
@pull_north
callff << @pull @north 2
goto << @main
@pull_east
callff << @pull @east 2
@dforsyth
dforsyth / gist:3997746
Created November 2, 2012 00:07 — forked from msluyter/gist:1925069
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after
hi dforsyth
hellooooooooooooo world
asdfasdfasd
bleep
@dforsyth
dforsyth / gist:2392783
Created April 15, 2012 13:26 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt