This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make rel | |
./rebar get-deps | |
==> rel (get-deps) | |
==> riak (get-deps) | |
Pulling cluster_info from {git,"git://github.com/basho/cluster_info", | |
{branch,"master"}} | |
Cloning into cluster_info... | |
Pulling luwak from {git,"git://github.com/basho/luwak",{branch,"master"}} | |
Cloning into luwak... | |
Pulling riak_kv from {git,"git://github.com/basho/riak_kv",{branch,"master"}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import absolute_import | |
from datetime import datetime, timedelta | |
import riak | |
from django.conf import settings | |
from django.contrib.sessions.backends.base import SessionBase, CreateError | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./rebar compile | |
==> erlang_js (compile) | |
make: Entering directory `/home/brett/Development/src-mirror/erlang_js/c_src' | |
gunzip -c nsprpub-4.8.tar.gz | tar xf - | |
(cd /home/brett/Development/src-mirror/erlang_js/c_src/nsprpub && \ | |
./configure --disable-debug --enable-optimize \ | |
--prefix=/home/brett/Development/src-mirror/erlang_js/c_src/system && \ | |
make all install) | |
creating cache ./config.cache | |
checking host system type... x86_64-unknown-linux-gnu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make rel | |
./rebar get-deps | |
==> cluster_info (get-deps) | |
==> skerl (get-deps) | |
==> protobuffs (get-deps) | |
==> basho_stats (get-deps) | |
==> riak_sysmon (get-deps) | |
==> mochiweb (get-deps) | |
==> webmachine (get-deps) | |
==> riak_core (get-deps) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el | |
index 157b2dd..f3807b7 100644 | |
--- a/lisp/term/ns-win.el | |
+++ b/lisp/term/ns-win.el | |
@@ -1263,6 +1263,11 @@ the operating system.") | |
(add-to-list 'window-system-initialization-alist '(ns . ns-initialize-window-system)) | |
+(declare-function ns-toggle-fullscreen-internal "nsfns.m" ()) | |
+(defun ns-toggle-fullscreen () |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install guile --HEAD | |
==> Downloading ftp://ftp.gnu.org/pub/gnu/guile/guile-2.0.0.tar.gz | |
File already downloaded and cached to /Users/brett/Library/Caches/Homebrew | |
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/guile/HEAD --with-libreadli | |
==> make install | |
make install-recursive | |
Making install in lib | |
GEN alloca.h | |
GEN arg-nonnull.h | |
GEN c++defs.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
activerehashing yes | |
appendfsync everysec | |
appendonly no | |
bind 0.0.0.0 | |
daemonize yes | |
databases 1 | |
dbfilename dump_1.rdb | |
dir /var/redis/ | |
glueoutputbuf yes | |
hash-max-zipmap-entries 512 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print "No." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bind the up arrow to history search, instead of history step | |
"\e[A": history-search-backward | |
# And the reverse (down) | |
"\e[B": history-search-forward |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# credit: http://news.ycombinator.com/item?id=1543915 | |
# in ipythonrc: | |
# execfile copy_and_paste.py | |
def copy(data): | |
from subprocess import Popen, PIPE | |
Popen(["xclip", "-selection", "clipboard"], stdin=PIPE).communicate(str(data)) | |
def paste(): |