Skip to content

Instantly share code, notes, and snippets.

View rebeccacremona's full-sized avatar

Rebecca Lynn Cremona rebeccacremona

View GitHub Profile

Keybase proof

I hereby claim:

  • I am rebeccacremona on github.
  • I am rebeccacremona (https://keybase.io/rebeccacremona) on keybase.
  • I have a public key whose fingerprint is 78C2 0B45 A938 8133 FB3F 425E 1FC9 4EC0 5740 34D2

To claim this, I am signing this object:

@rebeccacremona
rebeccacremona / .bash_profile
Last active June 22, 2017 19:57
Virtualenvwrapper config
# No dupes
export HISTCONTROL=ignoreboth:erasedups
# Eternal bash history.
# ---------------------
# Undocumented feature which sets the size to "unlimited".
# http://stackoverflow.com/questions/9457233/unlimited-bash-history
export HISTFILESIZE=
export HISTSIZE=
export HISTTIMEFORMAT="%F %T "
@rebeccacremona
rebeccacremona / .bash_profile
Created September 1, 2016 13:46
Eternal bash history
# No dupes
export HISTCONTROL=ignoreboth:erasedups
# Eternal bash history.
# ---------------------
# Undocumented feature which sets the size to "unlimited".
# http://stackoverflow.com/questions/9457233/unlimited-bash-history
export HISTFILESIZE=
export HISTSIZE=
export HISTTIMEFORMAT="%F %T "
@rebeccacremona
rebeccacremona / Pro.terminal
Created September 1, 2016 13:39
Tweaked Pro terminal profile (my default)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BackgroundBlur</key>
<real>0.0</real>
<key>BackgroundColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKMHCA9VJG51bGzTCQoLDA0OV05TV2hpdGVcTlNDb2xvclNwYWNlViRjbGFzc00w
@rebeccacremona
rebeccacremona / Preferences.sublime-settings
Last active October 18, 2017 00:31
SublimeText preferences
{
"color_scheme": "Packages/Color Scheme - Kuroir/Kuroir Theme.tmTheme",
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"fade_fold_buttons": false,
"folder_exclude_patterns": [".svn", ".git", ".hg", "CVS", "__pycache__"],
"font_size": 22,
"highlight_line": true,
"hot_exit": false,
"ignored_packages":
@rebeccacremona
rebeccacremona / .bash_profile
Created May 30, 2016 19:17
Automatically change Terminal profiles when ssh'ing into a server, and return to your default on exiting.
# terminal profiles & ssh
# uses 'Pro' as default
function extractServerName () { echo ${1} | cut -f1 -d "."; }
function setTerminal() { PROFILE=${1}; osascript -e "try" -e "tell app
\"Terminal\" to set current settings of first window to settings set
\"${PROFILE}\"" -e "end try"; }
function ssh() {
if command ssh "$@"; then
setTerminal pro
fi