Skip to content

Instantly share code, notes, and snippets.

View tleguern's full-sized avatar
🏠
Working from home

Tristan Le Guern tleguern

🏠
Working from home
View GitHub Profile
@tleguern
tleguern / dances.txt
Created September 14, 2015 09:05
Dance from Britanny :)
Compte
======
[ 0] Aéroplane
[ 0] An dro
[ 0] An dro de Kersolan
[ 0] An-dro retourné
[ 0] Avant quatre de Paimpol
[ 0] Avant-deux de Bazouges-la-Pérouse
[ 0] Avant-deux de Nazareth
@tleguern
tleguern / danstro.txt
Created September 14, 2015 09:03
Dañs Tro structures
Ton simpl
[:A|B:][:C|D:]
Ton doubl
[:A|B:][:C|D|E|F:]
[:A|B:][:A|C|D|B:]
Ton doubl doubl
[:A|B:][:C|D|E|F:][:G|H|I|J:]
@tleguern
tleguern / ☁.c
Created March 27, 2014 13:15
#include <stdio.h>
int main(void) {
printf("☁\n");
return 0;
}
@tleguern
tleguern / nethack_release.txt
Created December 18, 2012 16:13
Releases of NetHack and its predecessor Hack, with the date and a link to the annoucement, when I found them. Some timestamps might be wrong.
17-Dec-84 19:26:34 Hack 1.0
21-Jan-85 21:44:28 Hack 1.0.1
01-Apr-85 22:31:25 Hack 1.0.2
23-Jul-85 16:24:17 EDT Hack 1.0.3
28-Jul-87 NetHack 1.3d
15-Aug-87 NetHack 1.4f
03-Dec-87 Nethack 2.2a
09-Apr-88 18:45:41 GMT Nethack 2.3e
24-Jul-89 Nethack 3.0.0
03-Aug-89 Nethack 3.0.1 [Announcement][1]
# change postgresql template1 db encoding to utf8 (unicode) by dropping it and recreating from template0
UPDATE pg_database SET datistemplate=false WHERE datname='template1';
DROP DATABASE template1;
CREATE DATABASE template1 WITH template=template0 encoding='UTF8' LC_COLLATE='fr_FR.UTF8' LC_CTYPE='fr_FR.UTF8';
UPDATE pg_database SET datistemplate=true WHERE datname='template1';