4266 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
newest first
  • Troy Hunt: Your login form posts to HTTPS, but you blew it when you loaded it over HTTP

    Ce n'est pas secure de load en http en le formulaire et de le submit en https.

    October 21, 2015 - permalink - http://www.troyhunt.com/2013/05/your-login-form-posts-to-https-but-you.html
    https
  • Slow query graphs using Performance Schema and Graphite

    via skunnyk

    October 21, 2015 - permalink - https://www.percona.com/blog/2015/10/20/slow-query-graphs-using-performance-schema-and-graphite/
    graphite mysql percona query slow sql
  • Puppet Server: Tuning Guide — Documentation — Puppet Labs
    October 21, 2015 - permalink - http://docs.puppetlabs.com/puppetserver/2.1/tuning_guide.html
    puppet puppet4 puppetserver
  • puppetdb query : get last report for all nodes

    curl -s -G http://localhost:8080/pdb/query/v4/reports --data-urlencode 'query=["=","latest_report?","true"]'| jq '.[] | {certname: .certname, receive_time: .receive_time}'

    October 19, 2015 - permalink - https://links.infomee.fr/shaare/N4WFzQ
    puppetdb
  • puppetdb query : get non reporting nodes

    retrieve last_report older than 30 minutes :

    curl -s -G http://localhost:8080/pdb/query/v4/reports --data-urlencode "query=[\"and\",[\"<\",\"receive_time\",\"$(date --utc +%Y-%m-%dT%H:%M -d '30 min ago')\"],[\"=\",\"latest_report?\",\"true\"]]"|jq '.[]| {certname: .certname, receive_time: .receive_time}'

    October 19, 2015 - permalink - https://links.infomee.fr/shaare/CW0tyw
    puppetdb
  • puppetdb ssl setup (jetty)

    Il faut récupérer le ca.pem du puppetmaster, et les certificats du puppetdb en question
    sudo scp $(puppet master --configprint ssldir)/ca/ca_crt.pem puppetdb.example.com:/etc/puppetdb/ssl/ca.pem
    $ sudo scp $(puppet master --configprint ssldir)/private_keys/puppetdb.example.com.pem puppetdb.example.com:/etc/puppetdb/ssl/private.pem
    $ sudo scp $(puppet master --configprint ssldir)/certs/puppetdb.example.com.pem puppetdb.example.com:/etc/puppetdb/ssl/public.pem

    • modifier conf pour prendre tout ça en compte :

    /etc/puppetdb/conf.d/jetty.ini

    The host or IP address to listen on for HTTPS connections

    ssl-host = 0.0.0.0

    The port to listen on for HTTPS connections

    ssl-port = 8081

    Private key path

    ssl-key = /etc/puppetdb/ssl/private.pem

    Public certificate path

    ssl-cert = /etc/puppetdb/ssl/public.pem

    Certificate authority path

    ssl-ca-cert = /etc/puppetdb/ssl/ca.pem

    October 19, 2015 - permalink - https://docs.puppetlabs.com/puppetdb/3.1/install_from_source.html#step-3-option-b-manually-generating-and-preparing-certificates
    puppetdb
  • puppetdb call api en HTTPS

    With SSL:

    curl -X GET https://puppetdb.example.com:8081/pdb/query/v4/resources \
    --tlsv1 \
    --cacert /etc/puppet/ssl/certs/ca.pem \
    --cert /etc/puppet/ssl/certs/thisnode.pem \
    --key /etc/puppet/ssl/private_keys/thisnode.pem \
    --data-urlencode query@

    This requires that you specify a certificate (issued by the same CA PuppetDB trusts), a private key, and a CA certificate.

    In both examples, should be a file that contains the query to execute.

    October 19, 2015 - permalink - https://docs.puppetlabs.com/puppetdb/3.1/api/query/tutorial.html
    puppetdb
  • basecamp/trix
    October 19, 2015 - permalink - https://github.com/basecamp/trix#readme
    editeur editor text textarea wysiwyg
  • Avis Netgear WN2000RPT : achat/vente Répéteur Wi-Fi sur ldlc.com
    • http://www.ldlc.com/comment/c5290/p201005190029/netgear-wn2000rpt/#PC01086846
    October 16, 2015 - permalink - http://www.ldlc.com/comment/c5290/p201005190029/netgear-wn2000rpt/#PC01086846
    hardware repeteur wifi
  • IPerf: des exemples... - Le blog de NicoLargo
    October 16, 2015 - permalink - http://blog.nicolargo.com/2008/01/iperf-des-exemples.html
    debit iperf network perf test
  • Frontend puppetdb

    Ya le choix :

    https://github.com/puppet-community/puppetboard
    https://github.com/spotify/puppetexplorer
    https://github.com/propyless/panopuppet

    October 16, 2015 - permalink - https://links.infomee.fr/shaare/ZBgWyQ
    frontend puppetdb
  • http2/h2i at master · bradfitz/http2
    October 16, 2015 - permalink - https://github.com/bradfitz/http2/tree/master/h2i
    http http2
  • Welcome - Polymer 1.0
    October 14, 2015 - permalink - https://www.polymer-project.org/1.0/
    css framework front
  • Avoir un aperçu des noms de metriques les plus utilisés (reçues par statsd)

    ngrep -itq -W byline -d any '' port 8125|egrep -v '(^U|^$)'|logtop -s 500000

    October 14, 2015 - permalink - https://links.infomee.fr/shaare/X5ZuZQ
    ngrep statsd
  • Principles of Chaos Engineering

    via Doo

    October 14, 2015 - permalink - http://www.principlesofchaos.org/
    long management
  • Spotify engineering culture (part 1) | Labs

    via Doo

    October 14, 2015 - permalink - https://labs.spotify.com/2014/03/27/spotify-engineering-culture-part-1/
    management spotify
  • irssi alias close all query

    Nouvel alias :)

    cleanq = "/foreach query /unquery";

    October 13, 2015 - permalink - https://links.infomee.fr/shaare/rNWBCQ
    alias irssi
  • Follow-up to 'GitFlow considered harmful' | End of Line Blog
    October 13, 2015 - permalink - http://endoflineblog.com/follow-up-to-gitflow-considered-harmful
    git
  • Make a Github Pages blog with Pelican - Fedora Magazine

    via nico

    October 13, 2015 - permalink - http://fedoramagazine.org/make-github-pages-blog-with-pelican/
    blog github pages public
  • A Pomodoro Timer for GNOME

    Pour penser à se bouger/s'étirer un peu toutes les heures

    October 13, 2015 - permalink - http://gnomepomodoro.org/
    gnome timer
  • arping debian

    Deux binaires arping dispos et bien différents (l'un permet les gratuitous reply, l'autre non). Voici les paquets :

    • arping
    • iputils-arping (permet les g. reply)

    https://packages.debian.org/search?searchon=contents&keywords=arping&mode=exactfilename&suite=stable&arch=any

    October 13, 2015 - permalink - https://links.infomee.fr/shaare/EFUIsA
    arp arping debian
  • Programmable Infrastructure

    via Doo

    October 13, 2015 - permalink - http://programmableinfrastructure.com/
    brique soft stack
  • sindresorhus/awesome
    October 13, 2015 - permalink - https://github.com/sindresorhus/awesome
    aws
  • donnemartin/awesome-aws
    October 13, 2015 - permalink - https://github.com/donnemartin/awesome-aws
    aws
  • Rake "sh" does not echo command - Ruby Forum

    vebose(true) do
    sh this_verbose_command
    end

    or

    verbose(false) do
    sh that_quiet_command
    end

    October 13, 2015 - permalink - https://www.ruby-forum.com/topic/168929
    output rake sh
  • xen monitor cpu perf

    xm info
    xm vcpu-list
    xentop -v -b -i1

    October 12, 2015 - permalink - https://links.infomee.fr/shaare/uDAHgw
    cpu xen
  • CPU utilization · Issue #249 · etsy/statsd

    une instance de statsd stuck entre 15 et 20k

    October 12, 2015 - permalink - https://github.com/etsy/statsd/issues/249
    perf statsd
  • eleme/noise · GitHub

    Detection d'anomalie

    October 10, 2015 - permalink - https://github.com/eleme/noise
    anomalie detection monitoring stats
  • Mashing It Up: Parsing Accept-Language in Rails

    Really cool :)

    Good to know about accept language format :
    Example : fr,en-US;q=0.7,en;q=0.3
    q value is between 0 and 1 (default value is 1)
    the bigger it is the the higher is the priority to select a language

    Here client says :
    I prefer fr (q=1)
    Then en-US (q=0.7)
    Then..

    October 9, 2015 - permalink - http://mashing-it-up.blogspot.com/2008/10/parsing-accept-language-in-rails.html
    accept header language parse ruby
  • Devise & Rails: Tracking User Logins & Sign-ups - joanswork.com
    October 9, 2015 - permalink - http://joanswork.com/devise-usage-tracking/
    devise finance log rails ruby track
  • Logstash configuration tuning | Elastic
    October 9, 2015 - permalink - https://www.elastic.co/blog/logstash-configuration-tuning
    logstash perf
  • avc

    Soupçon d'avc si du mal à faire un de ces exercices :

    1 demander de sourire
    2 demander de répéter une phrase simple
    3 demander de lever les bras
    4 demander de tirer la langue

    October 8, 2015 - permalink - https://links.infomee.fr/shaare/04n9Tg
    avc
  • puppet 3.6.x sur Jessie

    En root :
    install rbenv
    install ruby build
    install reco packet for build env
    rbenv install 1.9.3-p55
    rbenv rehash
    rbenv global 1.9.3-p55
    gem install puppet -v 3.6.2 --no-rdoc --no-ri
    rbenv rehash
    puppet agent --test

    October 8, 2015 - permalink - https://links.infomee.fr/shaare/GcBGTg
    puppet
  • Git : annuler proprement un commit après un push

    via Doo

    October 7, 2015 - permalink - http://blog.mathieu-leplatre.info/git-annuler-proprement-un-commit-apres-un-push-fr.html
    git push revert
  • linux - Is it possible to detach a process from its terminal? (Or, "I should have used screen!") - Server Fault

    ctrl+z
    bg
    disown %1
    exit

    October 7, 2015 - permalink - http://serverfault.com/questions/34750/is-it-possible-to-detach-a-process-from-its-terminal-or-i-should-have-used-s
    background detach process
  • doger.io - wow such container
    October 7, 2015 - permalink - http://doger.io/
    container docker linux lxc
  • TiFiz-Tracker GPS sur mesure
    October 7, 2015 - permalink - https://www.gwenneg.bzh/fr/tifiz
    gps iot
  • Un nouveau logiciel libre : Lufi - LinuxFr.org
    October 7, 2015 - permalink - http://linuxfr.org/news/un-nouveau-logiciel-libre-lufi
    auto drop fichier file framasoft
  • Someone - Wasn’t Someone supposed to take care of that?
    October 7, 2015 - permalink - https://www.someone.io/
    kanban todo trello
  • AlessandroZ/LaZagne
    October 5, 2015 - permalink - https://github.com/AlessandroZ/LaZagne
    password
  • http read only access

    Pratique pour cloner en http

    servir betement avec apache
    + hoot post-update :
    exec git update-server-info

    October 5, 2015 - permalink - https://links.infomee.fr/shaare/Opxcxw
    git gitolite
  • Linux System IO monitoring
    October 4, 2015 - permalink - http://www.slashroot.in/linux-system-io-monitoring
    io
  • A vim Tutorial and Primer

    Encore un bon article sur vim

    October 2, 2015 - permalink - https://danielmiessler.com/study/vim/?fb_ref=118ef0e03ab54c0d8197214328648a68-Hackernews
    tuto vim
  • Easier buffer switching - Vim Tips Wiki

    Pour changer de buffer, je faisais :
    :ls (pour récupérer la liste des buffers et trouver le numéro du buffer)
    :b5 (pour switcher sur le buffer 5)

    Pas trop pratique, du coup une alternative sympa :

    Put the following in your vimrc:

    set wildchar= wildmenu wildmode=full

    Ensuite il suffit de faire :
    :b

    Pour avoir la liste des buffers et itérer dessus avec tab jusqu'à être sur le bon puis

    October 2, 2015 - permalink - http://vim.wikia.com/wiki/Easier_buffer_switching
    buffer vim
  • Raspberry

    On m'a gentiement offert un raspberry, je vais donc en avoir 2 a la maison. Celui ci est plus récent (donc plus puissant). Je vais re-tester Kodi pour voir si il tient le coup

    October 1, 2015 - permalink - https://links.infomee.fr/shaare/54WGsg
    rasp raspberry
  • Table des matières
    September 30, 2015 - permalink - http://use-the-index-luke.com/fr/table-des-matieres
    sql
  • Imperative vs Declarative
    September 30, 2015 - permalink - http://latentflip.com/imperative-vs-declarative/
    declaratif declarative imperatif imperative
  • zenorocha/clipboard.js

    Modern copy to clipboard. No Flash. Just 2kb

    September 30, 2015 - permalink - https://github.com/zenorocha/clipboard.js
    clipboard copy
  • dstat

    dstat -lrvn 10

    via arnaudb

    September 29, 2015 - permalink - https://links.infomee.fr/shaare/qi1ILw
    htop io linux stat system top
  • MySQL Cluster with Galera - Nouvelles idées

    via arnaudb

    September 26, 2015 - permalink - http://nouvellesidees.info/blog/mysql-cluster-with-galera/
    cluster galera mysql
▼ Load 50 more