Skip to content

Instantly share code, notes, and snippets.

@seanfisk
seanfisk / pyside_version.py
Last active August 29, 2015 13:56
PySide Version Script
#!/usr/bin/env python
# Script to dump as much information as possible about the current platform,
# Python, PySide, and Qt.
#
# On platforms with wget, you may run with:
#
# wget -q -O - https://gist.githubusercontent.com/seanfisk/9194547/raw/pyside_version.py | python -
#
@seanfisk
seanfisk / install_scons.bash
Created September 15, 2013 18:34
Install SCons locally on Mac OS X.
wget -O - http://prdownloads.sourceforge.net/scons/scons-2.3.0.tar.gz | tar -xzf
pushd scons-2.3.0
# python setup.py install appears to work, but doesn't.
python setup.py install --user
popd # scons-2.3.0
@seanfisk
seanfisk / working-bare.bash
Created April 13, 2012 13:20
Creating both a working tree repository and a bare repository
cd your_projects_dir
git clone --no-hardlinks http://cis.gvsu.edu/~fiskse/classes/cs380/labs/11.git your_project_name
mkdir your_project_name.git
cd your_project_name.git
git init --bare # a repo exclusively for sharing
cp ~fiskse/global/git-hooks/post-update hooks # updates perms correctly
pwd -P # this is your sharing path
cd ../your_project_name
touch a_change
git add a_change