Skip to content

Instantly share code, notes, and snippets.

View kuhess's full-sized avatar

Quentin Suire kuhess

View GitHub Profile
@kuhess
kuhess / css2sty.py
Last active November 25, 2021 22:31
Font-Awesome css to XeLaTeX mapping package (based on the work of sway https://gist.github.com/sway/3101743)
#!/usr/local/bin/python
# -*- coding: utf-8 -*-
#
# This script gets the UTF-8 codes of the icons from the font-awesome.css and write a LaTeX mapping table in fontawesome.sty
# To use it, it must be placed at the root of the Font-Awesome repository.
#
# To use the generated .sty, you just have to put \usepackage{fontawesome} in your document
# Then, all the font-awesome symbols can be used with commands like \iconGithubAlt{} for the icon-github-alt
#
# To make the compiler able to find this package, you have two solutions:
MAVEN_OPTS="$MAVEN_OPTS -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"
@kuhess
kuhess / bp.sh
Created December 18, 2012 14:00
#!/bin/bash
###################
# Barbie Powaaa ! #
###################
# Ce script n'a aucun but, excepté de rendre votre session Gnome 2 la plus jolie possible ...
# Premier lancement sauvegarde
# deuxieme lancement modification