Skip to content

Instantly share code, notes, and snippets.

@bussiere
bussiere / story
Created December 22, 2019 15:19
story.txt
Generating story...
You are Aaylin, a peasant from the province of Unirakon. You have a dusty shovel
and a shovel.
You wake up at the break of dawn and start toiling in the fields. For a while,
you have wanted to run away. You see that your life is meaningless and you want
nothing more than to be free. But you know that if you do so, you will no longer
be able to work the land as you once did
@bussiere
bussiere / skynetcuisine
Created November 12, 2019 14:02
skynetcuisine
film de cuisine francais mais avec les collabos humain de terminator qui collaborent avec skynet ...
Delete all keys from all Redis databases:
$ redis-cli FLUSHALL
Delete all keys of the currently selected Redis database:
$ redis-cli FLUSHDB
Delete all keys of the specified Redis database:
$ redis-cli -n <database_number> FLUSHDB
@bussiere
bussiere / graphql-go-mongodb-example.go
Created November 1, 2019 17:28 — forked from aquiseb/graphql-go-mongodb-example.go
Minimal example of GraphQL Golang and MongoDB playing nicely together. Edit
// Embedded in this article https://medium.com/p/c98e491015b6
package main
import (
"fmt"
"log"
"net/http"
"time"
"github.com/graph-gophers/graphql-go"
@bussiere
bussiere / Règles.txt
Created October 26, 2019 16:56
Regle du salon bon plan
Petite regle du salon bon plan
1 : Tout lien sponsorisé doit être précédé de la mention [Sponso]
@bussiere
bussiere / gist:2a37b8575716a09c139f5bf88a95ef3c
Created October 26, 2019 10:04
recycle livre achat livres amazon
Il est nécessaire de remettre chaque acte de consommation en question. Pour cela, il faut se poser trois questions : **comment (qui a fait ce produit et avec quoi), qui est impacté (positivement ou négativement), et qui est le bénéficiaire final.** En reposant sur un modèle économique de fraude fiscale, Amazon tue petit à petit les commerces de proximité, dont les librairies font partie. Alors qu’il y a quelques années, j’achetais 15 livres tous les deux mois sur Amazon, j’ai voulu changer cette habitude. **Mais est-ce si facile de se passer d’Amazon et d’acheter éthique** ?
# Amazon, La Facilité
Amazon, *ce sont des tueurs*. Au sens propre, comme au sens figuré. D’abord au sens figuré : quiconque a déjà commandé un produit chez eux, pourra le confirmer : c’est rapide, facile, et très souvent imbattable niveau prix. Tellement pratique que j’ai plusieurs amis qui commandent TOUTE LEUR VIE sur Amazon, et ne jurent que par ça. ‘Ta vie en 3 clics’.
Le problème, c’est que pour être si efficace, Amazon oublie
Games shown (in order of appearance): Zelda: Ocarina of Time, Dark Souls, Final Fantasy X, Portal, Cave Story, Volgarr the Viking, Owlboy, Undertale, Momodora: Reverie Under the Moonlight, Paper Mario: Thousand Year Door, Punch-Out!!, Kingdom Hearts 2, Metroid Prime, Dark Souls 2, Binding of Isaac: Rebirth, Super Ghouls n' Ghosts, Super Metroid, God of War 2, World of Warcraft, Castle Crashers, Shovel Knight, Metal Gear Rising Revengeance, Braid, Zelda: Skyward Sword, Tony Hawk Underground, Splatoon, Banjo-Kazooie, Batman: Arkham City, Axiom Verge, Shadow Warrior 2, Shadow fo the Colossus, Enter The Gungeon, Mega Man X, Donkey Kong Country 2, Pokemon Gold, Super Mario RPG, Rayman Origins, Titan Souls, Guacamelee, Furi, Noitu Love: Devolution, Super Mario World, Donkey Kong Country, Donkey Kong 64, Bloodborne, Wings of Vi, I Wanna Be The Guy, Rogue Legacy, Kirby Superstar, Tiny Barbarian, Yoshi's Woolly World, Ori and the Blind Forest, Star Fox 64, Hyper Light Drifter, Super Mario 64
@bussiere
bussiere / ipv6
Created October 17, 2019 13:01
ipv6 browser
http://[1080:0:0:0:8:800:200C:417A]:8888/index.html
mkdir /mnt/ramdisk
Then use the mount command to create a RAM disk.
mount -t [TYPE] -o size=[SIZE] [FSTYPE] [MOUNTPOINT]
Substitute the following attirbutes for your own values:
[TYPE] is the type of RAM disk to use; either tmpfs or ramfs.
[SIZE] is the size to use for the file system. Remember that ramfs does not have a physical limit and is specified as a starting size.
[FSTYPE] is the type of RAM disk to use; either tmpfs, ramfs, ext4, etc.
Example:
@bussiere
bussiere / protontrick.txt
Created June 29, 2019 14:34
protontrick on flatpack steam
export STEAM_DIR=/home/bussiere/.var/app/com.valvesoftware.Steam/.local/share/Steam