I hereby claim:
- I am micaelbergeron on github.
- I am micaelbergeron (https://keybase.io/micaelbergeron) on keybase.
- I have a public key whose fingerprint is B3D2 775D A77A 1D3E 4FB9 86C7 C363 30BB C68D 7CD5
To claim this, I am signing this object:
/* | |
* encryption.cpp | |
* | |
* Created on: 2012-11-10 | |
* Author: Micael Bergeron | |
*/ | |
#include "encryption.h" | |
#include <sstream> |
static void Main(string[] args) | |
{ | |
const char VIDE = '_'; | |
try | |
{ | |
System.IO.StreamReader sr = new System.IO.StreamReader(@"C:\Users\Michael\Desktop\School\Pendu.txt"); | |
string line; | |
while ((line = sr.ReadLine()) != null) | |
{ |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
=== Salt-Stack tips and tricks | |
export SALT='salt-call --local' | |
Ça montre le résultat du rendering des highstate, en order d’exécution. | |
$SALT state.show_highstate --output=yaml | |
Quand on veut juste 1 SLS, on utilise ça |
public void saveJoueur(Joueur joueur) | |
{ | |
List<Joueur> equipe = new List<Joueur>(); | |
List<Joueur> equipeTemp = new List<Joueur>(); | |
equipe = lectureJoueurs(); | |
foreach (Joueur j in equipe) | |
{ | |
if (joueur.isCapitain && j.isCapitain) |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Called by "git commit" with no arguments. The hook should | |
# exit with non-zero status after issuing an appropriate message if | |
# it wants to stop the commit. | |
# | |
# Author: Micael Bergeron <micael.bergeron@solutionstlm.com> | |
# Goal: | |
# Automatic version numbering from the latest tag on the branch. | |
# The output format is <branch name>-<tag>-<HEAD sha>-<dirty?> |
# Keybinds | |
bind "kp_ins" "buy smokegrenade;" | |
bind "kp_home" "buy p90; buy p250; buy vesthelm; buy defuser; buy flashbang; buy flashbang; buy hegrenade; buy smokegrenade;" | |
bind "kp_pgup" "buy awp; buy deagle; buy vesthelm; buy defuser; buy flashbang; buy flashbang; buy hegrenade; buy smokegrenade;" | |
bind "kp_uparrow" "buy ak47; buy m4a1; buy tec9; buy fiveseven; buy vesthelm; buy defuser; buy flashbang; buy flashbang; buy hegrenade; buy smokegrenade;" | |
bind "kp_leftarrow" "buy ump45; buy vesthelm; buy defuser; buy flashbang; buy smokegrenade;" | |
bind "kp_5" "buy galilar; buy famas; buy vesthelm; buy defuser; buy flashbang; buy smokegrenade;" | |
bind "kp_slash" "buy smokegrenade;" | |
bind "kp_multiply" "buy hegrenade;" | |
bind "kp_minus" "buy vesthelm;" |
class ApplicationController < ActionController::Base | |
... | |
# FORCE to implement content_for in controller | |
def view_context | |
super.tap do |view| | |
(@_content_for || {}).each do |name,content| | |
view.content_for name, content | |
end | |
end | |
end |
[Table("Clients")] | |
public class Client { | |
[PrimaryKey] | |
[AutoIncrement] | |
public int ID { get; set; } | |
[Column("txt_Nom")] | |
public String Nom { get; set; } | |