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
var path = require('path'); | |
module.exports = { | |
getAssetExts() { | |
return [ | |
'ts', | |
'tsx' | |
] | |
}, | |
getTransformModulePath() { | |
return path.join(__dirname, 'transformer.js'); |
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
# encoding: utf8 | |
""" | |
save this as sockfun.py, then:: | |
git clone https://github.com/unbit/uwsgi.git && cd uwsgi | |
python2 setup.cpyext.py build | |
PYTHONPATH=build/lib.linux-x86_64-2.7 python2 sockfun.py | |
""" | |
from __future__ import print_function |