Skip to content

Instantly share code, notes, and snippets.

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/nose-0.10.4-py2.5.egg/nose/suite.py", line 172, in run
self.tearDown()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/nose-0.10.4-py2.5.egg/nose/suite.py", line 261, in tearDown
self.teardownContext(ancestor)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/nose-0.10.4-py2.5.egg/nose/suite.py", line 278, in teardownContext
try_run(context, names)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/nose-0.10.4-py2.5.egg/nose/util.py", line 451, in try_run
return func(obj)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/windmill-1.1.1-py2.5.egg/windmill/authoring/__init__.py", line 66, in teardown_module
2009-05-07 23:27:26.943 Safari[26106] CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0x4003, name = 'com.apple.Safari.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2009-05-07 23:27:26.944 Safari[26106] CFLog (99): CFMessagePortCreateLocal(): failed to name Mach port (com.apple.Safari.ServiceProvider)
How to make standalone IE6 work
Note: You can not run standalone IE6 if IE7 is currently open. You MUST close all IE7 windows.
Make a file called config.py and save it to your current directory.
IE_BINARY = "C:\Program Files\<Put your directory here>\iexplore.exe"
In a command window:
set WINDMILL_CONFIG_FILE="config.py"
windmill -x shell
@mcolyer
mcolyer / updateclosing.js
Created May 31, 2014 14:50
My function for Google App Script to grab tickers
function updateClosingPrice() {
var spreadsheet = SpreadsheetApp.getActiveSpreadsheet();
var positions = spreadsheet.getRangeByName('positions')
var values = positions.getValues();
var numRows = positions.getNumRows();
// Collect all of the symbols
var symbols = [];
for (var i = 0; i <= numRows - 1; i++) {
var row = values[i];