This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit | |
msg = self.format(record) | |
File "/usr/lib/python2.7/logging/__init__.py", line 724, in format | |
return fmt.format(record) | |
File "/usr/lib/python2.7/logging/__init__.py", line 464, in format | |
record.message = record.getMessage() | |
File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage | |
msg = msg % self.args | |
TypeError: not all arguments converted during string formatting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- auto-pipeline-locking: false | |
auto-pipeline-scheduling: true | |
cron-spec: '' | |
environment-vars: {} | |
label-template: ${COUNT} | |
materials: | |
- blacklist: [] | |
branch: master | |
destination-dir: '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the active virtualenv | |
# * the branch/status of the current git repository | |
# * the return value of the previous command | |
# * colors optimized for iTerm2 color preset Pastel (Dark Background) | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> # Dingus | |
>>> my_dingus = dingus.Dingus(some_attribute="value", | |
... some_method__returns="calculated value") | |
>>> assertEqual("calculated value", my_dingus.some_method()) | |
>>> assertEqual("value", my_dingus.some_attribute) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Read instructions here: http://www.alexconrad.org/2011/12/highlight-code-with-bloggers-dynamic.html | |
(function() { | |
try { | |
prettyPrint(); | |
} catch(e) { | |
var scriptId = 'prettyPrinter'; | |
if (document.getElementById(scriptId) === null) { | |
var elem = document.createElement('SCRIPT'); | |
elem.id = scriptId; | |
elem.onload = function() { |