Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

snapshot

  • Loading branch information...
commit 1d9c7f96160597f7c82c321e76a43e3a54897b34 1 parent 3813d10
Mike Lundy authored
3  .bashrc
View
@@ -20,9 +20,6 @@ shopt -s histappend
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
-# make less more friendly for non-text input files, see lesspipe(1)
-[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
-
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
4 .gitconfig
View
@@ -82,3 +82,7 @@
default = tracking
[core]
excludesfile = ~/.gitexcludes
+[branch]
+ autosetuprebase = always
+[gitreview]
+ username = novas0x2a
1  .gitexcludes
View
@@ -6,3 +6,4 @@ __pistonversion__.py
/debian/openstackx
/*.egg-info
/version.py
+/.venv
3  .gitmodules
View
@@ -37,3 +37,6 @@
[submodule ".vim/bundle/coveragepy"]
path = .vim/bundle/coveragepy
url = git://github.com/alfredodeza/coveragepy.vim.git
+[submodule "local/vendor/git-hg"]
+ path = local/vendor/git-hg
+ url = git://github.com/cosmin/git-hg.git
13 .ssh/config
View
@@ -5,6 +5,7 @@ ControlPath ~/.ssh/master-%r@%h:%p
NoHostAuthenticationForLocalhost yes
ServerAliveInterval 5
ServerAliveCountMax 6
+ExitOnForwardFailure yes
Host router
HostName 192.168.1.1
@@ -48,12 +49,18 @@ Host mirror.pistoncloud.com
User mike
## Gateway Machines
-#Host colo-piston-* colo-arista
-#ProxyCommand ssh colo-r.pistoncloud.com nc %h 22
+Host control-28 control-29 control-30 node-28* node-29* node-30*
+ProxyCommand ssh colo-r2.pistoncloud.com nc %h 22
-Host control-*-remote node-*-remote lack-*-remote
+#Host control-18-remote node-18*-remote lack-18-remote
+#ProxyCommand ssh colo-r2.pistoncloud.com nc %h 22
+
+Host control-*-remote node-*-remote lack-*-remote wheelbarrow-*-remote
ProxyCommand ssh wheelbarrow-null.pistoncloud.com nc %h 22
+Host wheelbarrow-*-remote
+User root
+
Host control-*
User admin
StrictHostKeyChecking no
6 .vimrc
View
@@ -427,6 +427,10 @@ function! PythonSetup()
setlocal colorcolumn=80,100
endif
compiler nose
+ setlocal makeprg=pylint\ %
+ if $VIRTUAL_ENV != ""
+ nmap <buffer> <unique> <silent> <Leader>l :exe "CommandT " . $VIRTUAL_ENV<CR>
+ endif
endfunction
function! HasOrThrow(feature)
@@ -492,7 +496,7 @@ function! FindVimrcs()
endfor
endfunction
-let s:project_root = $HOME
+let s:project_root = getcwd()
function! GetMyProjectRoot()
return s:project_root
endfunction
6 .xmonad/xmonad.hs
View
@@ -71,9 +71,9 @@ pRole = stringProperty "WM_WINDOW_ROLE"
replicateMessage n m = foldr1 (>>) $ replicate n $ sendMessage m
rrArgs :: FilePath -> [String] -> Query Bool -> X ()
---rrArgs = (raiseMaybe .) . safeSpawn
+rrArgs = (raiseMaybe .) . safeSpawn
-- work around chromium bug
-rrArgs = ((raiseMaybe . unsafeSpawn . join . List.intersperse " ") .) . (:)
+--rrArgs = ((raiseMaybe . unsafeSpawn . join . List.intersperse " ") .) . (:)
rr = runOrRaise
@@ -150,7 +150,7 @@ myKeys floatNextWindows conf = mkKeymap conf $
, ("M-s w", rrArgs "chromium" ["--app=https://docs.google.com"] $ "Google Docs" `isPrefixOfQ` pName)
, ("M-s n", rrArgs "chromium" ["--app=https://music.google.com"] $ "Music Beta" `isSuffixOfQ` pName)
, ("M-s p", rrArgs "keepassx" ["/media/disk/Dropbox/pw/Personal.kdb"] $ pClass =? "Personal.kdb")
- , ("M-s [", rrArgs "keepassx" ["/media/disk/Dropbox/geocloud/PistonLogins.kdb"] $ pClass =? "PistonLogins.kdb")
+ , ("M-s [", rrArgs "keepassx" ["/media/disk/Dropbox/geocloud/Office : Operations/keys/PistonLogins.kdb"] $ pClass =? "PistonLogins.kdb")
, ("M-s b", rrArgs "thunar" ["~/"] $ pClass =? "Thunar")
, ("M-s S-b", spawn "thunar ~/")
, ("M-s f", rrN "chromium"
1  .zsh/env.d/30-aliases.zsh
View
@@ -67,7 +67,6 @@ if [[ -f $HOME/bin/hub ]]; then
function git(){hub $@}
fi
-cd() { builtin cd $* && ls }
freload() { while (( $# )); do; unfunction $1; autoload -U $1; shift; done }
info() { /usr/bin/info --subnodes --output - $1 2>/dev/null | less}
3  .zsh/env.d/60-virtualenvwrapper.zsh
View
@@ -0,0 +1,3 @@
+#if which virtualenvwrapper.sh &>/dev/null; then
+# . virtualenvwrapper.sh
+#fi
7 .zsh/env.d/90-hosts.zsh
View
@@ -19,10 +19,3 @@ case $(hostname --fqdn 2>/dev/null || hostname) in
fi
;;
esac
-
-# Do this last, everywhere.
-# Grab my usual virtualenv stuff
-if [[ -d $HOME/local/python/bin ]]; then
- export VIRTUAL_ENV="$HOME/local/python"
- path=($VIRTUAL_ENV/bin $path)
-fi
13 .zsh/rc.d/01-interactive.zsh
View
@@ -11,6 +11,19 @@
# ;;
#esac
+
+CHPWD_MAX_FILES_LIST=1000
+
+function chpwd() {
+ emulate -L zsh
+ local links=$(stat --printf '%h' $PWD)
+ if [[ $links -gt $CHPWD_MAX_FILES_LIST ]]; then
+ echo "Refusing to list a directory with more than $CHPWD_MAX_FILES_LIST files"
+ else
+ ls
+ fi
+}
+
# title/precmd/postcmd
function precmd() {
title "zsh $(print -Pn %~)"
7 .zsh/rc.d/40-completion.zsh
View
@@ -16,6 +16,13 @@ zstyle ':completion::complete:*' use-cache 1
zstyle ':completion:*' users
+local _myhosts
+_myhosts=( $PISTON_HOSTS ${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*}%%\ *}%%,*} )
+
+zstyle ':completion:*:hosts' hosts $_myhosts
+
+
+
autoload run-help
autoload -U compinit
5 .zshenv
View
@@ -49,4 +49,9 @@ for zshrc in ~/.zsh/env.d/[0-9][0-9]*[^~] ; do
source $zshrc
done
+
+if [[ -f "${HOME}/.gentoo/java-env-classpath" ]]; then
+ source ${HOME}/.gentoo/java-env-classpath
+fi
+
[[ -r $HOME/.zshenv.local ]] && source $HOME/.zshenv.local
1  bin/git-hg
View
1  local/vendor/git-hg
@@ -0,0 +1 @@
+Subproject commit 96cb6a7b0aa3f886b07c65f3541e1c42bc627680
Please sign in to comment.
Something went wrong with that request. Please try again.