Skip to content

Instantly share code, notes, and snippets.

View gaubert's full-sized avatar

Guillaume Aubert gaubert

View GitHub Profile
@gaubert
gaubert / gist:5395645
Last active December 16, 2015 06:59
analysis

Namespaces compliance

Declare compliance with WMO CORE Metadata Profile

Could replace

@gaubert
gaubert / use -label
Last active December 11, 2015 10:08
Example of use of -label with Gmvault-1.7-beta on Linux
A) Without -label in search
------------------------
gmv@gmvault:~/old-versions/v1.7/bin$ ./gmvault sync xxxxxx@gmail.com -t custom -g "diptyque" -c no
Use gmvault-db located in /home/gmv/gmvault-db.
Disable deletion of emails that are in Gmvault db and not anymore in Gmail.
Authentication performed with Gmail XOAuth token.
@gaubert
gaubert / .gitconfig
Created July 27, 2012 14:36
.gitconfig
[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
@gaubert
gaubert / gist:3165715
Created July 23, 2012 19:37 — forked from ahankinson/gist:985173
Install WxPython 2.9 64-bit with Homebrew Python Framework install
# 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"

#Create bitbucket branch

##Create local branch

$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
  master
* sync
@gaubert
gaubert / gist:2688273
Created May 13, 2012 12:41 — forked from pithyless/gist:1208841
Install Python 2.7 (homebrew + pip + virtualenv) on Mac OS X Lion

Install Python

$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7

Symlinks...

@gaubert
gaubert / btree.py
Created December 12, 2011 13:37 — forked from teepark/btree.py
a pure-python B tree and B+ tree implementation
import bisect
import itertools
import operator
class _BNode(object):
__slots__ = ["tree", "contents", "children"]
def __init__(self, tree, contents=None, children=None):
self.tree = tree
@gaubert
gaubert / btree.py
Created November 29, 2011 10:23 — forked from teepark/btree.py
a pure-python B tree and B+ tree implementation
import bisect
import itertools
import operator
class _BNode(object):
__slots__ = ["tree", "contents", "children"]
def __init__(self, tree, contents=None, children=None):
self.tree = tree
@gaubert
gaubert / auto_install_pip_file
Created September 7, 2011 15:37
auto install pip file
wget https://bitbucket.org/pdubroy/pip/src/eb5e59a25dfb/getpip.py --no-check-certificate

DNS and DotCloud

In the following, replace example.net with your domain name. XXX.XXX.XXX.XXX is the IP of the reverse proxy.

DNS entries

Required DNS entries

example.net. 300 IN A XXX.XXX.XXX.XXX