Skip to content

Instantly share code, notes, and snippets.

Dan Dillinger ddillinger

Block or report user

Report or block ddillinger

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 keybase.md

Keybase proof

I hereby claim:

  • I am ddillinger on github.
  • I am ddillinger (https://keybase.io/ddillinger) on keybase.
  • I have a public key ASDG0HhilAp4bkhwTu2auN8tdaPjPOhTiDSrVKL3jP0d1go

To claim this, I am signing this object:

View 2015-09-04-ds-dev.md
ddillinger@ip-10-150-36-33:~> ./test-query.sh
./test-query.sh
API Location: https://api.dev.discoverstor.net
Account ID: fbc7d50f-bda0-4534-94e9-e65a2b52d692
User: sonian
Password: sonian123
Query: (and (contains body \"S\"))
API Token: https://api.dev.discoverstor.net/fbc7d50f-bda0-4534-94e9-e65a2b52d692/auth/v1/sessions/de6fd20c-ee5c-4637-989b-752fabf32831
View 2015-09-04-ds-dev.md
ddillinger@ip-10-150-36-33:~> ./test-query.sh
./test-query.sh
API Location: https://api.dev.discoverstor.net
Account ID: fbc7d50f-bda0-4534-94e9-e65a2b52d692
User: sonian
Password: sonian123
Query: (and (contains body \"S\"))
API Token: https://api.dev.discoverstor.net/fbc7d50f-bda0-4534-94e9-e65a2b52d692/auth/v1/sessions/de6fd20c-ee5c-4637-989b-752fabf32831
View gist:db1b30d2b963bb204442
(ns monty.core)
;; game setup and rules
(defn gen-doors
"Generates a shuffled triple vector of two :goat and one :car entry."
[]
(shuffle [:goat :goat :car]))
(defn choose
"Randomly chooses an index into the doors and returns it."
@ddillinger
ddillinger / gist:5154002
Created Mar 13, 2013
every clojure project name. ALL OF THEM.
View gist:5154002
$ egrep ".*ure$" /usr/share/dict/words | sed -e "s/ure/jure/"
abatjure
abbreviatjure
abjjure
acclimatjure
acrocontractjure
actjure
acuclosjure
acupressjure
View gist:2654592
>>> db_cluster_list = ["has foo in it", "doesn't match", "has bar in it", "also doesn't match", "also has foo in it", "nothing to see here"]
>>> cluster_ignore_list = ("foo", "bar")
>>> filter(lambda x: [y for y in cluster_ignore_list if y in x], db_cluster_list)
['has foo in it', 'has bar in it', 'also has foo in it']
this short circuits:
>>> def found(x):
... for item in cluster_ignore_list:
... if item in x:
View snet.java
public void useSnet(){
if(snet){
}
else{
snet = true;
if(storageURL != null){
storageURL = snetAddr + storageURL.substring(8);
}
}
}
View stephano_zvp.txt
Stephano-style ZvP http://drop.sc/134488
14/15 Pool
15 Hatch
Queen x2
Lings x1
23 Hatch
Queen
40 Lings x2
40 Gas x1
You can’t perform that action at this time.