Skip to content

Instantly share code, notes, and snippets.

View jmaupetit's full-sized avatar

Julien Maupetit jmaupetit

View GitHub Profile
@jmaupetit
jmaupetit / git_remove_history.sh
Created September 26, 2013 21:25
Remove git history and preserve submodules
# Taken from http://stackoverflow.com/a/13102849
git checkout --orphan newBranch
git add -A # Add all files and commit them
git commit
git branch -D master # Deletes the master branch
git branch -m master # Rename the current branch to master
/**
* Casper script to restart Alwaysdata processes.
*
* Usage:
* $ casperjs kill.js email@example.com mysecretpassword
*/
var casper = require('casper').create();
casper.start("https://admin.alwaysdata.com/login/");
#!/usr/bin/eval PYTHON_VERSION=2.6 PYTHONPATH=/your/python/path/ python
import os
import sys
_PROJECT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, _PROJECT_DIR)
sys.path.insert(0, os.path.dirname(_PROJECT_DIR))
_PROJECT_NAME = _PROJECT_DIR.split('/')[-1]
os.environ['DJANGO_SETTINGS_MODULE'] = "%s.settings" % _PROJECT_NAME
@jmaupetit
jmaupetit / 20121015_DjangAuvergne_Meetup.md
Created October 15, 2012 22:30
Compte-Rendu du premier Meetup DjangAuvergne

Compte-Rendu du premier Meetup DjangAuvergne

  • Date : 15 octobre 2012
  • Lieu : Ness Pub de Clermont-Ferrand
  • Etaient présents (2 poneys motivés) : Alexis Couronne (@skitoo) et Julien Maupetit (@julienmaupetit)

Les attentes de la communauté

Lors de cette première réunion, l'ordre du jour était de définir ce que chacun attendait de la communauté Django Auvergnate.

Keybase proof

I hereby claim:

  • I am jmaupetit on github.
  • I am jmaupetit (https://keybase.io/jmaupetit) on keybase.
  • I have a public key whose fingerprint is 0A75 D5AE C0B6 FD1B 7567 A86F D342 935F 09A4 B0CF

To claim this, I am signing this object: