Skip to content

Instantly share code, notes, and snippets.

View jibaku's full-sized avatar

Fabien Schwob jibaku

View GitHub Profile

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@jibaku
jibaku / install-osx-dev.sh
Last active July 1, 2021 16:18
Install OSX as dev
# Install xcode and brew
xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap caskroom/cask
# code
brew install docker docker-compose docker-machine docker-machine-driver-xhyve
brew install git postgresql
brew install golang
@jibaku
jibaku / gist:c98504f4a41b1f8c0450
Last active August 29, 2015 14:23
Utilisation de python 2.7 sur Alwaysdata

Actuellement, la version 2.7 de Python n'est pas encore supporté de manière officielle sur l'hébergeur Alwaysdata (que j'utilise pour héberger 85mm.fr par exemple).

Malgré tout, l'executable est disponible sur les machines d'alwaysdata, nous allons donc voir maintenant comment installer pip, virtualenv et quelques autres modules.

Installation de pip

Pour installer pip nous allons commencer par la récupérer sur le site du projet avec wget :

ssh% wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
@jibaku
jibaku / rename_cwddir_files.py
Created October 19, 2011 19:22
Rename files from handbrake
import os
files = os.listdir(os.getcwd())
for f in files:
num = int(f.split('-')[1].split(".")[0])
os.rename(f, "%02i. my series.mp4" % num)