I hereby claim:
- I am jbub on github.
- I am jbub (https://keybase.io/jbub) on keybase.
- I have a public key whose fingerprint is FCCB FA86 B25F 15C7 7EA7 BC7A E3ED AE55 0054 640D
To claim this, I am signing this object:
| SELECT string_agg(DISTINCT email, ',') FROM orders_order WHERE date_add >= '2013-12-20' |
| # compilers flags | |
| export CFLAGS=-Qunused-arguments | |
| export CPPFLAGS=-Qunused-arguments | |
| export ARCHFLAGS=-Wunused-command-line-argument-hard-error-in-future | |
| # passing -E options to respect environment variables | |
| sudo -E pip install -U lxml numpy |
| import json | |
| import pkg_resources | |
| packages = {} | |
| for pkg in pkg_resources.working_set: | |
| packages[pkg.key.lower()] = { | |
| 'requires': [req.project_name.lower() for req in pkg.requires()], | |
| 'required_by': [], |
I hereby claim:
To claim this, I am signing this object:
| from pipeline.compressors import CompressorBase | |
| class CSSMinCompressor(CompressorBase): | |
| def compress_css(self, css): | |
| from cssmin import cssmin | |
| return cssmin(css) |
| find . -name "*.pyc" -exec rm {} \; |
| git remote set-url origin git://new.url.here |
| sudo killall -HUP mDNSResponder |
| # document.domain is commented by default, change it to our domain and uncomment it, this will edit file in place | |
| sed -i "s/\/\/ document.domain = 'moxiecode.com';/document.domain = 'example.com';/" path/to/tiny_mce/tiny_mce_popup.js | |
| # note that in order to get this working on os x, you must pass argument to -i | |
| # this will save unedited copy of tiny_mce_popup.js as tiny_mce_popup.js.tmp | |
| sed -i ".tmp" "s/\/\/ document.domain = 'moxiecode.com';/document.domain = 'example.com';/" path/to/tiny_mce/tiny_mce_popup.js |
| # dump database dbname to dbname.dump | |
| pg_dump -Fc --data-only --disable-triggers dbname > dbname.dump | |
| # restore database dbname to dbname from dbname.dump | |
| pg_restore -U username -h hostname.com --disable-triggers -d dbname dbname.dump |