Skip to content

Instantly share code, notes, and snippets.

On vacation

José Luis Lafuente jlesquembre

On vacation
Block or report user

Report or block jlesquembre

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jlesquembre on github.
  • I am jlesquembre ( on keybase.
  • I have a public key whose fingerprint is 861E 4236 005A CB35 220D 8147 09AF B79F 061A CD6C

To claim this, I am signing this object:

jlesquembre / pew.PKGBUILD
Last active Aug 29, 2015
archlinux PKGBUILD for pew
# $Id$
# Maintainer: José Luis Lafuente <>
# Contributor: Arthur Vuillard <>
pkgdesc="Python Env Wrapper, a set of tools to manage multiple virtual environments"
jlesquembre / gist:9994132
Last active Aug 29, 2015
Descriptors pyug
View gist:9994132
"metadata": {
"celltoolbar": "Slideshow",
"name": "",
"signature": "sha256:b392c503122c5ac4b5ed7cb8d3ce0d2ba9fce4f4d8596d0ed399df0e06bc778a"
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
jlesquembre /
Created Oct 20, 2012
Serve static files and modify headers
from twisted.web.server import Site
from twisted.web.static import File
from twisted.internet import reactor
static_path = '/path/to/folder'
class ResponseFile(File):
def render(self, request):
jlesquembre / postmkvirtualenv
Created Mar 15, 2012
Creates a symlink to PyQt libraries when a new virtual environment is created
View postmkvirtualenv
# This hook is run after a new virtualenv is activated.
# ~/.virtualenvs/postmkvirtualenv
libs=( PyQt4 )
python_version=python$(python -c "import sys; print (str(sys.version_info[0])+'.'+str(sys.version_info[1]))")
var=( $(which -a $python_version) )
get_python_lib_cmd="from distutils.sysconfig import get_python_lib; print (get_python_lib())"
jlesquembre /
Created Oct 19, 2011
Creates a Debian binary package for "Remote Admin"
# Prepare folders for debian repository
if [ -d "$FOLDER" ]; then
rm -rf $FOLDER
mkdir -p $FOLDER
echo "remoteadmin optional misc" > $FOLDER/override
jlesquembre /
Created Oct 19, 2011
Install the prerequisites to build "Remote Admin" in Debian
echo "deb ./" >> /etc/apt/sources.list
echo "deb squeeze-backports main" >> /etc/apt/sources.list
aptitude update
aptitude install witty git
aptitude -t squeeze-backports install cmake
You can’t perform that action at this time.