Skip to content

Instantly share code, notes, and snippets.

Greg Slepak taoeffect

Block or report user

Report or block taoeffect

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
eschulte / neural-net.clj
Created Nov 10, 2010
Neural Network DSL
View neural-net.clj
(ns neural-net.core) ; Copyright Eric Schulte, GPL V3
(defprotocol Neural
"Protocol implemented by any element of a neural network."
(run [this x] "Evaluates the net")
(train [this x y d] "Trains the net returning the updated net and deltas")
(collect [this key] "Collect key from the network")
(inputs [this] "Number of inputs")
(outputs [this] "Number of outputs")
(check [this] "Ensure that the number of inputs matches the outputs"))
View gist:1330308
# General user
myid=`id -u`
myd=`date "+%Y-%m-%d-%H-%M"`
# Defaults write
marcelofernandez / ieee-trigraph.csl
Created Aug 5, 2012 — forked from fbennett/ieee-trigraph.csl
IEEE CSL Style, with trigraph and uppercase citation label
View ieee-trigraph.csl
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="" class="in-text" version="1.0" demote-non-dropping-particle="sort-only">
<title>IEEE trigraph</title>
<link href="" rel="self"/>
<name>Michael Berkowitz</name>
piscisaureus /
Created Aug 13, 2012
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url =

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

View billion-laughs.yml
lol1: &lol1
lol2: &lol2
lol3: &lol3
lol4: &lol4
lol5: &lol5
Chouser / externs_for_cljs.clj
Created Jun 17, 2013
Generate an externs.js file for arbitrary JS libraries for use in advanced Google Closure compilation, based on the ClojureScript code that uses the libraries.
View externs_for_cljs.clj
(ns n01se.externs-for-cljs
(:require [ :as io]
[cljs.compiler :as comp]
[cljs.analyzer :as ana]))
(defn read-file [file]
(let [eof (Object.)]
(with-open [stream (clojure.lang.LineNumberingPushbackReader. (io/reader file))]
(vec (take-while #(not= % eof)
(repeatedly #(read stream false eof)))))))
tinabeans / template.html
Last active Nov 9, 2018
A super-barebones single-column responsive email template, assuming a max-width of 540px. Read about it on the Fog Creek blog.
View template.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Single-Column Responsive Email Template</title>
@media only screen and (min-device-width: 541px) {
.content {
Rich-Harris /
Last active May 6, 2016
The one-size-fits-all key to Grunt.js happiness

This page:

One of the complaints people sometimes have about Grunt.js is that the configuration files can grow unwieldy when you have more than a couple of tasks. And you have to explicitly load each of those tasks.

Except that you don't. Here is the one-size-fits-all key to Grunt.js happiness.

1. Set up your project folder

iAladdin / wwdc-2014-extractor
Last active Apr 26, 2019
WWDC 2014 Sessions Video URL Extractor
View wwdc-2014-extractor
//please execute this script on
//inspect this page and run it on console
jQuery(".download a:contains('HD')").each(function(n){ console.log(jQuery(this).attr("href"))})
jQuery(".download a:contains('SD')").each(function(n){ console.log(jQuery(this).attr("href"))})
jQuery(".download a:contains('PDF')").each(function(n){ console.log(jQuery(this).attr("href"))})

A pseudonymous trust system for a decentralized anonymous marketplace

Dionysis Zindros, National Technical University of Athens


pseudonymous anonymous web-of-trust identity trust bitcoin namecoin proof-of-burn timelock decentralized anonymous marketplace openbazaar


You can’t perform that action at this time.