Skip to content

Instantly share code, notes, and snippets.

View nox's full-sized avatar
🥖

Anthony Ramine nox

🥖
View GitHub Profile
$ erl -s ex_complete_app
Erlang R14B02 (erts-5.8.3) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.8.3 (abort with ^G)
1> Fun = fun (X) -> X end.
#Fun<erl_eval.6.13229925>
2> Foo = foo.
foo
3> F
Foo Fun/1
-module(ex_mysql_res).
-behaviour(gen_fsm).
-record(state, {conn, fields, count = 0, rows = queue:new()}).
-export([fields/1,
fetch/1,
count/1,
close/1]).
nox@Bellcross:~/src/erlang/agner.d/parse_trans.agner[master]$ cat agner.config
{name, "parse_trans"}.
{description, "Parse transform utilities for Erlang"}.
{homepage, "https://github.com/esl/parse_trans"}.
{url, {git, "https://github.com/esl/parse_trans.git", {branch, "master"}}}.
{authors, ["Ulf Wiger <[email protected]>"]}.
{license, "Erlang Public License 1.0"}.
{requires, ["edown"]}.
{rebar_compatible, true}.
{install_command, "$AGNER_PACKAGE_REPO/install.sh"}.
nox@Bellcross:~/src/erlang/agner.d/markdown.agner[master]$ cat agner.config
{name, "markdown"}.
{description, "An implementation of markdown written in Erlang"}.
{homepage, "https://github.com/hypernumbers/erlmarkdown"}.
{url, {git, "https://github.com/nox/erlmarkdown.git", {branch, "rebarify"}}}.
{authors, ["Gordon Guthrie"]}.
{license, "BSD", "LICENSE"}.
{rebar_compatible, true}.
{install_command, "$AGNER_PACKAGE_REPO/install.sh"}.
nox@Bellcross:~/src/erlang/agner.d/markdown.agner[master]$ agner fetch -s agner.config markdown
nox@Bellcross:~/src/erlang/agner.d/dnssd_erlang.agner[master]$ cat agner.config
{name, "dnssd_erlang"}.
{description, "Erlang interface to Apple's Bonjour DNS Service Discovery implementation"}.
{homepage, "https://github.com/andrewtj/dnssd_erlang"}.
{url, {git, "https://github.com/andrewtj/dnssd_erlang.git", {branch, "master"}}}.
{authors, ["Andrew Tunnell-Jones <[email protected]>"]}.
{license, "MIT", "LICENSE"}.
{requires, ["edown"]}.
{rebar_compatible, true}.
{install_command, "$AGNER_PACKAGE_REPO/install.sh"}.
nox@Bellcross:~/src/erlang/apps/awesome_app[master]$ git branch
alcohol
cocaine
heroine
* master
meth
opium
pot
FlashSocketServer https://github.com/davide/FlashSocketServer
RefactorErl https://github.com/nox/refactorerl
anal http://forum.trapexit.org/viewtopic.php?t=9279 [http]
assoc http://forum.trapexit.org/viewtopic.php?t=150 [http]
bloomerl https://github.com/gray/bloomerl
crone http://catseye.tc/projects/crone/ [http]
dbus http://code.google.com/p/erlang-dbus/ https://github.com/zem/erlang-dbus
depcheck http://forum.trapexit.org/viewtopic.php?t=9283 [http]
diff http://forum.trapexit.org/viewtopic.php?t=9285 [http]
edep [jungerl]
gdk_pixbuf_include_dir=`echo "$GTK_CFLAGS" | sed -n -e 's/^.*-I\([[^ ]]*include\/gdk-pixbuf-2.0\).*$/\1/p'`
if [ -z "$gdk_pixbuf_include_dir" ]; then
gdk_pixbuf_include_dir="$gtk_include_dir"
fi
AC_SUBST([GDKPIXBUFINC], [$gdk_pixbuf_include_dir])
@nox
nox / blah.erl
Created February 20, 2011 12:44
-module(blah).
-compile([export_all]).
-record(foo, {f}).
test() ->
Foo = #foo{f = bar},
blah:(Foo#foo.f)().
bar() ->
42.
nox@Bellcross:~/src/adopteunmec/www[dev=]$ git co fix-datetimetime
Switched to branch 'fix-datetimetime'
nox@Bellcross:~/src/adopteunmec/www[fix-datetimetime=]$ git co -
Switched to branch 'dev'
nox@Bellcross:~/src/adopteunmec/www[dev=]$