4349 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 107 / 218
Newer►
  • HAProxy packages for Debian and Ubuntu
    May 26, 2014 at 1:12:07 PM GMT+2 - permalink - archive.org - http://haproxy.debian.net/
    debian haproxy sys
  • Things I've found useful » Blog Archive » Bash SSH known_hosts tab completion

    This morning a discussion with a friend about various shells lead me to think it would be nice if my bash shell could tab complete hostnames from .ssh/known_hosts when I type ‘ssh <tab>’. I soon found this blog post which nicely documents how to do it. I made a directory in $HOME called .bash.completion and then added this to my .profile, which loops round any files in there, sourcing them individually:

    if [ -d ${HOME}/.bash.completion ]; then
    for file in ${HOME}/.bash.completion/* ; do
    source $file
    done
    fi

    All sorted. However, it wasn’t long before I discovered that ‘ssh user@<tab>’ doesnt work, I tend to use this quite a lot so wanted to see if I could fix up the bash function to support that use case. Bit of hacking around and I’ve got it working, the replacement ssh-completion file is shown below:

    Add bash completion for ssh: it tries to complete the host to which you

    want to connect from the list of the ones contained in ~/.ssh/known_hosts

    __ssh_known_hosts() {
    if [[ -f ~/.ssh/known_hosts ]]; then
    cut -d " " -f1 ~/.ssh/known_hosts | cut -d "," -f1
    fi
    }
    _ssh() {
    local cur known_hosts
    COMPREPLY=()
    cur="${COMP_WORDS[COMP_CWORD]}"
    known_hosts="$(__ssh_known_hosts)"
    if [[ ! ${cur} == - ]] ; then
    if [[ ${cur} ==
    @ ]] ; then
    COMPREPLY=( $(compgen -W "${known_hosts}" -P ${cur/@
    /}@ -- ${cur/*@/}) )
    else
    COMPREPLY=( $(compgen -W "${known_hosts}" -- ${cur}) )
    fi
    fi
    return 0
    }
    complete -o bashdefault -o default -o nospace -F _ssh ssh 2>/dev/null \
    || complete -o default -o nospace -F _ssh ssh

    May 26, 2014 at 10:06:39 AM GMT+2 - permalink - archive.org - http://usefulthings.org.uk/2013/04/bash-ssh-known_hosts-tab-completion/
    autocomplete ssh
  • https://github.com/capistrano/capistrano
    May 23, 2014 at 3:33:33 PM GMT+2 - permalink - archive.org - https://github.com/capistrano/capistrano
    orchestration techno
  • Apache Aurora
    • http://mesos.apache.org/

    isolate like docker + service scheduling + health checking

    May 23, 2014 at 3:28:21 PM GMT+2 - permalink - archive.org - http://aurora.incubator.apache.org/
    techno
  • Difference between save and export in Docker | Thomas Uhrig
    May 22, 2014 at 1:52:52 PM GMT+2 - permalink - archive.org - http://tuhrig.de/difference-between-save-and-export-in-docker/
    docker export import load save
  • Dockerfile Best Practices

    Quelques best practice concernant les Dockerfile
    On peut se servir de Docker de plein de façon différentes, alors quelques repères ça ne fait pas mal

    May 22, 2014 at 10:33:45 AM GMT+2 - permalink - archive.org - http://crosbymichael.com/dockerfile-best-practices.html
    docker
  • Top 20+ MySQL Best Practices - Tuts+ Code Tutorial
    May 21, 2014 at 2:19:29 PM GMT+2 - permalink - archive.org - http://code.tutsplus.com/tutorials/top-20-mysql-best-practices--net-7855
    mysql
  • Le fonctionnement de la compression Gzip - Alsacreations

    vraiment bien expliqué!

    via sebsauvage

    May 21, 2014 at 1:36:31 PM GMT+2 - permalink - archive.org - http://www.alsacreations.com/astuce/lire/1627-fonctionnement-compression-gzip.html
    compression gzip zip
  • Nmap Cheat Sheet: From Discovery to Exploits, Part 2: Advance Port Scanning with Nmap And Custom Idle Scan - InfoSec Institute

    jme garde ça pour plus tard

    • part1 : http://resources.infosecinstitute.com/nmap-cheat-sheet/

    via arnaudb

    May 21, 2014 at 12:56:26 PM GMT+2 - permalink - archive.org - http://resources.infosecinstitute.com/nmap-cheat-sheet-discovery-exploits-part-2-advance-port-scanning-nmap-custom-idle-scan/
    networking nmap
  • gaudi

    Une surcouche à docker pour organiser ses containers et les liens qu'il y a entre eux

    May 20, 2014 at 6:04:41 PM GMT+2 - permalink - archive.org - http://gaudi.io/
    docker
  • thumbnail
    https://github.com/Cakebox/Cakebox-light

    à tester pour voir.. si ça ne fait que du listing de dir, autant utiliser l'autoindex d'apache.

    May 20, 2014 at 1:31:42 PM GMT+2 - permalink - archive.org - https://github.com/Cakebox/Cakebox-light
    torrent
  • Deis | Your Paas. Your Rules.
    May 20, 2014 at 11:49:18 AM GMT+2 - permalink - archive.org - http://deis.io/
    docker techno
  • Community — SaltStack
    May 20, 2014 at 11:22:38 AM GMT+2 - permalink - archive.org - http://www.saltstack.com/community/
    techno
  • Flynn - The product that ops provides to developers
    May 20, 2014 at 11:10:59 AM GMT+2 - permalink - archive.org - https://flynn.io/
    docker techno
  • Consul - HashiCorp
    May 20, 2014 at 11:10:45 AM GMT+2 - permalink - archive.org - http://www.hashicorp.com/blog/consul.html
    techno
  • 30 Python Language Features and Tricks You May Not Know About
    May 19, 2014 at 1:40:48 PM GMT+2 - permalink - archive.org - http://sahandsaba.com/thirty-python-language-features-and-tricks-you-may-not-know.html
    python
  • thumbnail
    sysadvent: Day 13 - Configuration Management as Legos
    May 19, 2014 at 12:57:31 PM GMT+2 - permalink - archive.org - http://sysadvent.blogspot.co.uk/2012/12/day-13-configuration-management-as-legos.html
    design-pattern puppet
  • Redis4You Redis Hosting | Article Library | Why RDBMS and SQL are difficult...
    May 19, 2014 at 8:20:15 AM GMT+2 - permalink - archive.org - http://redis4you.com/articles.php?id=004&name=Why+RDBMS+and+SQL+are+difficult
    redis sql
  • Le déploiement par conteneurs avec Docker | Sam & Max: Python, Django, Git et du cul

    sam qui teste docker ^^

    May 16, 2014 at 4:45:19 PM GMT+2 - permalink - archive.org - http://sametmax.com/le-deploiement-par-conteneurs-avec-docker/
    docker
  • When to Hiera (Aka: How Do I Module?) - Shit Gary Says

    Deux patterns pour séparer les data du code dans puppet : "the params class pattern" et Hiera

    May 16, 2014 at 11:51:31 AM GMT+2 - permalink - archive.org - http://garylarizza.com/blog/2013/12/08/when-to-hiera/
    hiera param puppet
Links per page: 20 50 100
◄Older
page 107 / 218
Newer►
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation