/mouse enable
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
[cappuccino system scope tasks] | |
jake clobber - this removes the Build directory and build products | |
jake debug - this creates the Build directory and its Debug | |
subdirectory and contents | |
jake release - this creates the Build directory and its Release | |
subdirectory and contents | |
jake all - this is like executing both jake debug and jake release | |
jake build - this creates the Build directory and its Release | |
subdirectory and contents | |
jake clean - leaves Build/Release and Build/Debug, but removes the |
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
# -- | |
#+begin_src ${1:$$(yas-choose-value '("emacs-lisp" "sh" "shell" "mathematica" "lisp" "R" "python" "ocaml" "matlab" "dot" "C" "C++"))} ${2::includes '(${3:<iostream>})} ${4::var ${5:foobnar}=${6:batz}} ${7::file ${8:(org-babel-temp-file "./figure-" ".png")}} :results ${9:$$(yas-choose-value '("silent" "replace" "append" "prepend" "output" "output table" "output scalar" "output file" "output |
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
(defconstant array-max-size (1- array-total-size-limit)) | |
(defstruct bigvector | |
total-size | |
slice-size | |
last-slice-size | |
slices) | |
(declaim (inline allocate-vector)) | |
(defun allocate-vector (size element-type) | |
(declare (type integer size)) |
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
# basic factor analysis | |
# http://blog.alphaarchitect.com/2015/05/28/basic-factor-analysis-simple-tools-to-understand-what-drives-performance/ | |
import pandas as pd | |
import pandas.io.data as web | |
import datetime, re, copy | |
import numpy as np | |
import statsmodels.formula.api as sm | |
start = datetime.date(2000,1,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
alias e='emacsclient -q -a emacs' | |
EDITOR=emacsclient | |
function e { | |
tmux new-window -a -n "emacs" "$EDITOR $@" | |
} | |
function ee { | |
tmux split-window "$EDITOR $@" |
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
## ZSH Options | |
# http://zsh.sourceforge.net/Doc/Release/Options.html | |
# Changing Directories | |
# http://zsh.sourceforge.net/Doc/Release/Options.html#Changing-Directories | |
setopt auto_cd # if a command isn't valid, but is a directory, cd to that dir | |
setopt auto_pushd # make cd push the old directory onto the directory stack | |
setopt pushd_ignore_dups # don’t push multiple copies of the same directory onto the directory stack | |
setopt pushd_minus # exchanges the meanings of ‘+’ and ‘-’ when specifying a directory in the stack |
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
noaliases off | |
allexport off | |
noalwayslastprompt off | |
alwaystoend on | |
appendcreate off | |
noappendhistory off | |
autocd on | |
autocontinue off | |
noautolist off | |
noautomenu off |
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
############### | |
## oh-my-zsh ## | |
############### | |
# To install: | |
# curl -Lo install.sh https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh | |
# sh install.sh | |
# or | |
# sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# ohmyzsh will create a ~/.zshrc that blows away my symbolic link to | |
# ~/elisp/zsh/zshrc. I have to remove that and then recreate the symbolic link: |
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
penelope = with pkgs; python3Packages.buildPythonPackage rec { | |
pname = "penelope"; | |
version = "3.1.3.0"; | |
src = python3Packages.fetchPypi { | |
inherit pname version; | |
sha256 = "0vicjkxhi8ncwgfnicc02xvww7idam0jikry878rsdgi9x30vkbl"; | |
}; | |
buildInputs = [ python3Packages.lxml python3Packages.marisa-trie ]; |
OlderNewer