Skip to content

Instantly share code, notes, and snippets.

La notion de hub dans le jeu vidéo pouvant s'apparenter a un cercle de confort dans lequel le joueur est a l'abris et se met
"en pause" de l'aventure, il peut etre interessant de changer ce sentiment (en detruisant le hub, en faisant varier l'eclairage
du hub, ou en le rendant de plus en plus inquietant, voire de le rendre de moins en moins profitable jusqu'a le rendre abusif
(dans le prix des marchands ou avec une musique devenant de plus en plus glauque ou penible) pour voir si le joueur le
quittera).
The hub of a video game could be see as a circle of comfort, where the player keep itself safe from the video game,
it could be interesting to change the hub to make it more scary or annoying, even make a hub
that progressively abuse the player
package Person;
sub new
{
my $class = shift;
my $self = {
_firstName => shift,
_lastName => shift,
_ssn => shift,
};
# Print all the values just for clarification.
@bussiere
bussiere / cloc
Created June 15, 2014 14:58
cloc from my workspace
--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
Assembly 1862 73047 45282 511247
Python 3099 106598 179852 482785
Javascript 2136 89115 188521 406146
HTML 2317 61149 12515 404984
C++ 75 15344 6871 195024
C 336 22765 63135 172989
Erlang 779 19918 25307 139139
@bussiere
bussiere / pleskrestore
Created September 3, 2014 12:50
Plesk restore backup
/opt/psa/bin/pleskrestore restore backup_info_1408170535.xml -level server
adduser bussiere
usermod -aG sudo bussiere
WARNING!
Some problems are found during install or upgrade horde database, please re-run /usr/share/psa-pear/pear/horde-db-migrate --config=/usr/share/psa-pear/pear.conf imp(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log)
Continue...
[ INFO ] Migrating DB up.
[ INFO ] Current turba schema version: 11
[ INFO ] Ending turba schema version: 11
Segmentation fault
@bussiere
bussiere / CSS-Glitched-Text.markdown
Created September 10, 2014 14:25
A Pen by bussiere.
package main
import (
"github.com/go-martini/martini"
"fmt"
"github.com/codegangsta/martini-contrib/render"
"github.com/gorilla/schema"
"net/http"
)
'''
A script to notify about Steam game prices
If the specified game is on sale it will email you.
If the game is on sale below a specified amount it will
tell you to buy the game because GabeN owns your wallet
'''
import argparse
import sys
@bussiere
bussiere / ANNA
Last active August 29, 2015 14:07
How to encode binary secretly in a text :
Each blank space is a zero and each space with punctuation is a 1.
Example :
Effectively, this things, works well !
1 0 1 0 1 = 21
Could be a nice way to hide an id in a text.