blog
Table des matières
- 2026:
- 2025:
4 billet(s) pour septembre 2026
| Notes HTTP Strict Transport Security - HSTS | 2026/09/18 11:04 | Jean-Baptiste |
| Notes GNU Linux GPU carte graphiques | 2026/09/08 15:49 | Jean-Baptiste |
| Notes GNU Linux graphique | 2026/09/08 15:42 | Jean-Baptiste |
| Notes urlencoding - passer des mots de passe en HTTPS | 2026/09/03 17:58 | Jean-Baptiste |
Notes memcache
Flush
echo "flush_all" | /bin/netcat -q 2 127.0.0.1 11211
Flush Disk Cache
find YOUR/WEB/DIR/app/tmp/cache/ -type f -delete
Vim comme éditeur par defaut
Sur Debian et consors
update-alternatives --set editor /usr/bin/vim.basic
Ou encore
export EDITOR=vim
Notes git et cerfificats HTTPS
Voir aussi :
Ajouter un certificat
# Récupérer le certificat racine openssl s_client -showcerts -connect git.acme.fr:443 -servername git.acme.fr </dev/null 2>/dev/null | openssl x509 -outform PEM >~/.acme_root_ca.pem # Tester curl --cacert ~/.acme_root_ca.pem -I https://git.acme.fr # Ajouter la nouvelle CA git config --global http.sslCAInfo /home/monuser/.acme_root_ca.pem
Ne pas vérifier le certificat HTTPS (déconseillé)
git -c http.sslVerify=false clone https://url # ou env GIT_SSL_NO_VERIFY=true git clone https://url cd plop git config http.sslVerify false
git config --global http.sslVerify false
Autres
Pour utiliser la PKI de windows
git config --global http.sslBackend schannel
Notes réseaux
Voir :
- Tunnel GRE (Generic Routing Encapsulation)
Notes protocol FTP
Déplacer un fichier / renommer un fichier
FTP client
rename /data/plop.txt /old/plop.txt.old
FTP commands
RNFR /data/plop.txt RNTO /old/plop.txt.old
Autres commandes
lpwd
blog.txt · Dernière modification : de 127.0.0.1
