Skip to content

Instantly share code, notes, and snippets.

View trivoallan's full-sized avatar
💭
♫ Join us now and share the software; You'll be free, hackers ♫

Tristan Rivoallan trivoallan

💭
♫ Join us now and share the software; You'll be free, hackers ♫
View GitHub Profile
#!/bin/bash
# TODO
# Script d'import :
# - Tagger les MP3 !
# - Réembrayer publicize Facebook quand c'est fini
GLOB=${1:=./*.mp3}
# Pour chaque fichier correspondant au glob
@trivoallan
trivoallan / ardour-ubuntu-1604.sh
Last active March 19, 2017 10:48
Ardour 5.8 installation
#!/bin/sh
git clone git://git.ardour.org/ardour/ardour.git
cd ardour
git checkout 5.8
sudo apt-get install \
libboost-all-dev \
libglibmm-2.4-dev \
libcurl3-dev \
libarchive-dev \

Keybase proof

I hereby claim:

  • I am trivoallan on github.
  • I am trivoallan (https://keybase.io/trivoallan) on keybase.
  • I have a public key whose fingerprint is 2E5B F8BF 34E6 089C EE6E 1846 5504 142D F352 D584

To claim this, I am signing this object:

Recipe: ws::default
* file[/etc/apache2/conf-available/vhost] action delete (up to date)
* template[/etc/apache2/conf-available/vhost.conf] action create
================================================================================
Error executing action `create` on resource 'template[/etc/apache2/conf-available/vhost.conf]'
================================================================================
Chef::Mixin::Template::TemplateError
------------------------------------

Données

  • Feuille de papier Antalys : 700x1000
  • Feuille de papier SRA3 : 320x450
  • Dessin 1 : 175x175
  • Dessin 2 : 290x395
  • Marge d'impression : 5
  • Dessin 1 et Dessin 2 sont à imprimer sur des papiers de type différent

Problème 1

ailleurs 100 / "Solar Skeletons" - "La démission du fantôme électrique" ("2015-08-03 00:00:00")
ailleurs 101 / "DJ Sainte-Rita Et DJ Holowestcaust" - "Mutant Lolcat" ("2015-09-24 00:00:00")
ailleurs 102 / "Glafouk" - "La Vie Est mi Belge" ("2015-10-09 00:00:00")
ailleurs 103 / "Sudori" - "Grosse Sieste Nerveuse" ("2015-10-15 00:00:00")
ailleurs 104 / "Sugai Ken" - "Zukume" ("2015-11-02 00:00:00")
ailleurs 105 / "Fourmi" - "Idylle du chiite" ("2015-11-09 00:00:00")
ailleurs 106 / " Exoterrism and leila" - "Tribalspacequest to psychic genocide" ("2015-11-16 00:00:00")
ailleurs 107 / " Eat Rabbit" - "I know you keep a stash under your SCT" ("2015-11-23 00:00:00")
ailleurs 108 / "Rature (s)" - "Urbaine Et Sauvage" ("2015-11-30 00:00:00")
ailleurs 109 / "Mr Marcaille" - "Steack Freaks" ("2015-12-07 00:00:00")
@trivoallan
trivoallan / gist:91f53c41111a4e097578
Created April 13, 2015 12:14
Date Ouiedire / MonsterK7
<?php
$date = mktime(0, 0, 0, 4, 20, 2015);
$date = strtotime('-7 years', $date);
$date = strtotime('-10 months', $date);
$date = strtotime('-5 days', $date);
var_dump(date('Y-m-d', $date));
http://20six.fr/fortu/
http://20six.fr/reno_pixelbd/
http://2x1.wopah.com
http://akiki.canalblog.com/
http://baptistevirot.tumblr.com/
http://bastienvives.blogspot.com/
http://bizarro.com
http://blog.chabd.com
http://blog.ryan-a.com/
http://blog.spellingmistakescostlives.com/
@trivoallan
trivoallan / defaults.php
Created January 21, 2015 10:05
En finir avec les E_NOTICE dues à l'accès à des clés de tableau inexistantes
<?php
// Ce tableau contient toutes les clés possibles
$defaults = array(
'key1' => null,
'key2' => 42,
'key3' => 'raoul'
);
// C'est le tableau qu'on récupére en entrée. Il contient un certain nombre des clés possibles
$input = array(
/*
* Aggrégation des données
*/
db.request.mapReduce(
function() {
key = this.idClient,
value = {
user_id: this.tagCommanderData.user_id,
dateCreated: this.dateCreated
};