I hereby claim:
- I am glyph on github.
- I am glyph (https://keybase.io/glyph) on keybase.
- I have a public key whose fingerprint is 06AB F638 E878 CD29 1264 18AB 7EC2 8125 0FBC 4A07
To claim this, I am signing this object:
from __future__ import print_function, unicode_literals | |
from AppKit import NSUserDefaults | |
defaults = NSUserDefaults.standardUserDefaults() | |
nsDictionary = defaults.persistentDomainForName_("com.apple.Terminal") | |
mutable = dict(nsDictionary) | |
mutable['Window Settings'] = dict([ | |
(k, dict(v, useOptionAsMetaKey=1)) |
from __future__ import print_function | |
import os, sys, pipes | |
import objc | |
from Foundation import NSObject | |
from CoreFoundation import ( | |
CFRunLoopRun, CFRunLoopStop, CFFileDescriptorCreate, | |
CFFileDescriptorCreateRunLoopSource, CFRunLoopAddSource, |
function foo() { | |
function bar() { | |
baz | |
} | |
} | |
function bar() { | |
} |
""" | |
This module implements Transport Layer Security (TLS) support for Twisted. It | |
requires U{PyOpenSSL <https://pypi.python.org/pypi/pyOpenSSL>}. | |
If you wish to establish a TLS connection, please use one of the following | |
APIs: | |
- SSL endpoints for L{servers | |
<twisted.internet.endpoints.SSL4ServerEndpoint>} and L{clients | |
<twisted.internet.endpoints.SSL4ClientEndpoint>} |
test |
(global-set-key | |
(kbd "<C-M-268632064>") | |
(lambda () | |
(interactive) | |
(ns-perform-service | |
"OmniFocus: Send to Inbox" | |
(if (region-active-p) | |
(buffer-substring-no-properties | |
(point) (mark)) | |
(format "file://%s" (buffer-file-name)))))) |
2014-05-24 06:36:05+0000 [DNSDatagramProtocol (UDP)] Unhandled Error | |
Traceback (most recent call last): | |
File "/srv/names/.virtualenvs/names/site-packages/twisted/internet/defer.py", line 139, in maybeDeferred | |
result = f(*args, **kw) | |
File "/srv/names/.virtualenvs/names/site-packages/twisted/names/common.py", line 81, in lookupAddress | |
return self._lookup(name, dns.IN, dns.A, timeout) | |
File "/srv/names/.virtualenvs/names/site-packages/twisted/names/resolve.py", line 79, in _lookup | |
d = self.resolvers[0].query(q, timeout) | |
File "/srv/names/.virtualenvs/names/site-packages/twisted/names/common.py", line 73, in query | |
return defer.maybeDeferred(method, query.name.name, timeout) |
I hereby claim:
To claim this, I am signing this object:
# on the injector API | |
@route("/v1.0/creation", ["POST"]) | |
def inject_create_error(self, request): | |
""" | |
""" | |
params = loads(request.content) | |
nova_tenant = self.session.data_for_api(self._nova_api) | |
criteria = params['criteria'] |
... | |
{ | |
"endpoints": [ | |
{ | |
"publicURL": "http://localhost:8900/mimicking/MyAPIMock-523f81/ORD/v3/248246335143936", | |
"region": "ORD", | |
"tenantId": "248246335143936" | |
} | |
], | |
"name": "TestResource", |