Skip to content

Instantly share code, notes, and snippets.

View carlashley's full-sized avatar

Carl carlashley

View GitHub Profile
#!/usr/bin/python
import objc, CoreFoundation, Foundation, sys
class attrdict(dict):
__getattr__ = dict.__getitem__
__setattr__ = dict.__setitem__
NetFS = attrdict()
# Can cheat and provide 'None' for the identifier, it'll just use frameworkPath instead