Skip to content

Instantly share code, notes, and snippets.

@CodeSturgeon
CodeSturgeon / boot_note.sh
Created January 7, 2012 02:12
Admin Scripts
#!/bin/sh
echo $HOSTNAME booting
@CodeSturgeon
CodeSturgeon / brew --config
Created June 17, 2011 21:04
Brew info 16 Jun 2011
HOMEBREW_VERSION: 0.8
HEAD: a6223736f93424c4e13515c181733aee2744e849
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit penryn
OS X: 10.6.7
Kernel Architecture: i386
Ruby: 1.8.7-174
@CodeSturgeon
CodeSturgeon / PageTemplate
Created March 21, 2010 23:14
Updated MonoChrome theme for TiddlyWiki
<div id='header' class='header' macro='gradient vert #555555 #3b3b3b '>
<div class='siteTitle' refresh='content' tiddler='SiteTitle'></div>
<span id='topMenu' refresh='content' tiddler='MainMenu'></span>
</div>
<div id='sidebar'>
<div id='sidebarOptions' refresh='content' tiddler='SideBarOptions'></div>
<div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'></div>
</div>
<div id='displayArea'>
@CodeSturgeon
CodeSturgeon / osx_tkinter_workaround.py
Created October 11, 2009 19:28
Tkinter activation workaround
#!/usr/bin/env python
## This script demonstrates a workaround for the Tkinter (Tcl/Tk?) activation
## bug under OS X. More on that here:
## http://groups.google.com/group/comp.lang.python/browse_thread/thread/64f3bc64de5dc773/973c208be03d1514
##
## - Nick Fisher
from easygui import msgbox
from Tkinter import Tk