Skip to content

Instantly share code, notes, and snippets.

View bserem's full-sized avatar

Bill Seremetis bserem

View GitHub Profile
@bserem
bserem / .bashrc
Last active August 29, 2015 13:56
Bash: Verbose GIT branch
# verbose git branch on bash PS1
# get accompaning script with this command:
# curl https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh > ~/.bash_git
if [ -f ~/.bash_git ]; then
source ~/.bash_git
export PS1='[\u@\h \W$(__git_ps1 ":%s")]\$ '
fi
@bserem
bserem / .screenrc
Last active January 3, 2016 08:29
GNU Screen configuration file
startup_message off
vbell off
defscrollback 5000
#change the hardstatus settings to give an window list at the bottom of the
#screen, with the time and date and with the current window highlighted
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%{r}%H %{g}][%= %{= kw}%?%-Lw%?%{+b m}(%{W}%n*%f%t%?(%u)%?%{m})%{-b w}%?%+Lw%?%?%= %{g}][%{g} %Y/%m/%d %{c}%c:%s %{g}]'
#change names and add screens as you wish
@bserem
bserem / ini
Created January 15, 2014 10:47
Midnight Commander (MC) solarized colors. Add this in ~/.config/mc/ini
[Colors]
base_color=lightgray,green:normal=green,default:selected=white,gray:marked=yellow,default:markselect=yellow,gray:directory=blue,default:executable=brightgreen,default:link=cyan,default:device=brightmagenta,default:special=lightgray,default:errors=red,default:reverse=green,default:gauge=green,default:input=white,gray:dnormal=green,gray:dfocus=brightgreen,gray:dhotnormal=cyan,gray:dhotfocus=brightcyan,gray:menu=green,default:menuhot=cyan,default:menusel=green,gray:menuhotsel=cyan,default:helpnormal=cyan,default:editnormal=green,default:editbold=blue,default:editmarked=gray,blue:stalelink=red,default
@bserem
bserem / tacit.pde
Created November 1, 2012 19:39 — forked from Grathio/tacit.pde
Project Tacit
// Tacit, Wrist mounted tactile feedback for the blind.
// By Steve Hoefer at Grathio Labs (http://grathio.com)
// Version 12.02.04
//
// Copyright (c) 2012 Steve Hoefer
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
// associated documentation files (the "Software"), to deal in the Software without restriction,
// including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions: