name | mode | size |
---|---|---|
c | 040000 | |
clojure | 040000 | |
unsorted | 040000 | |
.gitignore | 100644 | 0 kb |
COPYING | 100644 | 1 kb |
README.markdown | 100644 | 1 kb |
Y_combinator.py | 100644 | 2 kb |
a.yml | 100644 | 2 kb |
a_an_checker | 100755 | 1 kb |
b.yml | 100644 | 2 kb |
c.yml | 100644 | 2 kb |
chain.py | 100644 | 2 kb |
chainaa.py | 100644 | |
compare_dicts.py | 100644 | 2 kb |
dupkeydict.py | 100644 | 3 kb |
hier.py | 100644 | 3 kb |
jquery.accordion.js | 100644 | 9 kb |
lazy_attributes.py | 100644 | 2 kb |
memoize_and_partialfuncs.py | 100644 | 3 kb |
modpath | 100755 | 2 kb |
piecewise_function.py | 100644 | 2 kb |
put_str.py | 100644 | 2 kb |
pydit | 100755 | 2 kb |
registry.py | 100644 | 5 kb |
splitsnippets.py | 100644 | 2 kb |
ts-sexp.py | 100644 | 2 kb |
unittest_skeleton.py | 100644 | 2 kb |
# An Index of Useful or Interesting Snippets in this Repository
- [Y_combinator.py](sandbox/Y_combinator.py) a python implementation of the Y combinator
- [compare_dicts.py](sandbox/compare_dicts.py) a python function for comparing dictionaries
- [lazy_attributes.py](sandbox/lazy_attributes.py) a python class for lazy loading attributes
- [memoize_and_partialfuncs.py](sandbox/memoize_and_partialfuncs.py) a python implementation of memoization and piecewise definition of functions
- [piecewise_function.py](sandbox/piecewise_function.py) a better implementation of piecewise functions
- [registry.py](sandbox/registry.py) an implementation of a registry pattern that allows the registered objects to be registered either by a "with" statement or a function call
- [pydit](sandbox/pydit) open a file specified by python module name (e.g. twisted.web.http) in vim
- [modpath](sandbox/modpath) print the path to a python module on stdout
- [a_an_checker](sandbox/a_an_checker) check English text for proper usage of a/an
All code is under the Apache Licence 2.0