Skip to content

Instantly share code, notes, and snippets.

View jedahan's full-sized avatar
💀
.

Jonathan Dahan jedahan

💀
.
View GitHub Profile
function r() {
if (( $# == 0 )); then
echo "$0 reviewer [cc [cc...]]"
elif (( $# == 1)); then
EDITOR=true review -g -r $1
else
ccs=${@:2}
EDITOR=true review -g -r $1 -c ${ccs/\ /,}
fi
}
require "language/go"
class Gx < Formula
desc "The language-agnostic, universal package manager"
homepage "https://github.com/whyrusleeping/gx"
url "https://github.com/whyrusleeping/gx.git",
:tag => "v0.4.0",
:revision => "b82b91b0cf30023c277903ab1ed6b158e80d5d23"
head "https://github.com/whyrusleeping/gx.git"
require "language/go"
class Gx < Formula
desc "The language-agnostic, universal package manager"
homepage "https://github.com/whyrusleeping/gx"
url "https://github.com/whyrusleeping/gx.git",
:tag => "v0.4.0",
:revision => "b82b91b0cf30023c277903ab1ed6b158e80d5d23"
head "https://github.com/whyrusleeping/gx.git"
go build
main.go:15:2: cannot find package "github.com/whyrusleeping/gx/gxutil" in any of:
/Users/jedahan/.homebrew/Cellar/go/1.6/libexec/src/github.com/whyrusleeping/gx/gxutil (from $GOROOT)
/private/tmp/gx20160410-51262-1kn3phn/src/github.com/whyrusleeping/gx/gxutil (from $GOPATH)
make: *** [all] Error 1
require "language/go"
class Gx < Formula
desc "The language-agnostic, universal package manager"
homepage "https://github.com/whyrusleeping/gx"
url "https://github.com/whyrusleeping/gx.git",
:tag => "v0.4.0",
:revision => "b82b91b0cf30023c277903ab1ed6b158e80d5d23"
head "https://github.com/whyrusleeping/gx.git"
require "language/go"
class Gx < Formula
desc "The language-agnostic, universal package manager"
homepage "https://github.com/whyrusleeping/gx"
url "https://github.com/whyrusleeping/gx.git",
:tag => "v0.4.0",
:revision => "b82b91b0cf30023c277903ab1ed6b158e80d5d23"
head "https://github.com/whyrusleeping/gx.git"
// a simple way to figure out arduino timer settings
//
// run with
//
// node --use-strict --harmony_destrucuring timer.js
//
// calculates the most accurate timers for an arduino uno style board
// chances are, it will recommend prescaler of 1, timer2
// contributions welcom
//
// a simple way to figure out arduino timer settings
//
// run with
//
// node --use-strict --harmony_destrucuring timer.js
//
// calculates the most accurate timers for an arduino uno style board
// chances are, it will recommend prescaler of 1, timer2
// contributions welcom
//
📦 files 🔴
🐇 ⚽️ 🍇
🐇🐖 🏁 ➡️ 🚂 🍇
🍮 input 🍩 📤 📄
🍮 firstLine 🍺🗡 input
🍮 output 🍺🔷🔡📇 firstLine
😀 output
🍎0
🍉
🍉
@jedahan
jedahan / yo.ino
Last active February 27, 2016 18:08
#include <TimerOne.h>
// A, B, sElect, Start, Up, Down, Left, Right
#define A (1 << 0)
#define B (1 << 1)
#define e (1 << 2)
#define S (1 << 3)
#define U (1 << 4)
#define D (1 << 5)
#define L (1 << 6)