4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
newest first
  • Note: Install latest stable docker-compose

    INSTALL

    sudo curl -sL https://github.com/docker/compose/releases/download/$(curl -is https://github.com/docker/compose/releases/latest|grep Location|awk -F/ '{print $NF}'|grep -Po '[0-9.]+')/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose ; sudo chmod +x /usr/local/bin/docker-compose ; docker-compose -v

    UPDATE

    docker-compose -v ; sudo rm /usr/local/bin/docker-compose ; sudo curl -sL https://github.com/docker/compose/releases/download/$(curl -is https://github.com/docker/compose/releases/latest|grep Location|awk -F/ '{print $NF}'|grep -Po '[0-9.]+')/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose ; sudo chmod +x /usr/local/bin/docker-compose ; docker-compose -v

    June 27, 2018 - permalink - https://links.infomee.fr/shaare/96fr1A
    compose docker install
  • Revisiting Docker and Jenkins | Riot Games Engineering
    June 18, 2018 - permalink - https://engineering.riotgames.com/news/revisiting-docker-and-jenkins
    ci docker jenkins
  • app/README.md at master · docker/app · GitHub
    June 18, 2018 - permalink - https://github.com/docker/app/blob/master/README.md
    docker
  • GitHub - jirsbek/SSH-keys-in-macOS-Sierra-keychain: Saving SSH keys in macOS Sierra keychain

    Solution 1 (recommended)

    Apple updated its Technical Notes to indicate that since 10.12.2, macOS includes version 7.3p1 of OpenSSH and its new behaviors.

    In ~/.ssh create config file with the following content:

    Host * (asterisk for all hosts or add specific host)
    AddKeysToAgent yes
    UseKeychain yes
    IdentityFile (e.g. ~/.ssh/userKey)

    June 11, 2018 - permalink - https://github.com/jirsbek/SSH-keys-in-macOS-Sierra-keychain
    mac ssh
  • Note: je m'en souviendrai jamais

    cela suffit
    cela ne suffit pas

    cela a suffi
    cela n'a pas suffi

    June 8, 2018 - permalink - https://links.infomee.fr/shaare/f7WQeA
    français french
  • Courses | Wes Bos
    June 7, 2018 - permalink - https://wesbos.com/courses/
    javascript js learn
  • dotfiles/ecc at master · arnaudmm/dotfiles

    when you are bored doing docker exec -ti foo bash

    June 6, 2018 - permalink - https://github.com/arnaudmm/dotfiles/blob/master/ecc
    docker
  • Goploader
    June 5, 2018 - permalink - https://docs.gpldr.in/
    auto file share sharing
  • pms-docker/README.md at master · plexinc/pms-docker
    June 4, 2018 - permalink - https://github.com/plexinc/pms-docker/blob/master/README.md
    docker plex
  • s6-overlay/README.md at master · just-containers/s6-overlay
    June 4, 2018 - permalink - https://github.com/just-containers/s6-overlay/blob/master/README.md
    docker init s6
  • How can I permanently add my SSH private key to Keychain so it is automatically available to ssh? - Ask Different
    June 3, 2018 - permalink - https://apple.stackexchange.com/questions/48502/how-can-i-permanently-add-my-ssh-private-key-to-keychain-so-it-is-automatically
    mac ssh
  • macos - iTerm2: Alt-Dot functionality with Cmd-Dot - Super User

    Create a new key shortcut

    alt + shit + ;

    send escape sequence + "."

    June 3, 2018 - permalink - https://superuser.com/questions/703911/iterm2-alt-dot-functionality-with-cmd-dot
    alt dot iterm2 mac repeat
  • Python-programming-exercises/100+ Python challenging programming exercises.txt at master · zhiwehu/Python-programming-exercises · GitHub
    May 28, 2018 - permalink - https://github.com/zhiwehu/Python-programming-exercises/blob/master/100%2B%20Python%20challenging%20programming%20exercises.txt
    algo code dev python
  • Encore Installation (Symfony Docs)
    May 22, 2018 - permalink - https://symfony.com/doc/current/frontend/encore/installation.html
    encore symfony webpack
  • Using Symfony Flex to Manage Symfony Applications (Symfony Docs)
    May 22, 2018 - permalink - https://symfony.com/doc/current/setup/flex.html
    flex symfony
  • x264 : mes presets
    May 21, 2018 - permalink - http://humanize.me/x264/
    ffmpeg
  • Note: docker port

    Pour binder par defaut sur 127.0.0.1
    /etc/docker/daemon.json → "ip": "127.0.0.1"

    via Doo

    May 17, 2018 - permalink - https://links.infomee.fr/shaare/bjo6gw
    docker network port
  • Unix/Linux find and sort by date modified - Super User

    find . -printf "%T@ %Tc %p\n" | sort -n

    printf arguments from man find:

    %Tk: File's last modification time in the format specified by k.
    
    @: seconds since Jan. 1, 1970, 00:00 GMT, with fractional part.
    
    c: locale's date and time (Sat Nov 04 12:02:33 EST 1989).
    
    %p: File's name.
    
    May 15, 2018 - permalink - https://superuser.com/questions/294161/unix-linux-find-and-sort-by-date-modified
    find order
  • Note: docker clean

    docker system df
    docker system prune
    docker system prune --all
    docker volume prune

    May 14, 2018 - permalink - https://links.infomee.fr/shaare/9wYw4w
    clean df docker
  • Git Alias to Show Affected Files in Last N Commits (Example)

    Add this to your user's ~/.gitconfig under [alias] to make it globally available:

    lsch = "!f() { git diff --name-status -r "HEAD~$1"; }; f"

    You can invoke this to retrieve all affected files in the last 7 commits like so:

    $ git lsch 7

    May 3, 2018 - permalink - https://coderwall.com/p/8rtfgg/git-alias-to-show-affected-files-in-last-n-commits
    alias git
  • Feathers | Instant Realtime and REST APIs for Node.js
    April 21, 2018 - permalink - https://feathersjs.com/
    js rest
  • Understanding how uid and gid work in Docker containers
    April 18, 2018 - permalink - https://medium.com/@mccode/understanding-how-uid-and-gid-work-in-docker-containers-c37a01d01cf
    docker gid uid
  • Why option rotate in resolv.conf picks up second nameserver as first every time? - Red Hat Customer Portal

    this is insane

    April 18, 2018 - permalink - https://access.redhat.com/solutions/1426263
    dns redhat resolv
  • Routing ( FOS Rest Bundle Docs)

    this is insane

    April 17, 2018 - permalink - https://symfony.com/doc/current/bundles/FOSRestBundle/5-automatic-route-generation_single-restful-controller.html
    rest symfony
  • Symfony Security Monitoring
    April 5, 2018 - permalink - https://security.symfony.com/
    symfony
  • javascript - Is a list/array valid JSON? - Stack Overflow

    31
    down vote
    accepted

    Both forms are valid. However, for an API, I would recommend the second form. The reason is that it gives you a path for expansion of your API.

    For example, if you have an API getUsersInGroup which returns an array of user objects, and later you decide you want to include, say, some aggregate statistics about the users being returned, there's no easy way to do that without breaking existing clients (or including lots of redundant data in each user object). If you use an object, you simply add another field to the object which is silently ignored by clients on a previous version of the API.

    In short, try to avoid top-level primitives wherever possible in your API, and you'll find it easier to expand in the future.

    March 26, 2018 - permalink - https://stackoverflow.com/questions/19623339/is-a-list-array-valid-json
    api json
  • SELECT – Redis

    Today I worked with an app storing its key not into the default 'database/namespace' in redis.

    (default is 0)

    The app stores into 12. So I had to 'select 12' before being able to query keys

    March 24, 2018 - permalink - https://redis.io/commands/select
    redis
  • Conférence sur l’analyse de malwares – Korben

    interessant, ça a l'air sympa comme job!

    TIL : strings command

    March 23, 2018 - permalink - https://korben.info/conference-sur-lanalyse-de-malwares.html
    conf ovh security
  • EC2 Instance Types & Pricing
    March 20, 2018 - permalink - http://ec2pricing.net/beta/
    compare ec2 list price
  • Configure HAProxy for userlists

    Create SHA512 passwords

    make sure to use a leading space so that the command is not stored in your bash history!!

    mkpasswd -m sha-512 password1

    generates -> $6$yMgsow58.g/Z$mBjHfdVzqcF/LN.iwV23Eyqg.yGPTsp9pOwaStsJ6c4I4zL7BhucVVAkv5guf7OVRr8Pw0mHF4NrWBRCG5ci7/

    mkpasswd -m sha-512 password2

    generates -> $6$RZ86vRkQ$aRKN1HOsk6bDHBbMhS7jSo/p1NGFl4PvwY3KpU.72i./LvITi41nL84EkxOFXl.6Bmhynj/L7pYbfF0rUHtOB0

    Edit /etc/haproxy/haproxy.cfg

    userlist UsersFor_Ops
    group AdminGroup users userone,usertwo
    user userone password $6$yMgsow58.g/Z$mBjHfdVzqcF/LN.iwV23Eyqg.yGPTsp9pOwaStsJ6c4I4zL7BhucVVAkv5guf7OVRr8Pw0mHF4NrWBRCG5ci7/
    user usertwo password $6$RZ86vRkQ$aRKN1HOsk6bDHBbMhS7jSo/p1NGFl4PvwY3KpU.72i./LvITi41nL84EkxOFXl.6Bmhynj/L7pYbfF0rUHtOB0

    ...

    backend myserver
    mode http
    server myserver 1.1.1.1:80
    acl AuthOkay_Ops http_auth(UsersFor_Ops)
    http-request auth realm MyAuthRealm if !AuthOkay_Ops

    March 16, 2018 - permalink - https://gist.github.com/Iristyle/5005653
    haproxy nomarkdown
  • Pourquoi je laisse tomber un emploi payé plus de 5.000 Euros net / mois - Pas de Stress
    February 14, 2018 - permalink - https://www.pas-de-stress.com/pourquoi-je-laisse-tomber-un-emploi-paye-plus-de-5-000-euros-net-mois/
    business job
  • Git push rejected after feature branch rebase - Stack Overflow

    Instead of using -f or --force developers should use

    --force-with-lease

    Why? Because it checks the remote branch for changes which is absolutely a good idea. Let's imagine that James and Lisa are working on the same feature branch and Lisa has pushed a commit. James now rebases his local branch and is rejected when trying to push. Of course James thinks this is due to rebase and uses --force and would rewrite all Lisa's changes. If James had used --force-with-lease he would have received a warning that there are commits done by someone else. I don't see why anyone would use --force instead of --force-with-lease when pushing after a rebase.

    January 25, 2018 - permalink - https://stackoverflow.com/questions/8939977/git-push-rejected-after-feature-branch-rebase
    git push rebase
  • 4 AJAX Patterns For Vue.js Apps
    January 17, 2018 - permalink - https://vuejsdevelopers.com/2017/08/28/vue-js-ajax-recipes/
    pattern vue xhr
  • Quickstart — Requests 2.18.4 documentation

    Good to know because it hurts me so bad:
    When doing a put/post request with requests library, if the response is a redirect, request do the request again BUT with GET method...

    -,-

    January 11, 2018 - permalink - http://docs.python-requests.org/en/master/user/quickstart/#redirection-and-history
    python redirect requests
  • A Masscan Tutorial and Primer
    January 6, 2018 - permalink - https://danielmiessler.com/study/masscan/
    nmap port scan
  • Note: Docker space disk

    My /var/lib/docker folder was non empty (12GB) event after big cleanup (containers, images, volumes..)

    It's a known issue with some layers not removed when you do docker rm -f (force)

    Solution : service docker stop; rm -rf /var/lib/docker/*; service docker start

    :-/

    January 5, 2018 - permalink - https://links.infomee.fr/shaare/22DTwA
    docker
  • unicode - grepping binary files and UTF16 - Stack Overflow

    The easiest way is to just convert the text file to utf-8 and pipe that to grep:

    iconv -f utf-16 -t utf-8 file.txt | grep query

    January 5, 2018 - permalink - https://stackoverflow.com/questions/3752913/grepping-binary-files-and-utf16
    grep utf
  • Thunderbolt 3, USB-C, USB 3.1 : ce qu'il faut savoir | MacGeneration
    January 4, 2018 - permalink - https://www.macg.co/mac/2015/06/thunderbolt-3-usb-c-usb-31-ce-quil-faut-savoir-89268
    usb
  • How To Build A Simple Single Page Application Using Vue 2 (Part 1) ― Scotch
    January 2, 2018 - permalink - https://scotch.io/tutorials/how-to-build-a-simple-single-page-application-using-vue-2-part-1
    js spa vue
  • ldapsearch for operational attribute | CA Communities

    The operational attributes contained in an entry can be returned by ldapsearch by:

    Explicitly listing them

    ldapsearch -x -h host:port -b c=au "(oc=*)" createTimestamp modifyTimestamp
    

    Or by returning all of them with the special + character

    ldapsearch -x -h host:port -b c=au "(oc=*)" +
    

    Or all attributes including operational attributes can be returned by including "*" +

    ldapsearch -x -h host:port -b c=au "(oc=*)" "*" +
    
    December 28, 2017 - permalink - https://communities.ca.com/thread/241762082-ldapsearch-for-operational-attribute
    ldap
  • mod_log_config - Apache HTTP Server Version 2.4

    %{VARNAME}o The contents of VARNAME: header line(s) in the reply.
    %{VARNAME}i The contents of VARNAME: header line(s) in the request sent to the server.

    December 22, 2017 - permalink - http://httpd.apache.org/docs/current/mod/mod_log_config.html#logformat
    apache header log
  • Note: Escape game Annecy

    https://secretroom.fr/
    https://www.laclefdeschampsannecy.com/
    http://www.mysteresdulac.com/escape-games-annecy
    https://www.latelierdesenigmes.fr/en/

    December 21, 2017 - permalink - https://links.infomee.fr/shaare/pSrqmQ
    escape game games
  • Performance (Symfony 3.4 Docs)
    December 17, 2017 - permalink - http://symfony.com/app.php/doc/3.4/performance.html
    perf php symfony
  • DevOps, Docker, and Empathy

    from ifttt pocket

    December 14, 2017 - permalink - http://jpetazzo.github.io/2017/10/31/devops-docker-empathy/
    devops docker
  • Netflix: What Happens When You Press Play?

    from ifttt pocket

    December 14, 2017 - permalink - http://highscalability.com/blog/2017/12/11/netflix-what-happens-when-you-press-play.html
    aws netflix
  • buildkite/sockguard: A proxy for docker.sock that enforces access control and isolated privileges
    December 13, 2017 - permalink - https://github.com/buildkite/sockguard
    docket security socket
  • Deployment Strategies Defined
    December 9, 2017 - permalink - http://blog.itaysk.com/2017/11/20/deployment-strategies-defined
    deploy strategy
  • 7 Habits of Highly Successful Site Reliability Engineers
    December 9, 2017 - permalink - https://blog.newrelic.com/2017/11/13/site-reliability-engineer-sre-habits/
    devops sre
  • sysadvent: Day 9 - Using Kubernetes for multi-provider, multi-region batch jobs
    December 9, 2017 - permalink - http://sysadvent.blogspot.fr/2017/12/day-9-using-kubernetes-for-multi.html
    aws docker k8s
  • docker-sync by EugenMayer
    December 9, 2017 - permalink - http://docker-sync.io/
    dev docker mac perf
▼ Load 50 more