I hereby claim:
- I am guelau on github.
- I am tild (https://keybase.io/tild) on keybase.
- I have a public key ASBHIdGbcetpLnb1p7TBk-sFrXhWcObkx_ajXvfpT4jn8go
To claim this, I am signing this object:
# Kubernetes | |
alias k="kubectl" | |
alias kx="kubectl config use-context" | |
alias kg='kubectl get' | |
alias kd='kubectl describe' | |
alias kgp='kubectl get pods' | |
alias kgns='kubectl get namespaces' | |
alias kgall='kubectl get ingress,service,deployment,pod,statefulset' |
17.158.227.90 | |
131.184.97.52 | |
190.28.55.204 | |
32.87.1.171 | |
69.167.226.124 | |
77.248.110.206 | |
75.68.162.101 | |
34.157.45.132 | |
38.44.170.174 | |
195.204.33.7 |
var util = { | |
has: function (str1, str2) { | |
if (typeof str1 === 'string') { | |
return str2.toLowerCase().indexOf(str1.toLowerCase()) !== -1 | |
} else { | |
return false | |
} | |
}, | |
lowerize: function (str) { | |
return str.toLowerCase() |
#!/usr/bin/python | |
# Based on Samuel Cozannet's script | |
# Updated by Laurent ([email protected]) | |
# | |
# Note: requires pyzabbix to be installed. | |
# [email protected]~# pip install pyzabbix | |
# | |
from pyzabbix import ZabbixAPI | |
import argparse |
#!/bin/bash | |
# | |
# Exemple: | |
# cat param.ini | |
# [PREPROD] | |
# host = masuperconf_preprod | |
# pass = motdepass_preprod | |
# | |
# [PRODUCTION] | |
# host = masuperconf_prod |
# Send No server's informations | |
ServerTokens Prod | |
ServerSignature Off | |
<IfModule mod_headers.c> | |
# Forces httpOnly, secure cookies and limit XSS Attacks | |
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure | |
# Iframes can't come from another site: same url only | |
Header set X-Frame-Options SAMEORIGIN |
I hereby claim:
To claim this, I am signing this object:
s3cmd modify --add-header='Cache-Control: max-age=2419200, must-revalidate' s3://BUCKET/dir/path --recursive |
backend default { | |
.host = "127.0.0.1"; | |
.port = "8080"; | |
} | |
sub vcl_recv { | |
if (req.http.host ~ "^cdn\.myapiservice\.com") { | |
set req.http.host = "api.myapiservice.com"; | |
set req.url = regsub(req.url, "^/", "/v1/images/"); | |
} |