Skip to content

Instantly share code, notes, and snippets.

Avatar

Rebecca Lynn Cremona rebeccacremona

View GitHub Profile
View keybase.md

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 Jun 22, 2017
Virtualenvwrapper config
View .bash_profile
# 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 "
View .bash_profile
# 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 Sep 1, 2016
Tweaked Pro terminal profile (my default)
View Pro.terminal
<?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
View Preferences.sublime-settings
{
"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
Automatically change Terminal profiles when ssh'ing into a server, and return to your default on exiting.
View .bash_profile
# 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
You can’t perform that action at this time.