create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
#!/usr/bin/env bash | |
# source environment variables | |
# https://www.clever-cloud.com/doc/admin-console/environment-variables/ | |
source /home/bas/applicationrc | |
if [ -n ${INSTANCE_TYPE} ] && [ ${INSTANCE_TYPE} = 'production' ] && [ -n ${INSTANCE_NUMBER} ] && [ ${INSTANCE_NUMBER} -eq 0 ] | |
then | |
DATE=`date +%Y%m%d-%H%M%S` |
buckets |
Steps (en ligne de commande - macosx): | |
- `cd Desktop/` | |
- `openssl genrsa -out mmw.key 2048` | |
- `openssl req -new -out server.csr -key server.key -config openssl.cnf` | |
- `openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server_autosign_test.crt -extensions v3_req -extfile openssl.cnf` _(autosigné, afin de vérifier la génération)_ |
mkdir ~/vim | |
cd ~/vim | |
# Staically linked vim version compiled from https://github.com/ericpruitt/static-vim | |
# Compiled on Jul 20 2017 | |
curl 'https://s3.amazonaws.com/bengoa/vim-static.tar.gz' | tar -xz | |
export VIMRUNTIME="$HOME/vim/runtime" | |
export PATH="$HOME/vim:$PATH" | |
cd - |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
<?php | |
$excludeBotsRegex = '/(googlebot|Googlebot-Mobile|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogo |
pm.sendRequest({ | |
url: "https://api.ovh.com/1.0/auth/time", | |
method: "GET", | |
headers: { | |
'Content-Type': 'application/json; charset=utf-8' | |
}, | |
body: {} | |
}, | |
function (err, res) { | |
use Symfony\Component\Mailer\Mailer; | |
use Symfony\Component\Mailer\Transport; | |
use Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport; | |
use Symfony\Component\Mime\Email; | |
// not work | |
/* | |
$mailer = new Mailer( | |
Transport::fromDsn( |
import mysql.connector as mdb | |
con = mdb.connect( | |
host='127.0.0.1', | |
port=3306, | |
user='root', | |
passwd='rootroot', | |
db='db', charset='utf8' | |
) |