4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
newest first
  • backup - Rsnapshot: using different intervals for different directories - Ask Ubuntu

    Pour avoir plusieurs politiques de retentions suivant les répertoires, il faut créer plusieurs fichiers de config et lancer en cron rsnapshot en précisant la conf (-c)

    Attention à bien changer le snapshot_root

    August 7, 2014 - permalink - http://askubuntu.com/questions/97817/rsnapshot-using-different-intervals-for-different-directories
    rsnapshot
  • LPT: An interesting coincidence between kilometres and miles (x-post /r/running) : LifeProTips

    nice !

    ratio 1.6

    miles kilometers

    August 7, 2014 - permalink - http://www.reddit.com/r/LifeProTips/comments/2cs2wa/lpt_an_interesting_coincidence_between_kilometres/
    conversion kilometers miles
  • sudo

    toto ALL=(ALL) NOPASSWD: ALL

    August 6, 2014 - permalink - https://links.infomee.fr/shaare/519lVg
    sudo
  • Tracking Every Release « Code as Craft

    apply function > Special > draw non zero as infinite

    August 6, 2014 - permalink - http://codeascraft.com/2010/12/08/track-every-release/
    graphite
  • 49f448a01794cdd6164159bb1b95d167.jpg (Image JPEG, 499 × 964 pixels) - Redimensionnée (88%)

    savoir rester kiss ^^

    via fiax

    August 6, 2014 - permalink - http://media-cache-ak0.pinimg.com/736x/49/f4/48/49f448a01794cdd6164159bb1b95d167.jpg
    kiss
  • Hubot

    Bien! Le hubot peut écouter en http, on peut donc intéragir assez simplement avec lui depuis un autre programme avec curl par exemple :)

    https://github.com/github/hubot/blob/master/docs/scripting.md#http-listener
    https://github.com/nandub/hubot-irc
    https://gist.github.com/oremj/3702073

    August 5, 2014 - permalink - https://github.com/github/hubot/tree/master/docs
    bot http hubot irc
  • Firefox trick

    ctrl+shit+m

    pratique pour tester le responsive d'un site!

    August 5, 2014 - permalink - https://links.infomee.fr/shaare/JFLpKQ
    firefox
  • Git IRC bot in 5 minutes - Rogdham

    Un client irc en command line orienté bot, très simple à mettre en place : ii

    August 4, 2014 - permalink - http://www.rogdham.net/2013/04/07/git-irc-bot-in-5-minutes.en
    bot client irc kiss
  • Monitoring at scale - Intuitive dashboard design

    à lire

    via arnaudb

    August 3, 2014 - permalink - http://fr.slideshare.net/quipo/monitoring-at-scale-intuitive-dashboard-design
    dashboard monitoring
  • Configuration graphite pour être utilisé avec statsd

    Aide à comprendre pas mal de chose concernant graphite/statsd

    August 1, 2014 - permalink - https://github.com/etsy/statsd/blob/master/docs/graphite.md
    graphite statsd
  • https://github.com/graphite-project/whisper

    Suite d'outils bien pratique pour tester/vérifier/debug ses whisper files, en particulier whisper-dump et whisper-fetch

    August 1, 2014 - permalink - https://github.com/graphite-project/whisper
    carbon graphite statsd
  • Why TCP/IP is on the way out

    10 fois plus rapide! J'ai du mal à y croire..

    July 30, 2014 - permalink - http://www.networkworld.com/article/2459286/why-tcp/why-tcp/ip-is-on-the-way-out.html#tk.rss_all
    networking
  • Privacy Badger | Electronic Frontier Foundation

    Un candidat pour remplacer abp/abe ghostery ?

    July 30, 2014 - permalink - https://www.eff.org/privacybadger
    abe abp ghostery privacy
  • Domaine de diffusion — Wikipédia

    Petite révision du vocabulaire, ça fait pas de mal ;)
    + http://fr.wikipedia.org/wiki/Domaine_de_collision

    July 30, 2014 - permalink - http://fr.wikipedia.org/wiki/Domaine_de_diffusion
    networking
  • Connaitre les versions des extensions php
    "; echo phpversion($ext); echo "\n"; } ?>
    July 29, 2014 - permalink - https://links.infomee.fr/shaare/vo6lAQ
    ext php
  • ARP Reply-to-Broadcast | Intrusion Prevention Systems/IDS | Cisco Support Community | 5851 | 10941681

    Ok.. Les gratuitois reply servent à mettre à jour pro-activement les tables arp des petits voisins..
    This can be caused by devices that perform an unsolicited, or Gratuitous ARP replies.
    Load balancers, High Availbility pairs (dual NICs in a host, dual firewalls, etc) will send a broad cast ARP reply to update everyones ARP table so that know what MAC to send frames for the shared IP address.

    On peut aussi se servir de request pour faire ça en demandant qui a notre propre IP (http://infomee.fr/vrac/files/index.php?f=54ad62c46482e)

    Pour rappel les gratuitous sont des paquet arp "gratuit" qu'on forge en prévention.
    Les "gratuitous" request servent à vérifier que l'ip qu'on veut utiliser n'est pas prise (si pas de réponse).

    July 29, 2014 - permalink - https://supportforums.cisco.com/discussion/10941681/arp-reply-broadcast
    arp
  • Groupe d'onglet firefox

    :o je connaissais pas.. C'est super bien ce truc, thx arnaudb!

    ctrl+shift+e

    July 25, 2014 - permalink - https://links.infomee.fr/shaare/DOGGaQ
    firefox
  • Debian package statsd

    apt-get install debhelper devscripts
    git clone https://github.com/etsy/statsd.git
    cd statsd
    dpkg-buildpackage
    dpkg -i ../

    July 24, 2014 - permalink - https://github.com/etsy/statsd/issues/161
    deb debian package statsd
  • Installing-Node.js-via-package-manager

    Il est aussi dans les backport :
    https://packages.debian.org/search?keywords=nodejs&searchon=names&section=all&suite=wheezy-backports

    July 24, 2014 - permalink - https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
    deb debian node nodejs
  • whisper calculator

    !/usr/bin/env python

    -- coding: utf-8 --

    def archive_to_bytes(archive):
    def to_seconds(s):
    SECONDS_IN_A = {
    's': 1,
    'm': 1 * 60,
    'h': 1 * 60 * 60,
    'd': 1 * 60 * 60 * 24,
    'y': 1 * 60 * 60 * 24 * 365,
    }

        return int(s[:-1]) * SECONDS_IN_A[s[-1]]
    
    archive = [map(to_seconds, point.split(':'))
               for point in args.archive.split(',')]
    
    SIZE_METADATA = 2 * 4 + 4 + 4  # 16 [!2LfL]
    SIZE_ARCHIVE_INFO = 3 * 4  # 12 [!3L]+
    SIZE_POINT = 4 + 8  # 12 [!Ld]+
    
    size = 0
    for resolution, retention in archive:
        size += SIZE_ARCHIVE_INFO + SIZE_POINT * retention/resolution
    
    if size:
        size += SIZE_METADATA
    
    return size
    

    if name == 'main':
    import argparse

    parser = argparse.ArgumentParser(
        description="Calculates the size of the whisper storage for the given \
                archive (in resolution:retention format, e.g. 1m:24h,5m:3m)"
    )
    parser.add_argument(
        'archive',
        help="Archive in storage-schemas.conf format (resolution:retention)"
    )
    
    args = parser.parse_args()
    
    print "{} >> {} bytes".format(args.archive, archive_to_bytes(args.archive))
    
    July 24, 2014 - permalink - https://gist.github.com/jjmaestro/5774063#file-whisper-calculator-py
    calc graphite whisper
  • whisper dump

    [Summary, full note in Shaarli]
    whisper-dump.py : script Python 2 qui affiche le contenu brut d'un fichier whisper (.wsp) de Graphite. Usage : whisper-dump.py path

    • Nécessite le module whisper ; ignore SIGPIPE pour pouvoir piper la sortie (head, less...).
    • Ouvre le fichier en lecture seule avec mmap.
    • read_header : struct.unpack(whisper.metadataFormat) donne aggregationType, maxRetention, xFilesFactor, archiveCount ; puis, pour chaque archive, whisper.archiveInfoFormat donne offset, secondsPerPoint, points (retention = secondsPerPoint * points, size = points * whisper.pointSize).
    • Affiche les métadonnées (aggregation method, max retention, xFilesFactor) et l'en-tête de chaque archive.
    • dump_archives : pour chaque archive, lit chaque point avec whisper.pointFormat et affiche "index: timestamp, valeur".
    • Erreur si le fichier n'existe pas ; CorruptWhisperFile si l'en-tête ne se lit pas.
    July 24, 2014 - permalink - http://bazaar.launchpad.net/~amos-shapira/graphite/whisper-dump/revision/733#whisper/bin/whisper-dump.py
    dump graphite whisper
  • Introducing Tessera, a Graphite Frontend

    Et encore 1!

    via arnaudb

    July 23, 2014 - permalink - http://urbanairship.com/blog/2014/06/30/introducing-tessera-a-graphite-frontend
    frontend graphite
  • Live pixel check
    July 22, 2014 - permalink - http://www.websitedimensions.com/pixel/
    HTML css pixel
  • How to rename all folders and files to lowercase on Linux? - Stack Overflow

    Merci à ce mec, il m'a fait gagner du temps ^^

    find my_root_dir -depth -exec rename 's/(.)\/([^\/])/$1\/\L$2/' {} \;

    July 22, 2014 - permalink - http://stackoverflow.com/questions/152514/how-to-rename-all-folders-and-files-to-lowercase-on-linux
    linux lowercase rename
  • StackOverflow Update: 560M Pageviews a Month, 25 Servers, and It's All About Performance - High Scalability -

    infra StackOverflow

    July 22, 2014 - permalink - http://highscalability.com/blog/2014/7/21/stackoverflow-update-560m-pageviews-a-month-25-servers-and-i.html
    devops sys
  • Understanding StatsD and Graphite - pkhamre.blog

    bon article

    July 22, 2014 - permalink - http://blog.pkhamre.com/2012/07/24/understanding-statsd-and-graphite/
    graphite statsd
  • Question #54887 : Questions : Graphite

    In order to save graphs under 'My Graphs' and 'User Graphs' you simply need to log into Graphite and the Save/Delete buttons will then appear on the top of the Composer window. To log in you need to either create an account for yourself in the Django database or setup LDAP authentication. LDAP authentication is setup through local_settings.py, check out the example file's comments for details on doing that (or just ask if you run into any issues). However if you're not using LDAP its pretty easy to create a local user in Django's database using the Django admin interface.

    When you first installed Graphite there was a step where you had to initialize the database by running 'manage.py syncdb'. That prompted you to create an admin user, if you did that already you're good to go. Otherwise you need to create an admin user by running 'manage.py createsuperuser'.

    Once your admin user is setup you can go to the django admin interface by visiting http://my-graphite-server/admin/ (note: the trailing slash is required!) and logging in as your admin user. From there you need to create a new user account by clicking 'Add' under the 'Users' section. After that, go back to the main Graphite page. You may need to logout if it thinks you're still the admin user. Then log back in as you're new user and you should be able to save graphs! Also once logged in you have the ability to set profile options. Currently there is only 1 option, the "advanced UI features" option. Enabling that puts a '*' element in every folder that has more than one element, making it easier to use wildcards when you build graphs.

    Hope that helps.

    July 22, 2014 - permalink - https://answers.launchpad.net/graphite/+question/54887
    admin graphite
  • obfuscurity. - Unhelpful Graphite Tip #8 - Dump your Whisper Metrics
    July 21, 2014 - permalink - http://obfuscurity.com/2012/04/Unhelpful-Graphite-Tip-8
    carbon dump graphite
  • Percona XtraDB Cluster 5.6, HAProxy and Debian Wheezy 7.0
    July 21, 2014 - permalink - http://www.mikemead.me/blog/percona-xtradb-cluster-debian-wheezy
    cluster haproxy mysql
  • https://github.com/NetSPI/sshkey-grab

    Bon ce code n'a pas marché chez moi... mais il faut bien garder en tête qu'une clé chargée avec un agent va résider en mémoire de manière non chiffrée ;)

    Et de la même manière, elle va résider en mémoire sur un hôte distant si on se connecte en 'ssh -A'. Donc potentiellement, quelqu'un qui a un accès root sur cette machine distante peut récupérer les clés privés des gens qui s'y connectent (en -A)

    github link via skunnyk

    July 21, 2014 - permalink - https://github.com/NetSPI/sshkey-grab
    key security ssh
  • Adding a directory to subversion, and ignoring the directory contents | Metal Toad

    Add the directory, while ignoring all of the files it contains:
    svn add -N [directory]

    After adding the directory enter the directory and run the following command:
    svn propset svn:ignore '*.*' .
    
    Commit your changes:
    svn commit -m "Added the directory and set the files within it to be ignored"
    
    July 21, 2014 - permalink - http://www.metaltoad.com/blog/adding-directory-subversion-and-ignoring-directory-contents
    svn
  • A Guide to Ruby Collections III: Enumerable and Enumerator
    July 19, 2014 - permalink - http://www.sitepoint.com/guide-ruby-collections-iii-enumerable-enumerator/
    enumerable ruby
  • %Q, %q, %W, %w, %x, %r, %s | Simple Ruby on Rails
    July 19, 2014 - permalink - http://simpleror.wordpress.com/2009/03/15/q-q-w-w-x-r-s/
    ruby
  • Ruby QuickRef | zenspider.com by ryan davis

    quelques bonnes bases

    July 19, 2014 - permalink - http://www.zenspider.com/Languages/Ruby/QuickRef.html#4
    ruby
  • Nginx modules by flavour
    July 18, 2014 - permalink - https://docs.google.com/spreadsheet/ccc?key=0AjuNPnOoex7SdG5fUkhfc3BCSjJQbVVrQTg4UGU2YVE#gid=0
    dotdeb module nginx
  • Brush up on your French with this Bastille Day flowchart - LA Times

    ce serait plus simple avec tu partout

    via sebsauvage

    July 18, 2014 - permalink - http://www.latimes.com/opinion/op-ed/la-og-bastile-vous-tu-20140711-htmlstory.html
    tu vous
  • totp [sebsauvage]

    HMAC-based One-time Password : pour se faire l'équivalent d'un token rsa (genre securid) soi-même en utilisant son smartphone, c'est top et facile à mettre en place :)

    July 18, 2014 - permalink - http://sebsauvage.net/wiki/doku.php?id=totp&#codiad
    auth login otp security
  • ▶ dotScale 2014 - Robert Kennedy - Life in the Trenches of healthcare.gov - YouTube

    nice conf

    July 17, 2014 - permalink - https://www.youtube.com/watch?v=GLQyj-kBRdo&list=PLMW8Xq7bXrG4pl13YVsKkaAUDeLdnrEQZ&index=14
    conf dotscale
  • ▶ Take a walk on the OPS side - Baptiste Dupain - PHP Tour Lyon 2014 #phptour - YouTube

    conf ops m6web bien cool!

    sysdig

    curl

    graphite/statsd

    collectd/sensu/seyren

    ELK(Elasticsearch, Logstash, Kibana)
    Elasticsearch :
    - sense(plugin chrome)
    - kopf(plugin coté serv Elasticsearch)

    jmeter/gatling
    siege/wrk
    tsung
    gor
    blitz.io, blazemater, neotys(saas)

    via skunnyk

    July 17, 2014 - permalink - https://www.youtube.com/watch?v=O03GflHG-WU&feature=youtu.be
    conf devops ops php
  • Adding Authentication with Devise - Rails Girls

    eaf auth with rails

    July 17, 2014 - permalink - http://guides.railsgirls.com/devise/
    auth devise finance rails ruby
  • 10 Docker Tips and Tricks That Will Make You Sing A Whale Song of Joy | Docker Blog
    July 16, 2014 - permalink - http://blog.docker.com/2014/07/10-docker-tips-and-tricks-that-will-make-you-sing-a-whale-song-of-joy/
    docker
  • Release: Chef Container 0.2.0 (beta) | Chef Blog

    C'est vrai que le Dockerfile est assez limité.. je pense que chef/puppet/xyz est nécessaire pour gérer un grand nombre de containers et surtout pour faciliter la maintenance et l'évolution de la configuration.

    via skunnyk

    July 16, 2014 - permalink - http://www.getchef.com/blog/2014/07/15/release-chef-container-0-2-0-beta/
    chef cocker configuration_management
  • Boutique du courrier : envoyer une lettre recommandée par internet - Lettre Recommandée en ligne

    pratique peut servir
    via sebsauvage

    July 11, 2014 - permalink - https://boutiqueducourrier.laposte.fr/lettre-recommandee-en-ligne#xtor=AL-56
    courrier poste
  • Step by step instructions for securing JMX authentication for nodetool utility, OpsCenter and JConsole : Support
    July 11, 2014 - permalink - https://support.datastax.com/entries/43692547-Step-by-step-instructions-for-securing-JMX-authentication-for-nodetool-utility-OpsCenter-and-JConsol
    authentication cassandra java jmx
  • https://github.com/philipl/pifs

    Pas con du tout comme idée... mais niveau perf c'est impossible d'obtenir quelquechose de bien :D

    July 11, 2014 - permalink - https://github.com/philipl/pifs
    fs pi
  • Compaction Improvements in Cassandra 2.1 : DataStax
    July 11, 2014 - permalink - http://www.datastax.com/dev/blog/compaction-improvements-in-cassandra-21
    cassandra
  • Dépôts APT locaux en entreprise | Vincent Bernat
    July 11, 2014 - permalink - http://vincent.bernat.im/fr/blog/2014-depots-apt-locaux.html
    apt
  • DevOps Best Practices: Finding the Right Tools
    July 11, 2014 - permalink - http://blog.newrelic.com/2014/06/02/devops-tools/
    devops
  • An introduction to Redis data types and abstractions – Redis
    July 11, 2014 - permalink - http://redis.io/topics/data-types-intro
    redis
  • Lima, cette start-up française qui pourrait prendre la place de Dropbox dans le cloud - Challenges
    July 11, 2014 - permalink - http://www.challenges.fr/high-tech/20140702.CHA5658/lima-cette-start-up-francaise-qui-pourrait-prendre-la-place-de-dropbox-dans-le-cloud.html
    cloud dropbox startupd
▼ Load 50 more