Skip to content

Instantly share code, notes, and snippets.

Gautier P bagage

  • France
Block or report user

Report or block bagage

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
bagage / _liblinphone
Created Mar 8, 2017
autocompletion zsh/bash linphone
View _liblinphone
# Copyright (C) 2012 Belledonne Comunications, Grenoble, France
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
View elevation-responsive.html
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
bagage / .lessfilter
Last active May 17, 2017
.lessfilter for various input files (code highlighting, image and binary files display, …).
View .lessfilter
#!/bin/bash -x
# input preprocessor for less
function cmdexist() {
which "$1" >/dev/null
function colorize() {
if which pygmentize >/dev/null ; then
pygmentize -g "$1"
bagage /
Last active Jan 8, 2019
Torrent and magnet manager for (V2)
# modification of an initial version from uwe-schwarz:
# license: WTFPL
u="$(grep ^username= ~/.tcrc | cut -d= -f 2)"
p="$(grep ^password= ~/.tcrc | cut -d= -f 2)"
target="$(grep ^target= ~/.tcrc | cut -d= -f 2)"
View gist:996f344ded4b2290582e
➜ brew install gtk+ --without-x11
==> Installing gtk+ dependency: cairo
==> Downloading
Already downloaded: /Library/Caches/Homebrew/cairo-1.14.0.yosemite.bottle.1.tar.gz
==> Pouring cairo-1.14.0.yosemite.bottle.1.tar.gz
🍺 /usr/local/Cellar/cairo/1.14.0: 106 files, 6.4M
==> Installing gtk+
==> Downloading
Already downloaded: /Library/Caches/Homebrew/gtk+-2.24.25.tar.xz
bagage / pre-receive
Last active Nov 27, 2018
Submodule commit checker pre-receive server-side git hook
View pre-receive
# Service side git pre-receive hook
# Written by Gautier Pelloux-Prayer <>, 2014
# Public domain
# Simply put this script in server git bare repository <your-git-folder>/hooks and
# apply 'chmod +x pre-receive'.
import xml.etree.ElementTree as ET
from sys import argv
from os.path import splitext
import xml.dom.minidom as minidom
import random
from math import sin, cos, pi, atan, acos
import unicodedata
import re
bagage /
Last active Aug 29, 2015
Make Android GUI localizable (move hardcoded android:text to res/values/string.xml and rename in .java)
#!/usr/bin/env python3
import sys
import readline
import re
import fileinput
from bs4 import BeautifulSoup
except Exception as e:
print("Please install BeautifulSoup: pip3 install beautifulsoup4")
You can’t perform that action at this time.