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
### Keybase proof | |
I hereby claim: | |
* I am offbyone on github. | |
* I am offby1 (https://keybase.io/offby1) on keybase. | |
* I have a public key whose fingerprint is ED93 1098 FE8B D192 1364 F4CB 2B2F 3374 EEC7 E866 | |
To claim this, I am signing this object: |
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
~/projects/ideas • pip install -U pip | |
Collecting pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-6.0.8-py2.py3-none-any.whl#md5=41e73fae2c86ba2270ff51c1d86f7e09 | |
Using cached pip-6.0.8-py2.py3-none-any.whl | |
Installing collected packages: pip | |
Found existing installation: pip 6.0.6 | |
Uninstalling pip-6.0.6: | |
Successfully uninstalled pip-6.0.6 | |
Rolling back uninstall of pip | |
Exception: |
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
"""Goals: | |
1. Easy matcher definitions from methods, without the class plumbing. | |
>>> from hamcrest.decorators import matcher | |
>>> @matcher() | |
... def checks_out(item): | |
... return item.checks_out() | |
... | |
>>> assert_that(value, checks_out()) |
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
# -*- ruby -*- | |
Vagrant::Config.run do |config| | |
# All Vagrant configuration is done here. For a detailed explanation | |
# and listing of configuration options, please view the documentation | |
# online. | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "base" | |
config.chef.cookbooks_path = "cookbooks" |
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
[INFO] ------------------------------------------------------------------------ | |
[ERROR] BUILD ERROR | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Failed to resolve artifact. | |
Missing: | |
---------- | |
1) com.codahale:shore:jar:0.2-SNAPSHOT | |
Try downloading the file manually from the project website. |
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
(py_api_proxy) $ vagrant reload | |
[default] Provisioning enabled with Vagrant::Provisioners::ChefSolo | |
[default] Attempting graceful shutdown of linux... | |
[default] Deleting any previously set forwarded ports... | |
[default] Forwarding ports... | |
[default] Forwarding "ssh": 22 on adapter #1 => 2222 | |
[default] Clearing previously set shared folders... | |
[default] Creating shared folders metadata... | |
[default] Booting VM... | |
[default] Waiting for VM to boot... |
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
diff -r 7315d1068287 -r 9534b00f6aba brcm-accounts-api/src/main/java/com/wesabe/api/accounts/analytics/TagHierarchyBuilder.java | |
--- a/brcm-accounts-api/src/main/java/com/wesabe/api/accounts/analytics/TagHierarchyBuilder.java Fri Jul 16 20:55:28 2010 -0600 | |
+++ b/brcm-accounts-api/src/main/java/com/wesabe/api/accounts/analytics/TagHierarchyBuilder.java Fri Jul 16 20:56:02 2010 -0600 | |
@@ -56,42 +56,64 @@ | |
private static BigDecimal FACTOR = new BigDecimal("10000"); | |
} | |
- public static enum HierarchyType implements Function<MonetarySummary, SumOfMoney>, Predicate<Txaction> { | |
- EARNINGS { | |
- @Override |
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
;; This buffer is for notes you don't want to save, and for Lisp evaluation. | |
;; If you want to create a file, visit that file with C-x C-f, | |
;; then enter the text in that file's own buffer. | |
INFO:root:Getting WSDL from file:///Users/crose/projects/aed/2366/crm/services/metadata.wsdl | |
DEBUG:suds.client:sending to (https://service.host/MSCrmServices/2007/MetadataService.asmx) | |
message: | |
<SOAP-ENV:Envelope xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schemas.microsoft.com/crm/2007/WebServices" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> | |
<SOAP-ENV:Header/> | |
<ns0:Body> |
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
class Login(): | |
@cherrypy.expose | |
def default(self, *args, **kwargs): | |
return dict_to_html(cherrypy.request._get_dict()) | |
def makeRoutes(): | |
d = cherrypy.dispatch.RoutesDispatcher() | |
d.mapper.explicit = False | |
d.connect(name='login', route='login', controller=Login()) |
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
crose@chris-rose (webservices) $ curl -v http://localhost:8000/login/ | |
* About to connect() to localhost port 8000 (#0) | |
* Trying ::1... Connection refused | |
* Trying fe80::1... Connection refused | |
* Trying 127.0.0.1... connected | |
* Connected to localhost (127.0.0.1) port 8000 (#0) | |
> GET /login/ HTTP/1.1 | |
> User-Agent: curl/7.21.0 (x86_64-apple-darwin10.4.0) libcurl/7.21.0 OpenSSL/0.9.8l zlib/1.2.3 | |
> Host: localhost:8000 | |
> Accept: */* |
OlderNewer