Un file explorer en web qui permet de share (anciennement ajaxplorer)
Pas de client lourd comme dropbox ou owncloud par contre à premiere vue
Qu'est ce que le sharding ?
Peut servir à scale
at now +10 minutes <<< "rm -rf /tmp/tobedeleted"
at now +1 minutes <<< "init 6"
/etc/init.d/networking stop && /etc/init.d/networking start
atq
atrm 2
For multiline, consider a "HERE-doc"
at now +10 minutes <<ENDMARKER
rm -rf /tmp/tobedeleted
echo all done | mail -s 'completion notification' sysadmin@example.com
ENDMARKER
In Firefox, the solution is easy. Simply type about:config in the address bar and set network.proxy.socks_remote_dns to true. This will have the remote end (i.e., the machine you are SSH’ing to) handle the DNS lookups.
Parfois il arrive qu'un fichier de conf soit corrompu a cause dun caractère invisible a la con qui peut venir dun copier coller ou autre.. Pour vérifier ça, on peut dumper le fichier en affichant ces caractères : car -e fichier
Encore du netcat
Faut que je m'y remette et que je me fasse des mémo pour netcat et hping
Port knocking avec packet dans distrib debian
Un serveur, mais surtout un client pour faire du port knocking
screen -S machineA (ensuite on se co en ssh à machineA, puis CTRL A D pour detach)
screen -S machineB (ensuite on se co en ssh à machineB, puis CTRL A D pour detach)
etc
At the end of the day :
screen -ls affiche tous les screens (avec chacun une connexion vers le serv en ssh)
screen -r machineA pour aller sur le A
screen -r machineB pour aller sur le B
alias utiles :
alias sls='screen -ls' #Pour lister les screen
alias sr='screen -r' #Pour recover un screen
alias sn='screen -S' #Pour créer un nouveau screen
add on pour avoir le status de nagios dans ff
tuto utilisé au final avec ubuntu gnome remix
Pour utiliser machinerebond pour accéder aux *.vm automatiquement :
$ cat .ssh/config
Host=machinerebond
Hostname=machinerebond.fqdn.com
User=root
Host=*.distant
User=root
ProxyCommand=ssh -W %h:22 machinerebond
Alternative :
D'abord se co sur la machine rebond avec un -A pour ramener sa key dans l'agent distant
Ensuite on peut se co sur les autres machines, mais plus long.
Autres directives possibles :
ServerAliveInterval 30
ServerAliveCountMax 120
Port 22000
User fooey
IdentityFile ~/.ssh/github.key
LocalForward 9906 127.0.0.1:3306
more : http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html
Script pour backup toutes ses bases dans des fichiers séparés
Pour comprendre un peu mieux certaines subtilités de rsync + compléter mémo
Quelques solutions pour backup un repo git
Comment écrire un fichier RSS
Différence entre python et php
Et un site pour débuter en python lorsqu'on vient de php :
http://www.inspyration.org/tutoriels/debuter-python-lorsque-lon-vient-de-php
Qu'est ce que l'unicode ? qu'est-ce qu'un encodage ? Comment python gère ça
Autres liens dans l'article à lire :
http://www.cs.tut.fi/~jkorpela/unicode/guide.html
http://www.joelonsoftware.com/articles/Unicode.html
http://en.wikipedia.org/wiki/Character_encoding
http://en.wikipedia.org/wiki/UTF-8
wget -O /usr/bin/bd https://raw.github.com/vigneshwaranr/bd/master/bd
chmod +rx /usr/bin/bd
echo 'alias bd=". bd -s"' >> ~/.bashrc
source ~/.bashrc