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:
cat dirtree.py | |
#!/bin/python | |
import os | |
import sys | |
import fileinput | |
import enum | |
class EntryType(enum.Enum): |
# Layer based programming | |
- All classes should abide the laws of the layer it is defined in | |
## Layer 1 - Service Layer | |
- Services should be coupled to 1) services and 5) entities | |
- Services should never raise and exception | |
- Services should return a report of the execution, in order | |
- Services should be the sum of its operations |
With wrong API Token creds | |
``` | |
~/git/gitlab/analytics/tap-zendesk.venv zendesk-singer* ⇡ | |
(tap-zendesk.venv) ❯ tap-zendesk -c tap-zendesk/config.json | |
ERROR Cannot find OAuth configuration. | |
ERROR API Token authentication failed. | |
``` | |
With correct API Token creds | |
``` |
[Table("Clients")] | |
public class Client { | |
[PrimaryKey] | |
[AutoIncrement] | |
public int ID { get; set; } | |
[Column("txt_Nom")] | |
public String Nom { get; set; } | |
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 |
# 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;" |
#!/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?> |
I hereby claim:
To claim this, I am signing this object:
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) |
=== 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 |