Skip to content

Instantly share code, notes, and snippets.

@ScottSolomko
ScottSolomko / setup.ubuntu.solarize.sh
Created November 30, 2012 08:32 — forked from t-mart/setup.ubuntu.solarize.sh
Set up Ubuntu for Solarize
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/use_theme_background" --type bool false
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/use_theme_colors" --type bool false
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/palette" --type string "#070736364242:#D3D301010202:#858599990000:#B5B589890000:#26268B8BD2D2:#D3D336368282:#2A2AA1A19898:#EEEEE8E8D5D5:#00002B2B3636:#CBCB4B4B1616:#58586E6E7575:#65657B7B8383:#838394949696:#6C6C7171C4C4:#9393A1A1A1A1:#FDFDF6F6E3E3"
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/background_color" --type string "#00002B2B3636"
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/foreground_color" --type string "#65657B7B8383"
@ScottSolomko
ScottSolomko / Python: Terminal colors
Created November 30, 2012 01:52
Python: Terminal color testing
#!/usr/bin/env python
# Copyright (C) 2006 by Johannes Zellner, <johannes@zellner.org>
# modified by mac@calmar.ws to fit my output needs
# modified by crncosta@carloscosta.org to fit my output needs
import sys
import os
def echo(msg):
os.system('echo -n "' + str(msg) + '"')
@ScottSolomko
ScottSolomko / .vimrc
Created November 28, 2012 11:05
.vimrc
set nocompatible " be iMproved
filetype off " required!
let g:vundle_default_git_proto = 'git'
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" Let Vundle manage vundle ... required!
Bundle 'gmarik/vundle'
@ScottSolomko
ScottSolomko / Bash: Prompt
Created November 24, 2012 09:44
Bash: Prompt with date, time, user, hostname, pwd with git branch and history
PS1="\[\033[1;30m\]\342\224\214(\[\033[0;0m\]\@ \d\[\033[1;30m\])\342\224\200(\[\033[0;0m\]\u@\h\[\033[1;30m\])\342\224\200(\[\033[0;m\]\w\$(__git_ps1 '\[\033[0;33m\]:%s')\[\033[1;30m\])\n\342\224\224(\[\033[0;33m\]\!\[\033[1;30m\]\[\033[1;30m\])\342\224\200\[\033[0;m\]\$ "
@ScottSolomko
ScottSolomko / CSS: Image Replace
Created November 23, 2012 11:58
CSS: Image Replacement
.ir {
border: 0;
font: 0/0 a;
text-shadow: none;
color: transparent;
background-color: transparent;
}