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
# Start tmux | |
if [ "$TMUX" = "" ]; then tmux; fi | |
# Set theme | |
ZSH_THEME="gallifrey" | |
# Customize envionment variables | |
export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/core_perl:/usr/local/texlive/2013/bin/i386-linux | |
export VISUAL='emacsclient --no-wait --alternate-editor vim' |
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
%r% (url='http://defunkt.io/gist/') |
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
;r;(url'https://github.com/defunkt/gist.el') |
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
#r#(url='http://stackoverflow.com/questions/424071/list-all-the-files-for-a-commit-in-git') | |
git diff-tree --no-commit-id --name-only -r <commit-ish> |
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
//r// (url='http://www.cplusplus.com/reference/cstdio/printf/') | |
// \ldots A format specifier follows this prototype: \ldots | |
// \ldots %[flags][width][.precision][length]specifier \ldots | |
// \ldots If no sign is going to be written, a blank space is inserted before the value \ldots | |
// \ldots Minimum number of characters to be printed. \ldots The value is not [respected] \ldots if the result is larger [and would be truncated]. \ldots | |
int printf ( const char * format, ... ); |
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
inv = @(A) A \ eye(size(A)) |
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
% dock all windows by default | |
set(0,'DefaultFigureWindowStyle','docked') | |
% change to shared folder | |
cd('C:\sF') |
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
#r# (url='http://stackoverflow.com/questions/67631/how-to-import-a-module-given-the-full-path') | |
# \ldots The advantage of adding a path to sys.path (over using imp) is that it simplifies things when importing more than one module from a single package. For example: \ldots | |
import sys | |
# the mock-0.3.1 dir contains testcase.py, testutils.py & mock.py | |
sys.path.append('/foo/bar/mock-0.3.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
# user {{{ | |
[user] | |
email = [email protected] | |
name = mchl@envy | |
# }}} | |
# color {{{ | |
[color] |
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
%r%(url='http://stackoverflow.com/questions/16821151/what-characters-can-i-use-in-a-git-alias') | |
The variable names are case-insensitive, allow only alphanumeric characters and -, and must start with an alphabetic characte. |
OlderNewer