Skip to content

Instantly share code, notes, and snippets.

View emersion's full-sized avatar

Simon Ser emersion

View GitHub Profile
@emersion
emersion / list-contrib.sh
Created June 15, 2014 12:07
List contributors of a repo
#/bin/bash
git log --format='%aN <%aE>' | awk '{arr[$0]++} END{for (i in arr){print arr[i], i;}}' | sort -rn | cut -d\ -f2-
@emersion
emersion / gitlab-raspberrypi.sh
Last active December 1, 2016 11:26
Gitlab install on Raspberrypi (cross-compiling)
# Gitlab install instructions: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md
# Cross-compiling on Rpi: https://raspberrypi.stackexchange.com/questions/1/how-do-i-build-a-gcc-4-7-toolchain-for-cross-compiling
apt-get update -y
apt-get upgrade -y
apt-get install -y sudo
apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server redis-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev logrotate
apt-get install -y git-core
@emersion
emersion / seenthis.json
Created January 20, 2014 19:37
Seenthis app manifest. Rename this file to seenthis.webapp
{
"name": "Seenthis",
"description": "Du short-blogging sans limite de caractères. De la recommandation de liens. Des automatismes pour rédiger facilement vos messages. Des forums sous chaque billet. De la veille d’actualité. Une thématisation avancée.",
"launch_path": "/",
"icons": {
"128": "/img/icon-128.png"
},
"developer": {
"name": "Seenthis",
"url": "http://seenthis.net"
@emersion
emersion / main-window.js
Last active December 18, 2015 13:19
Create a basic window in Symbiose
//Creation de la fenetre
var $window = $.w.window.main({
title: 'Test',
resizable: false,
icon: 'status/error'
});
//Definition de son contenu
var $windowContent = $window.window('content');
$windowContent.html('<p>Hello World !</p>');
@emersion
emersion / kegtux-happy-end.md
Last active December 18, 2015 05:09
L'e-mail envoyé par Kegtux lors de sa fermeture.

Fermeture de KegTux imminente !

Bonjour,

Pour ceux qui n'ont pas encore appris la nouvelle, je vous invite à lire ceci kegtux.org, sachez que nous allons fermer Kegtux dans le mois qui vient. La fermeture se fera en deux temps :

  • Fermeture du service Mail et XMPP le 28 Juin
  • Fermeture du service Web / SQL le 15 juin
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>NRJ Web Radio List</title>
<link>http://www.nrj.fr</link>
<item>
<title>NRJ</title>
<enclosure url="http://mp3.live.tv-radio.com/nrj/all/nrj_113225.mp3" type="audio/mpeg" />
<image>http://media.nrj.fr/webradio_logo/120x120/2011/02/nrj_player58384.png</image>
<guid>http://play.nrj.fr/nrj/nrj.html</guid>