This file contains 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
(add-hook 'term-mode-hook | |
(lambda () | |
(add-to-list 'term-bind-key-alist '("M-[" . multi-term-prev)) | |
(add-to-list 'term-bind-key-alist '("M-]" . multi-term-next)))) |
This file contains 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
(add-hook 'term-mode-hook | |
(lambda () | |
(setq show-trailing-whitespace nil) | |
(autopair-mode -1))) |
This file contains 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
if [ -n "$INSIDE_EMACS" ]; then | |
export ZSH_THEME="rawsyntax" | |
else | |
export ZSH_THEME="robbyrussell" | |
fi |
This file contains 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
(setq multi-term-program "/bin/zsh") |
This file contains 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
#!/usr/bin/env ruby | |
work_email = '[email protected]' | |
if `pwd` =~ /^\/Users\/eric\/src\/intridea/ && | |
`git config --get user.email`.strip != work_email | |
`git config --add user.email #{work_email}` | |
end |
This file contains 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
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- | |
%% ex: ft=erlang ts=4 sw=4 et | |
[ | |
%% Riak Client APIs config | |
{riak_api, [ | |
%% pb_backlog is the maximum length to which the queue of pending | |
%% connections may grow. If set, it must be an integer >= 0. | |
%% By default the value is 5. If you anticipate a huge number of | |
%% connections being initialised *simultaneously*, set this number | |
%% higher. |
This file contains 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
%% Schema for 'search' | |
{ | |
schema, | |
[ | |
{version, "1.1"}, | |
{n_val, 3}, | |
{default_field, "value"}, | |
{analyzer_factory, {erlang, text_analyzers, whitespace_analyzer_factory}} | |
], |
This file contains 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
def github(name, version, options = nil) | |
options ||= {} | |
options[:repo] ||= "boxen/puppet-#{name}" | |
mod name, version, :github_tarball => options[:repo] | |
end | |
github 'nginx', '1.4.0' |
This file contains 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
require 'markaby' | |
m = Markaby::Builder.new | |
m.div({:id => "boosh", :class => "boosh"}) do | |
h1("boosh", {:id => "inner"}) | |
end | |
#=> "<div id="boosh" class="boosh"><h1 id="inner">boosh</h1></div>" |
This file contains 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
79936 | |
90011 | |
60629 | |
90650 | |
90201 | |
77084 | |
92335 | |
78521 | |
77449 | |
78572 |