Skip to content

Instantly share code, notes, and snippets.

View almet's full-sized avatar
🗺️

Alexis Métaireau almet

🗺️
View GitHub Profile
@almet
almet / README.rst
Last active August 29, 2015 14:03 — forked from vleborgne/anxwall.py

Comment installer le tweetwall de la cantine ?

C'est parti:

$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
@almet
almet / README.rst
Last active August 29, 2015 14:05 — forked from Natim/README.rst

Ramp Up

The problem

The idea of the ramp up is to have a scalable way to activate a software feature slowly so that the scale is handled.

If you have let say 10 million users and you want to launch a most wanted feature.

#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author: Christophe Narbonne
# Contrib: Alexis Metaireau
from commands import getoutput
from multiprocessing import Process
from os import system
from time import sleep
@almet
almet / pelican-quickstart.py
Created August 11, 2011 21:39
Pelican-quickstart
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
import os, sys, argparse, string
from pelican import __version__
TEMPLATES={
'Makefile' : '''
PELICAN=$pelican
PELICANOPTS=$pelicanopts
@almet
almet / marketplace_installation.rst
Created September 26, 2012 10:17 — forked from tarekziade/marketplace_installation.rst
Installing Marketplace in Ubuntu 12.04
@almet
almet / marketplace_installation.rst
Created October 2, 2012 11:07 — forked from tarekziade/marketplace_installation.rst
Installing Marketplace in Ubuntu 12.04