Skip to content

Instantly share code, notes, and snippets.

@phoebebright
phoebebright / brew pyqt failed output
Created January 1, 2011 01:29
Output + Brew Doctor
The-Black-Book-2:Formula phoebebr$ brew install pyqt
==> Downloading http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-4.8.2.tar.gz
File already downloaded and cached to /Users/phoebebr/Library/Caches/Homebrew
==> python2.7 ./configure.py --confirm-license --bindir=/usr/local/Cellar/pyqt/4.8.2/bin --destdir=/usr/local/Cellar/pyqt/4.8.2/lib/python --sipdi
==> make
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fPIC -Wall -W -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.7.1/mkspecs/macx-g++ -I. -I/usr/local/Cellar/qt/4.7.1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtCore -I/usr/local/Cellar/qt/4.7.1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtGui -I/usr/local/Cellar/qt/4.7.1/lib/QtDeclarative.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtDeclarative -I/usr/local/Cellar/qt/4.7.1/include -I/usr/local/Cellar/sip/4.12/include -I
@phoebebright
phoebebright / brew pyqt failed output 3
Created January 1, 2011 17:15
Back to the first error I think
The-Black-Book-2:~ phoebebr$ brew install pyqt
==> Downloading http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-
File already downloaded and cached to /Users/phoebebr/Library/Caches/Homebrew
==> python2.7 ./configure.py --confirm-license --bindir=/usr/local/Cellar/pyqt/4
==> make
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fPIC -Wall -W -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.7.1/mkspecs/macx-g++ -I. -I/usr/local/Cellar/qt/4.7.1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtCore -I/usr/local/Cellar/qt/4.7.1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtGui -I/usr/local/Cellar/qt/4.7.1/lib/QtDeclarative.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtDeclarative -I/usr/local/Cellar/qt/4.7.1/include -I/usr/local/Cellar/sip/4.12/include -I/usr/local/Cellar/python/2.7.1/Frameworks/Python.framework/Versions/2.7/include/python2.7 -
@phoebebright
phoebebright / pyqtproblem2
Created January 1, 2011 10:47
Further problem installing pyqt with brew
The-Black-Book-2:Formula phoebebr$ brew install pyqt
==> Downloading http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-4.8.2.tar.gz
File already downloaded and cached to /Users/phoebebr/Library/Caches/Homebrew
==> python2.7 ./configure.py --confirm-license --bindir=/usr/local/Cellar/pyqt/4.8.2/bin --destdir=/usr/local/Cellar/pyqt/4.8.2/lib/python --sipdi
==> make
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fPIC -Wall -W -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.7.1/mkspecs/macx-g++ -I. -I/usr/local/Cellar/qt/4.7.1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtCore -I/usr/local/Cellar/qt/4.7.1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtGui -I/usr/local/Cellar/qt/4.7.1/lib/QtDeclarative.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtDeclarative -I/usr/local/Cellar/qt/4.7.1/include -I/usr/local/Cellar/sip/4.12/include -I
@phoebebright
phoebebright / brew doctor
Created December 2, 2011 12:52
Error with brew install memchached
Phoebe-Brights-iMac:~ phoebebr$ brew doctor
Your system is raring to brew.
@phoebebright
phoebebright / index.html
Created July 5, 2012 12:27
D3 axis scale simple example
<html>
<head>
<title>D3 Axis Example</title>
<script src="http://d3js.org/d3.v2.js"></script>
</head>
<body>
<script>
var width = 400,
@phoebebright
phoebebright / index.html
Created July 6, 2012 09:14
d3 sortKeys in nest function
<html>
<head>
<title>D3 Simple Nest Example</title>
<script src="http://d3js.org/d3.v2.js"></script>
</head>
<body>
<script>
@phoebebright
phoebebright / index.html
Created July 12, 2012 09:01
d3 nested nest from csv data
<html>
<head>
<title>D3 Nested Nest Example</title>
<script src="http://d3js.org/d3.v2.js"></script>
</head>
<body>
<script>
@phoebebright
phoebebright / index.html
Created July 12, 2012 16:57
Change data in place?
<html>
<head>
<title>D3 Rescale Example</title>
<script src="http://d3js.org/d3.v2.js"></script>
<style type="text/css">
.axis path,
.axis line {
fill: none;
@phoebebright
phoebebright / colorbrewer.js
Created July 17, 2012 19:15
d3 rescale axis - values to percentages and visa versa
/*
* This product includes color specifications and designs developed by Cynthia
* Brewer (http://colorbrewer.org/).
*/
var colorbrewer = {
YlGn:{3:["rgb(247,252,185)","rgb(173,221,142)","rgb(49,163,84)"],4:["rgb(255,255,204)","rgb(194,230,153)","rgb(120,198,121)","rgb(35,132,67)"],5:["rgb(255,255,204)","rgb(194,230,153)","rgb(120,198,121)","rgb(49,163,84)","rgb(0,104,55)"],6:["rgb(255,255,204)","rgb(217,240,163)","rgb(173,221,142)","rgb(120,198,121)","rgb(49,163,84)","rgb(0,104,55)"],7:["rgb(255,255,204)","rgb(217,240,163)","rgb(173,221,142)","rgb(120,198,121)","rgb(65,171,93)","rgb(35,132,67)","rgb(0,90,50)"],8:["rgb(255,255,229)","rgb(247,252,185)","rgb(217,240,163)","rgb(173,221,142)","rgb(120,198,121)","rgb(65,171,93)","rgb(35,132,67)","rgb(0,90,50)"],9:["rgb(255,255,229)","rgb(247,252,185)","rgb(217,240,163)","rgb(173,221,142)","rgb(120,198,121)","rgb(65,171,93)","rgb(35,132,67)","rgb(0,104,55)","rgb(0,69,41)"]},
YlGnBu:{3:["rgb(237,248,177)","rgb(127,205,187)","rgb(44,127,184)"],4:["rgb(255,255,204)
@phoebebright
phoebebright / data_project.csv
Created August 30, 2012 14:44
Treemap works in safari not firefox
id name priority who complexity planned time status outstanding variance
01/02/2012 T-024 Organisation list in directory MUST Joe Y 5 Complete 1.5
01/02/2012 T-015 Make term Commissions customisable MUST Natasha Y 6 Complete
01/02/2012 T-016 Comments popup on select rates MUST Mike Y 3 In Progress 1 0
01/02/2012 T-0169 Upgrade Centos Box MUST Joe Y 2 In Progress 2 -1 1
01/02/2012 T-013 Search in Documents on selected folder MUST Natasha Y 6 In Progress 1 0
01/02/2012 T-014 Separate Document system for LA and Legals MUST Joe Y 9 In Progress 7 3 -3
01/02/2012 T-017 Demo of Look and Feel of Documents front end MUST Natasha Y 5 In Progress 2.5 1 1
01/02/2012 T-021 Fix error where forum filename is greater than 100chars MUST Mike Y 4 Not Started 0
01/02/2012 T-025 Fix admin so structure of categories displayed MUST Mike Y 2.5 Complete 0.5