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
| (defcustom term-unbind-key-list | |
| '("C-z" "C-x" "C-c" "C-h" "C-y" "<ESC>") | |
| "The key list that will need to be unbind." | |
| :type 'list | |
| :group 'multi-term) | |
| (defcustom term-bind-key-alist | |
| '( | |
| ("C-c C-c" . term-interrupt-subjob) | |
| ("C-p" . previous-line) |
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
| (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 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
| (add-hook 'term-mode-hook | |
| (lambda () | |
| (setq show-trailing-whitespace nil) | |
| (autopair-mode -1))) |
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
| if [ -n "$INSIDE_EMACS" ]; then | |
| export ZSH_THEME="rawsyntax" | |
| else | |
| export ZSH_THEME="robbyrussell" | |
| fi |
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
| (setq multi-term-program "/bin/zsh") |
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
| #!/usr/bin/env ruby | |
| work_email = 'eric@intridea.com' | |
| 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 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
| %% -*- 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 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
| %% Schema for 'search' | |
| { | |
| schema, | |
| [ | |
| {version, "1.1"}, | |
| {n_val, 3}, | |
| {default_field, "value"}, | |
| {analyzer_factory, {erlang, text_analyzers, whitespace_analyzer_factory}} | |
| ], |
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
| 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 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
| 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>" |