131 private links
IPV4:
80.67.169.12
80.67.169.40
IPV6:
2001:910:800::12
2001:910:800::40
var colours = ['red', 'green', 'blue'];
document.getElementById('element').addEventListener('click', function() {
// this is a reference to the element clicked on
var that = this;
colours.forEach(function() {
// this is undefined
// that is a reference to the element clicked on
});
});
do not delete / or prompt if deleting more than 3 files at a time
alias rm='rm -I --preserve-root'
confirmation
alias mv='mv -i'
alias cp='cp -i'
alias ln='ln -i'
Parenting changing perms on /
alias chown='chown --preserve-root'
alias chmod='chmod --preserve-root'
alias chgrp='chgrp --preserve-root'
En cas de saturation des inodes d'un disque par les milliers de petit fichiers de NPM, créer une partition dédié avec une taille de bloc à small
mkfs.ext4 -T small /dev/device
OU mkfs.ext4 -b 1024 -i 1024 /dev/device
NB: en mettant la même valeur pour -i que pour -b, on évite de se restreindre à 4 fois moins d'inodes
@Echo off
GOTO Menu
:Menu
Echo ----------------------------------------
Echo ! Gestion de l'arret du systeme !
Echo ----------------------------------------
Echo 1 - Planifier un arret du systeme.
Echo 2 - Planifier un redemarrage du systeme.
Echo 3 - Annuler l'arret planifier.
Echo ----------------------------------------
SET /p Action=Votre Choix :
IF %Action% == 1 GOTO PlanifierArret
IF %Action% == 2 GOTO PlanifierRedemarrage
IF %Action% == 3 GOTO AnnulerPlanification
IF %Action% GTR 3 GOTO SaisieIncorrecte
:AnnulerPlanification
shutdown -a
Echo Planification Annulee
Goto FinProgramme
:PlanifierRedemarrage
Echo Info : 1 heure = 3600 secondes
SET /p Secondes= Secondes avant le redemarrage du systeme :
IF '%Secondes%' == '' GOTO PlanifierRedemarrage
shutdown -r -t %Secondes%
GOTO FinProgramme
:PlanifierArret
Echo Info : 1 heure = 3600 secondes
SET /p Secondes= Secondes avant l'arret du systeme :
IF '%Secondes%' == '' GOTO PlanifierArret
shutdown -s -f -t %Secondes%
GOTO FinProgramme
:SaisieIncorrecte
CLS
Echo ! ! ! ! ! ! Valeur saisie incorrecte ! ! ! ! ! !
GOTO Menu
:FinProgramme