In the following, replace example.net with your domain name. XXX.XXX.XXX.XXX is the IP of the reverse proxy.
example.net. 300 IN A XXX.XXX.XXX.XXX
""" | |
Multithreaded relay | |
Author: Guillaume Aubert (gaubert) <guillaume(dot)aubert(at)gmail(dot)com> | |
""" | |
import threading | |
import zmq |
wget https://bitbucket.org/pdubroy/pip/src/eb5e59a25dfb/getpip.py --no-check-certificate |
import bisect | |
import itertools | |
import operator | |
class _BNode(object): | |
__slots__ = ["tree", "contents", "children"] | |
def __init__(self, tree, contents=None, children=None): | |
self.tree = tree |
import bisect | |
import itertools | |
import operator | |
class _BNode(object): | |
__slots__ = ["tree", "contents", "children"] | |
def __init__(self, tree, contents=None, children=None): | |
self.tree = tree |
Install Python
$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...
#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync
# These instructions work for OS X 10.6 with homebrew pre-installed. | |
brew install python --framework | |
brew install gfortran | |
# install other dependencies through pip: | |
pip install numpy | |
# the regular pip build for matplotlib is b0rken, and it can't find the built-in libraries for OSX | |
export LDFLAGS="-L/usr/X11/lib" |
[user] | |
name = Guillaume Aubert | |
email = guillaume.aubert@gmail.com | |
[github] | |
# github user | |
user = gaubert | |
# you can also add your id token | |
#token = | |
[alias] | |
# aliases to mimics svn commands |
/* | |
* L.SingleTile uses L.ImageOverlay to display a single-tile WMS layer. | |
* url parameter must accept WMS-style width, height and bbox. | |
*/ | |
L.SingleTile = L.ImageOverlay.extend({ | |
defaultWmsParams: { | |
service: 'WMS', | |
request: 'GetMap', | |
version: '1.1.1', |