Skip to content

Instantly share code, notes, and snippets.

View johackim's full-sized avatar

johackim johackim

View GitHub Profile
@johackim
johackim / install.sh
Created January 29, 2018 10:17
Kubernetes installation
#!/bin/sh
export DEBIAN_FRONTEND=noninteractive;
if [ "$(whoami)" != "root" ]; then
echo "$0: Permission denied"
exit 1;
fi
# Install kubeadm
if [ -z "$(command -v kubeadm)" ]; then

Langue

Les US sont décrits en anglais. Cela permet l'utilisation de l'Ubiquituous Language depuis les US jusque dans le code, en passant par les tests.

Titre

On utilise le formalisme Behavior-Driven Development:

@johackim
johackim / firewall.php
Created December 8, 2014 10:44
firewall
<?php
/************************************************************************/
/* PHP Firewall: Universal Firewall for WebSite */
/* ============================================ */
/* Write by Cyril Levert */
/* Copyright (c) 2009-2010 */
/* http://www.php-firewall.info */
/* dev@php-maximus.org */
/* Others projects: */
/* CMS PHP Maximus ( with mysql database ) www.php-maximus.org */