Skip to content

Commit

Permalink
Lazy snapshot before changing laptops.
Browse files Browse the repository at this point in the history
  • Loading branch information
pokeefe-occipital committed Oct 2, 2012
1 parent 87e2da4 commit bd58697
Show file tree
Hide file tree
Showing 22 changed files with 854 additions and 13 deletions.
14 changes: 13 additions & 1 deletion .bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,17 @@ export PATH=/opt/local/bin:/opt/local/sbin:$PATH

# Setting PATH for Python 2.7
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
PATH="/usr/local/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
export PATH

##
# Your previous /Users/patokeefe/.bash_profile file was backed up as /Users/patokeefe/.bash_profile.macports-saved_2012-06-04_at_20:51:25
##

# MacPorts Installer addition on 2012-06-04_at_20:51:25: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.


export PATH=/Users/patokeefe/OpenSource/OpenNI-Bin-Dev-MacOSX-v1.5.4.0/Samples/Bin/x64-Release:$PATH

13 changes: 9 additions & 4 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ alias ipq="ipython qtconsole --pylab"
export PYTHONPATH=/usr/local/lib/python:$PYTHONPATH
export PYTHONPATH=/Library/Python/2.7/site-packages:$PYTHONPATH
export PYTHONPATH=/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages:$PYTHONPATH
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
# export PYTHONPATH=/Users/patokeefe/Projects/OpenSource/marlib:$PYTHONPATH
# export PYTHONPATH=/Users/patokeefe/EsslResearch/CVTestSuite:$PYTHONPATH
# export PYTHONPATH=/Users/patokeefe/EsslResearch/CVTestSuite/Utils:$PYTHONPATH
Expand All @@ -26,6 +27,8 @@ alias pu="pushd"
alias d="dirs -v"
alias l="less "

alias multiepstopdf="find . -name \"*.eps\" -exec epstopdf {} \\;"

alias g="grep --color='auto' -n"
alias ls='ls -G'

Expand Down Expand Up @@ -67,9 +70,9 @@ export SVN_EDITOR=e
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"


export CLASSPATH=/Users/patokeefe/Projects/Graduate/568-ps1-ps2/java/lcm.jar
export CLASSPATH=/Users/patokeefe/Projects/Graduate/568-ps1-ps2/java/april.jar:$CLASSPATH
export DYLD_LIBRARY_PATH=/Users/patokeefe/Projects/Graduate/568-ps1-ps2/lib
export CLASSPATH=/Users/patokeefe/Projects/Archived/Graduate/568-ps1-ps2/java/lcm.jar
export CLASSPATH=/Users/patokeefe/Projects/Archived/Graduate/568-ps1-ps2/java/april.jar:$CLASSPATH
export DYLD_LIBRARY_PATH=/Users/patokeefe/Projects/Archived/Graduate/568-ps1-ps2/lib

# export CLASSPATH=$CLASSPATH:/usr/share/java/jogl.jar:/usr/share/java/gluegen-rt.jar:/usr/local/share/java/lcm.jar:$HOME/april/java/april.jar:./
# export CLASSPATH=/Users/patokeefe/Projects/OpenSource/april/java/april.jar:/usr/local/share/java/lcm.jar:./
Expand All @@ -78,5 +81,7 @@ alias java='java -ea -server'

# export CLASSPATH=/Users/patokeefe/Downloads/eecs568/java/april.jar
# export CLASSPATH=/Users/patokeefe/Downloads/eecs568/java/lcm.jar:$CLASSPATH
export DYLD_LIBRARY_PATH=/Users/patokeefe/Projects/Archived/Graduate/568-ps1-ps2/java/jni:$DYLD_LIBRARY_PATH
# export DYLD_LIBRARY_PATH=/Users/patokeefe/Projects/Archived/Graduate/568-ps1-ps2/java/jni:$DYLD_LIBRARY_PATH
# export DYLD_LIBRARY_PATH=/Users/patokeefe/Downloads/eecs568/java/jni:$DYLD_LIBRARY_PATH

export OPENCV_TEST_DATA_PATH='/Users/patokeefe/OpenSource/ecto_opencv/src/rgbd/testdata'
4 changes: 1 addition & 3 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
[user]
name = Pat O'Keefe
name = Patrick O'Keefe
email = [email protected]
[core]
autocrlf = input
safecrlf = true
excludesfile = /Users/patokeefe/.gitignore_global
13 changes: 12 additions & 1 deletion .gitignore_global
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,15 @@ xcuserdata/
*.#*
*/submission/auto/
*_flymake*
*synctex*
*synctex*


*/build/
*.eps
*.png
*.jpg
*.mat
*.txt
*.MOV
*.fig
*.bin
9 changes: 7 additions & 2 deletions emacs-settings/.emacs.d/custom.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,20 @@
'(TeX-PDF-mode t)
'(TeX-view-program-list (quote (("open" ""))) t)
'(TeX-view-program-selection (quote (((output-dvi style-pstricks) "dvips and gv") (output-dvi "xdvi") (output-pdf "Evince") (output-html "xdg-open"))) t)
'(c-basic-offset 4)
'(c-basic-offset 4 t)
'(cc-other-file-alist (quote (("\\.cc\\'" (".hh" ".h")) ("\\.hh\\'" (".cc" ".C")) ("\\.m\\'" (".h")) ("\\.c\\'" (".h")) ("\\.h\\'" (".c" ".cc" ".C" ".CC" ".cxx" ".cpp" ".m")) ("\\.C\\'" (".H" ".hh" ".h")) ("\\.H\\'" (".C" ".CC")) ("\\.CC\\'" (".HH" ".H" ".hh" ".h")) ("\\.HH\\'" (".CC")) ("\\.c\\+\\+\\'" (".h++" ".hh" ".h")) ("\\.h\\+\\+\\'" (".c++")) ("\\.cpp\\'" (".hpp" ".hh" ".h")) ("\\.hpp\\'" (".cpp")) ("\\.cxx\\'" (".hxx" ".hh" ".h")) ("\\.hxx\\'" (".cxx")))))
'(cua-enable-cua-keys nil)
'(flyspell-issue-message-flag nil)
'(flyspell-issue-welcome-flag nil)
'(fringe-mode 0 nil (fringe))
'(grep-command "grep -nHi -e ")
'(grep-find-command (quote ("find . -type f -exec grep -nHi -e {} +" . 34)))
'(grep-highlight-matches (quote auto))
'(ido-enable-tramp-completion nil)
'(ido-ignore-directories (quote ("\\`CVS/" "\\`\\.\\./" "\\`\\./" "\\`auto/" "\\\\.prv/")))
'(ido-ignore-files (quote ("\\`CVS/" "\\`#" "\\`.#" "\\`\\.\\./" "\\`\\./" "_region_" "\\\\.prv/" "\\`auto/" "\\.DS_Store" "_flymake\\." "\\.pyg" "\\.synctex\\.gz")))
'(matlab-auto-fill nil)
'(matlab-fill-code nil)
'(matlab-use-eei nil)
'(org-agenda-files (quote ("~/Dropbox/Org/gtd.org" "~/Dropbox/Org/inbox.org")))
'(org-capture-templates (quote (("t" "Todo" entry (file+headline "~/Dropbox/Org/inbox.org" "Inbox") "* TODO %?
Expand All @@ -27,7 +32,7 @@
Added: %U"))))
'(org-hide-leading-stars t)
'(org-odd-levels-only t)
'(org-refile-targets (quote (("~/Dropbox/Org/gtd.org" :maxlevel . 2))))
'(org-refile-targets (quote (("~/Google Drive/Org/gtd.org" :maxlevel . 2) ("~/Google Drive/Org/occipital.org" :maxlevel . 2))))
'(org-startup-folded t)
'(preview-auto-reveal t)
'(preview-gs-command "/usr/local/bin/gs")
Expand Down
6 changes: 5 additions & 1 deletion emacs-settings/.emacs.d/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,13 @@ ELPA (or Marmalade).")
(set-frame-size-according-to-resolution)

(open-filelist '("~/.emacs.d/init.el"
"~/Google Drive/Org/gtd.org"))
"~/Google Drive/Org/gtd.org"
"~/Google Drive/Org/occipital.org"))

(switch-to-buffer "gtd.org")
(split-window-below)
(other-window 1)
(switch-to-buffer "occipital.org")

;; Benchmarking
(message "My .emacs loaded in %ds"
Expand Down
2 changes: 2 additions & 0 deletions emacs-settings/.emacs.d/modules/init-editing.el
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
(setq-default tab-width 8) ;; but maintain correct appearance
(setq-default tab-width 4)
(setq indent-line-function 'insert-tab)
(setq c-default-style "linux"
c-basic-offset 4)

;; delete the selection with a keypress
(delete-selection-mode t)
Expand Down
6 changes: 6 additions & 0 deletions emacs-settings/.emacs.d/modules/init-org.el
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@
)
(global-set-key (kbd "C-c g") 'gtd)

(defun occipitalGtd ()
(interactive)
(find-file (concat org-directory "/occipital.org"))
)
(global-set-key (kbd "C-c o") 'occipitalGtd)

(defun inbox()
(interactive)
(find-file (concat org-directory "/inbox.org"))
Expand Down
1 change: 1 addition & 0 deletions emacs-settings/.emacs.d/modules/init-packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
volatile-highlights
zenburn-theme
color-theme
cmake-mode
yasnippet)
"A list of packages that will be installed at launch (if missing).")

Expand Down
4 changes: 3 additions & 1 deletion emacs-settings/.emacs.d/modules/init-programming.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

(require 'imenu)


(defun ido-goto-symbol (&optional symbol-list)
"Refresh imenu and jump to a place in the buffer using Ido."
(interactive)
Expand Down Expand Up @@ -57,6 +58,7 @@
(require 'which-func)
(which-func-mode 1)

(require 'cmake-mode)

;; ;; We have a number of turn-on-* functions since it's advised that lambda
;; ;; functions not go in hooks. Repeatedly evaluating an add-to-list with a
Expand Down Expand Up @@ -101,7 +103,7 @@

(defun prog-mode-defaults ()
"Default coding hook, useful with any programming language."
(flyspell-prog-mode)
;; (flyspell-prog-mode)
(turn-on-local-comment-auto-fill)
(turn-on-whitespace-mode)
;; (turn-on-hl-line-mode)
Expand Down
14 changes: 14 additions & 0 deletions emacs-settings/.emacs.d/modules/init-ui.el
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,19 @@
(if (>= emacs-major-version 23)
(set-frame-font "Menlo-12")))

;; Also make function calls highlighted
(font-lock-add-keywords 'c-mode
'(("\\s\"?\\(\\(\\sw\\|\\s_\\)+\\(<-\\)?\\)\\s\"?*\\s-*("
(1 font-lock-function-name-face))) t)

(font-lock-add-keywords 'c++-mode
'(("\\s\"?\\(\\(\\sw\\|\\s_\\)+\\(<-\\)?\\)\\s\"?*\\s-*("
(1 font-lock-function-name-face))) t)

;; And for python-mode too...
(font-lock-add-keywords 'python-mode
'(("\\s\"?\\(\\(\\sw\\|\\s_\\)+\\(<-\\)?\\)\\s\"?*\\s-*("
(1 font-lock-function-name-face))) t)

;; the menu bar is mostly useless as well
;; but removing it under OS X doesn't make much sense
Expand Down Expand Up @@ -97,7 +109,9 @@

;; Or this modified tango tango theme
(require 'color-theme)
(load-file "~/.emacs.d/themes/color-theme-tomorrow.el")
(load-file "~/.emacs.d/themes/naquadah-theme.el")
(color-theme-tomorrow-night)

;; (load-theme 'tango-2 t)

Expand Down
8 changes: 8 additions & 0 deletions emacs-settings/.emacs.d/snippets/text-mode/cc-mode/banner
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#contributor : Pat O'Keefe
#name : Comment Banner
# --
//${1:$(make-string (+ (string-width text) 1) ?-)}
// ${1:Comment}
//${1:$(make-string (+ (string-width text) 1) ?-)}

$0
8 changes: 8 additions & 0 deletions emacs-settings/.emacs.d/snippets/text-mode/matlab-mode/banner
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#contributor : Pat O'Keefe
#name : Comment Banner
# --
%${1:$(make-string (+ (string-width text) 1) ?=)}
% ${1:Comment}
%${1:$(make-string (+ (string-width text) 1) ?=)}

$0
8 changes: 8 additions & 0 deletions emacs-settings/.emacs.d/snippets/text-mode/matlab-mode/func
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#contributor : Pat O'Keefe <[email protected]>
#name : Function declaration
# --
function $1 = ${2:functionName}(${3:functionArgs})
% $2 -- ${4:Short description}
%
% $0
%
91 changes: 91 additions & 0 deletions emacs-settings/.emacs.d/themes/color-theme-blue-theme.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
;;; tomorrow-night-blue-theme.el --- custom theme for faces

;;; Commentary:
;;
;;; Tomorrow Night Blue Theme
;;
;; Originally by Chris Kempson https://github.com/ChrisKempson/Tomorrow-Theme
;; Ported to GNU Emacs by Chris Charles
;; Ported to GNU Emacs 24's built-in theme system by Jim Myhrberg (@jimeh)

;;; Code:

(deftheme tomorrow-night-blue
"A Pastel Coloured Theme")

(let ((background "#002451")
(current-line "#00346e")
(selection "#003f8e")
(foreground "#ffffff")
(comment "#7285b7")
(cursor "#ffffff")
(red "#ff9da4")
(orange "#ffc58f")
(yellow "#ffeead")
(green "#d1f1a9")
(aqua "#99ffff")
(blue "#bbdaff")
(purple "#ebbbff"))

(custom-theme-set-faces
'tomorrow-night-blue

;; Built-in stuff (Emacs 23)
`(default ((t (:background ,background :foreground ,foreground))))
`(fringe ((t (:background ,current-line))))
`(minibuffer-prompt ((t (:foreground ,blue))))
`(mode-line ((t (:background ,current-line :foreground ,foreground))))
`(region ((t (:background ,selection))))

;; Font-lock stuff
`(font-lock-comment-face ((t (:foreground ,comment))))
`(font-lock-constant-face ((t (:foreground ,green))))
`(font-lock-doc-string-face ((t (:foreground ,comment))))
`(font-lock-function-name-face ((t (:foreground ,blue))))
`(font-lock-keyword-face ((t (:foreground ,purple))))
`(font-lock-string-face ((t (:foreground ,green))))
`(font-lock-type-face ((t (:foreground ,yellow))))
`(font-lock-variable-name-face ((t (:foreground ,red))))
`(font-lock-warning-face ((t (:foreground ,red))))

;; hl-line-mode
`(hl-line ((t (:background ,current-line))))

;; linum-mode
`(linum ((t (:background ,current-line :foreground ,foreground))))

;; org-mode
`(org-date ((t (:foreground ,purple))))
`(org-done ((t (:foreground ,green))))
`(org-hide ((t (:foreground ,current-line))))
`(org-link ((t (:foreground ,blue))))
`(org-todo ((t (:foreground ,red))))

;; show-paren-mode
`(show-paren-match ((t (:background ,blue :foreground ,current-line))))
`(show-paren-mismatch ((t (:background ,orange :foreground ,current-line))))

;; rainbow-delimiters
`(rainbow-delimiters-depth-1-face ((t (:foreground ,purple))))
`(rainbow-delimiters-depth-2-face ((t (:foreground ,blue))))
`(rainbow-delimiters-depth-3-face ((t (:foreground ,aqua))))
`(rainbow-delimiters-depth-4-face ((t (:foreground ,green))))
`(rainbow-delimiters-depth-5-face ((t (:foreground ,yellow))))
`(rainbow-delimiters-depth-6-face ((t (:foreground ,orange))))
`(rainbow-delimiters-depth-7-face ((t (:foreground ,red))))
`(rainbow-delimiters-depth-8-face ((t (:foreground ,comment))))
`(rainbow-delimiters-depth-9-face ((t (:foreground ,foreground)))))

(custom-theme-set-variables
'tomorrow-night-blue

`(ansi-color-names-vector
;; black, red, green, yellow, blue, magenta, cyan, white
[,background ,red ,green ,yellow ,blue ,purple ,blue ,foreground])
`(ansi-term-color-vector
;; black, red, green, yellow, blue, magenta, cyan, white
[unspecified ,background ,red ,green ,yellow ,blue ,purple ,blue ,foreground])))

(provide-theme 'tomorrow-night-blue)

;;; tomorrow-night-blue-theme.el ends here
Loading

0 comments on commit bd58697

Please sign in to comment.