This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"basics": { | |
"name": "Thomas Sieffert", | |
"label": "Tech Lead Fullstack / DevOps / Manager @ emploi.ouest-france.fr", | |
"picture": "", | |
"email": "", | |
"website": "https://github.com/CaporalDead]", | |
"summary": "Tech Lead passionné avec plus de 10 ans d’expérience en développement web et DevOps, j’accompagne les équipes dans la conception de solutions robustes, modernes et centrées sur les besoins métier. Leadership, qualité logicielle et vision produit sont au cœur de ma démarche. Actuellement à la recherche de nouveaux challenges à relever ! Disponible à partir du 1er Juillet 2025", | |
"location": { | |
"address": "", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<style type="text/css"> | |
body { | |
font-family: sans-serif; | |
background-color: #fff; | |
color: #535353; | |
margin: 5px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default class Form { | |
constructor($form) { | |
this.$form = $form; | |
} | |
/** | |
* Ajoute le comportement "submit" au(x) formulaire(s) | |
* | |
* @param successHandler | |
* @param failureHandler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
MAPPING_FILE=$1 | |
CONTAINERS=($(docker ps | awk 'NR>1' | perl -ne '@cols = split /\s{2,}/, $_; printf "%30s %20s %20s\n", $cols[6], $cols[0]' | awk '{print $1":"$2}')) | |
readarray DOMAINS < $MAPPING_FILE | |
NGINX_CONF_FILE=/etc/nginx/sites-enabled/auto-update | |
function getIPByName { | |
local NAME=$1 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Route::filter('api.limit', function() { | |
$key = sprintf('api:%s', Auth::user()->api_key); | |
// On crée le cache | |
apc_add($key, 0, 60 * 60); | |
// On incrément l'appel de 1 | |
$count = apc_inc($key); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# /usr/local/bin/create-domain | |
if [ -z "$1" ]; then | |
echo "First parameter must be a domain name" | |
exit 1 | |
fi | |
DOMAIN_NAME=$1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#/usr/local/bin/create-cert | |
if [ -z "$1" ]; then | |
echo "First parameter must be a domain" | |
exit 1 | |
fi | |
DOMAIN=$1 | |
DIRECTORY=/data/www/$DOMAIN/ssl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#/usr/local/bin/create-repo | |
if [ -z "$1" ]; then | |
echo "First parameter must be a project name" | |
exit 1 | |
fi | |
if [ -z "$2" ]; then | |
echo "Second parameter must be a common project name" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#/scripts/backupSVN.sh | |
jour=$(LANG=C date +%A | tr A-Z a-z) | |
motifsvn="/data/www/*/svn/*" | |
backupdir="/backup" | |
### ##### ### | |
if [ ! -d "$backupdir/$jour" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Utils; | |
class Logger | |
{ | |
const DEBUG = 1; | |
const INFO = 2; | |
const ERROR = 3; | |
const WARNING = 4; |