Loading

tips- a href link

  1. a,
  2.   a:visited {
  3.     text-decoration: none;
  4.    color: #999;
  5.   }

BASH - List all users cro

  1. #!/bin/sh
  2.  
  3. for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done

script init linkr

  1. #!/bin/bash
  2.  
  3. if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
  4.     set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
  5. fi

Crontab - aide / help

  1.  
  2.  
  3.      ┌────────── minute (0 - 59)
  4.      │ ┌──────── hour (0 - 23)
  5.      │ │ ┌────── day of month (1 - 31)

Hide your email against b

  1.   <style>
  2.     #fuckingbot {
  3.     display: none;
  4.     }
  5.     </style>

/etc/init.d/skeleton

  1. #!/bin/sh
  2. # kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
  3. if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
  4.     set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
  5. fi

/etc/init.d/gogs

  1. #! /bin/sh
  2. ### BEGIN INIT INFO
  3. # Provides:          gogs
  4. # Required-Start:    $syslog $network
  5. # Required-Stop:     $syslog

/etc/init.d/fail2rest

  1. #! /bin/sh
  2. ### BEGIN INIT INFO
  3. # Provides:          fail2rest
  4. # Required-Start:    $syslog $network
  5. # Required-Stop:     $syslog

/etc/init.d/znc

  1. #! /bin/sh
  2. ### BEGIN INIT INFO
  3. # Provides:          znc
  4. # Default-Start:     2 3 4 5
  5. # Default-Stop:      0 1 6

/etc/init.d/eggdrop

  1. #! /bin/sh
  2. ### BEGIN INIT INFO
  3. # Provides:          eggdrop
  4. # Required-Start:    $syslog $network
  5. # Required-Stop:     $syslog

/etc/init.d/inspircd

  1. #!/bin/sh
  2. ### BEGIN INIT INFO
  3. # Provides:          inspircd
  4. # Required-Start:    $remote_fs $network $syslog $time
  5. # Required-Stop:     $remote_fs $syslog

Apache - HTTP2 & SSLCiphe

  1. # OCSP Stapling, only in httpd 2.3.3 and later
  2. SSLUseStapling          on
  3. SSLStaplingResponderTimeout 5
  4. SSLStaplingReturnResponderErrors off
  5. SSLStaplingCache        shmcb:/var/run/ocsp(128000)

PHP -Date mise à jours fi

  1. // Affichage en commentaire HTML la dernière date de modification de la page php.
  2.  
  3.  
  4. <!-- <?php setlocale(LC_ALL,'french'); echo "Dernière modification de la page:   ".date("m/d/y H:i", getlastmod()); ?> -->

Bash Shell Scripts and Co

  1. Bash Shell Scripts and Commands
  2. ===============================
  3.  
  4. #pretty print a JSON file to stdout

HTTP Error 3xx 4xx 5xx

  1. 3xx
  2. Redirection
  3.  
  4. 300 Multiple Choices L'URL demandée se rapporte à plusieurs ressources
  5. 301 Moved Permanently Document déplacé de façon permanente