Skip to content

Instantly share code, notes, and snippets.

View yvangodard's full-sized avatar

Yvan GODARD yvangodard

View GitHub Profile

Keybase proof

I hereby claim:

  • I am yvangodard on github.
  • I am yvangodard (https://keybase.io/yvangodard) on keybase.
  • I have a public key whose fingerprint is F401 04D1 35AB B9EB B7EC DAAB AFCC BCAD BD1A 8D50

To claim this, I am signing this object:

@yvangodard
yvangodard / python27_on_debian.sh
Created April 10, 2016 15:58 — forked from lukaslundgren/python27_on_debian.sh
How to install python 2.7 on debian
sudo apt-get install build-essential libsqlite3-dev zlib1g-dev libncurses5-dev libgdbm-dev libbz2-dev libreadline5-dev libssl-dev libdb-dev
wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz
tar -xzf Python-2.7.3.tgz
cd Python-2.7.3
./configure --prefix=/usr --enable-shared
make
sudo make install
cd ..
Verifying that +yvangodard is my blockchain ID. https://onename.com/yvangodard
@yvangodard
yvangodard / patch_dia.sh
Last active August 29, 2015 14:27
Patch Dia with new bin (https://goo.gl/EalzOG)
#!/bin/sh
#
# Author: Yvan GODARD <godardyvan@gmail.com>
# Ce script applique le patch http://goo.gl/RSQifn
# Le script doit être exécuté par root
[[ `whoami` != 'root' ]] && echo "Ce script doit être utilisé par le compte root. Utilisez 'sudo' si besoin." && exit 1
# Variable emplacement dia - à modifier si vous stockez Dia ailleurs
diaPath="/Applications/Dia.app"
@yvangodard
yvangodard / dia_bin
Created August 14, 2015 18:19
Dia Mac bin file patched to work on OS 10.10.x
#!/bin/sh
#
# Author: Aaron Voisine <aaron@voisine.org>
# Modifications:
# Michael Wybrow <mjwybrow@users.sourceforge.net>
# Jean-Olivier Irisson <jo.irisson@gmail.com>
# Steffen Macke <sdteffen@sdteffen.de>
CWD="`(cd \"\`dirname \\\"$0\\\"\`\"; echo \"$PWD\")`"
# e.g. /Applications/Dia.app/Contents/Resources/bin