Skip to content

Instantly share code, notes, and snippets.

View bancek's full-sized avatar

Luka Zakrajšek bancek

  • Ljubljana, Slovenia
View GitHub Profile
@anthonyrisinger
anthonyrisinger / sockfun.py
Created June 25, 2015 19:46
uWSGI, Python, sockets, ...
# 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
@miklschmidt
miklschmidt / rn-cli.config.js
Created September 22, 2016 14:13
React Native typescript configuration
var path = require('path');
module.exports = {
getAssetExts() {
return [
'ts',
'tsx'
]
},
getTransformModulePath() {
return path.join(__dirname, 'transformer.js');