4341 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 91 / 218
Newer►
  • PHP gc_maxlifetime

    Sur une debian wheezy, php va "nettoyer" régulièrement le dossier qui contient les fichiers de sessions grâce à un cron dans /etc/cron.d/

    Toutes les 30 minutes il va vérifier qu'aucun fichier n'est plus vieux que le gc_maxlifetime (php.ini) qui par défaut est de 24 minutes.

    24 minutes !! Ne vous étonnez pas si vous de restez pas connecté à vos applications même en ayant coché la petite case car avec ce comportement par défaut, si votre session n'est pas accédée dans un délai de 24 minutes, elle sera supprimée par le prochain passage du cron..

    January 9, 2015 at 10:07:04 AM GMT+1 - permalink - archive.org - https://links.infomee.fr/?os-nRg
    debian php
  • Redactor WYSIWYG html editor
    January 8, 2015 at 9:55:49 PM GMT+1 - permalink - archive.org - http://imperavi.com/redactor/
    editor WYSIWYG
  • Sessions ssh en cours

    Trouver tous les pid des sessions ssh en cours :
    ss -tnp|grep ':22'
    ss -tp|grep ':22'|grep -Eo ',[0-9]+,'|grep -Eo '[0-9]+'

    Trouver depuis quand ces process sont démarrés :

    ps -eo pid,etimes|grep 26205

    26205 329840

    echo "$(date +%s) - 329743"|bc

    1419103787

    date -d@$(echo "$(date +%s) - 329743"|bc)

    Sat Dec 20 20:31:42 CET 2014

    One liner :

    start time

    for pid in $(ss -tp|grep ':22'|grep -Eo ',[0-9]+,'|grep -Eo '[0-9]+'); do date -d@$(echo "$(date +%s) - $(ps -o etimes -p $pid --no-headers)"|bc); done

    pid + start time

    for pid in $(ss -tp|grep ':22'|grep -Eo ',[0-9]+,'|grep -Eo '[0-9]+'); do echo -n "$pid : " && date -d@$(echo "$(date +%s) - $(ps -o etimes -p $pid --no-headers)"|bc); done

    Si le log level de ssh est en VERBOSE, on peut chercher dans auth.log le fingerprint de la clé publique correspondant à la date à laquelle une session ssh a démarré :

    zgrep sshd /var/log/auth.log*|grep Accepted|grep 'Dec 20'

    January 8, 2015 at 6:20:33 PM GMT+1 - permalink - archive.org - https://links.infomee.fr/?9HRSiQ
    ssh
  • Clustering et haute disponibilité sous Linux avec Heartbeat | Application (Linux) | IT-Connect
    January 7, 2015 at 5:20:09 PM GMT+1 - permalink - archive.org - http://www.it-connect.fr/clustering-et-haute-disponibilite-sous-linux-avec-heartbeat%EF%BB%BF/
    ha heartbeat
  • Svn status output

    Pour avoir toujours l'output dans le même ordre (trié), ajouter au bashrc :

    function svn() {
    case $* in
    st ) shift 1; command svn status | sort -k 2 ;;

    • ) command svn "$@" ;;
      esac
      }
    January 7, 2015 at 10:35:15 AM GMT+1 - permalink - archive.org - https://links.infomee.fr/?nPIw-g
    status svn
  • Pushbullet - Your devices working better together

    ça a l'air bien bien tout ça, à tester

    January 6, 2015 at 3:18:17 PM GMT+1 - permalink - archive.org - https://www.pushbullet.com/
    airdroid android
  • thumbnail
    Have I been pwned? Check if your email has been compromised in a data breach

    Pour vérifier si son compte/email fait parti d'un leak

    January 5, 2015 at 11:51:18 AM GMT+1 - permalink - archive.org - https://haveibeenpwned.com/
    check leak password
  • Pi-hole: A Raspberry Pi Ad-Blocker with DNS Caching

    Comment mettre en place un DNS menteur sur son raspberry pour ne pas servir les pubs.

    L'avantage ? pouvoir se passer de adblock x sur ses périphériques qui consomme pas mal de ressources. Une fois en place, il faut juste utiliser le raspberry comme serveur DNS.

    January 4, 2015 at 8:56:44 PM GMT+1 - permalink - archive.org - http://jacobsalmela.com/raspberry-pi-block-ads-adtrap/
    adblock dns rasp
  • logging - Is it possible to run one logrotate check manually? - Stack Overflow

    Dans l'urgence on peut avoir besoin de forcer la rotation de logs un peu trop fat ^^

    logrotate --force $CONFIG_FILE

    January 4, 2015 at 7:58:17 PM GMT+1 - permalink - archive.org - http://stackoverflow.com/questions/2117771/is-it-possible-to-run-one-logrotate-check-manually
    logrotate
  • jquery - Rails, javascript not loading after clicking through link_to helper - Stack Overflow

    grumbl

    January 4, 2015 at 3:01:02 PM GMT+1 - permalink - archive.org - http://stackoverflow.com/questions/17600093/rails-javascript-not-loading-after-clicking-through-link-to-helper
    js rails
  • Zzz

    Bon je m'arrête là je continuerai plus tard..

    C'est fou le nombre de pages qui ont disparues :-( il faut vraiment que je remette en place un wallabag (non je ne veux rien laisser sur pocket)

    January 1, 2015 at 3:16:49 PM GMT+1 - permalink - archive.org - https://links.infomee.fr/?2GeOUg
    pwet
  • thumbnail
    Les alternatives ou compléments à Logstash - Wooster
    January 1, 2015 at 3:14:11 PM GMT+1 - permalink - archive.org - https://wooster.checkmy.ws/2014/11/logstash-alternatives-complements/
    ELK logstash
  • Linux Tune Network Stack (Buffers Size) To Increase Networking Performance
    January 1, 2015 at 3:14:00 PM GMT+1 - permalink - archive.org - http://www.cyberciti.biz/faq/linux-tcp-tuning/
    linux sysctl
  • Nine Tips on Configuring Elasticsearch for High Performance -
    January 1, 2015 at 3:13:47 PM GMT+1 - permalink - archive.org - https://www.loggly.com/blog/nine-tips-configuring-elasticsearch-for-high-performance/
    elasticsearch ELK
  • Vim Awesome
    January 1, 2015 at 3:13:39 PM GMT+1 - permalink - archive.org - http://vimawesome.com/
    vim
  • Backups suck — a rant | Three of Coins
    January 1, 2015 at 3:13:29 PM GMT+1 - permalink - archive.org - http://3ofcoins.net/2013/11/14/backups-suck-a-rant/
    backup
  • thumbnail
    Making HAProxy 1.5 replication lag aware in MySQL
    January 1, 2015 at 3:12:42 PM GMT+1 - permalink - archive.org - http://www.percona.com/blog/2014/12/18/making-haproxy-1-5-replication-lag-aware-in-mysql/
    haproxy
  • Tyblog | SSH Kung Fu
    January 1, 2015 at 3:12:34 PM GMT+1 - permalink - archive.org - http://blog.tjll.net/ssh-kung-fu/
    ssh
  • The pitfalls of using ssh-agent, or how to use an agent safely
    January 1, 2015 at 3:12:14 PM GMT+1 - permalink - archive.org - http://rabexc.org/posts/pitfalls-of-ssh-agents
    security ssh
  • StartSSL pour des certificats SSL "wildcard" à petit prix - PAB's blog

    Faudrait que je fasse ça, ce serait plus propre

    January 1, 2015 at 3:11:29 PM GMT+1 - permalink - archive.org - http://blog.bandinelli.net/index.php?post/2014/11/10/StartSSL-pour-des-certificats-SSL-wildcard-%C3%A0-petit-prix
    certificat ssl
Links per page: 20 50 100
◄Older
page 91 / 218
Newer►
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation