4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
newest first
  • git - How to amend the last commit to un-add a file? - Super User

    Pour enlever des fichiers d'un commit lors d'un rebase interactif : utiliser le keyword 'edit'
    Ensuite git reset HEAD^ path/to/file/to/revert
    Ensuite git commit --amend
    Ensuite git rebase --continue

    November 5, 2019 - permalink - https://superuser.com/questions/229290/how-to-amend-the-last-commit-to-un-add-a-file
    file git rebase remove
  • Note: rebase interactif en prenant tous les commits de la branche actuelle

    git rebase -i $(git merge-base HEAD master)

    alias grbb='git rebase -i $(git merge-base HEAD master)'

    November 5, 2019 - permalink - https://links.infomee.fr/shaare/_MBllQ
    git rebase
  • Open Source Password Management Solutions | Bitwarden

    free and can be self hosted

    November 4, 2019 - permalink - https://bitwarden.com/
    manager password
  • KeePass Tusk - Password Access and Autofill – Adoptez cette extension pour 🦊 Firefox (fr)
    November 4, 2019 - permalink - https://addons.mozilla.org/fr/firefox/addon/keepass-tusk/?src=search
    keepass
  • What Is a Network Load Balancer? - Elastic Load Balancing

    For UDP traffic, the load balancer selects a target using a flow hash algorithm based on the protocol, source IP address, source port, destination IP address, and destination port. A UDP flow has the same source and destination, so it is consistently routed to a single target throughout its lifetime. Different UDP flows have different source IP addresses and ports, so they can be routed to different targets.

    October 29, 2019 - permalink - https://docs.aws.amazon.com/elasticloadbalancing/latest/network/introduction.html
    aws nlb udp
  • k-rail/README.md at master · cruise-automation/k-rail · GitHub
    October 27, 2019 - permalink - https://github.com/cruise-automation/k-rail/blob/master/README.md#viewing-policy-violations
    k8s
  • How to paste yanked text to vim command-line? - Super User

    You can do " to paste from the default register or a to paste from register a.

    October 24, 2019 - permalink - https://superuser.com/questions/470727/how-to-paste-yanked-text-to-vim-command-line
    command paste vim
  • CPDoS: Cache Poisoned Denial of Service
    October 23, 2019 - permalink - https://cpdos.org/
    security
  • ElastiCache for Redis Terminology - Amazon ElastiCache for Redis
    October 23, 2019 - permalink - https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/WhatIs.Terms.html
    aws elasticache redis
  • GitHub - localstack/localstack: 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline!

    people are crazy

    October 21, 2019 - permalink - https://github.com/localstack/localstack
    aws dev local
  • Git Exercises
    October 18, 2019 - permalink - https://gitexercises.fracz.com/
    exercice git learn
  • Using Python Threading and Returning Multiple Results (Tutorial) | Shane Lynn
    October 18, 2019 - permalink - https://www.shanelynn.ie/using-python-threading-for-multiple-results-queue/
    python thread
  • Using Terraform for zero downtime updates of an Auto Scaling group in AWS
    October 17, 2019 - permalink - https://medium.com/@endofcake/using-terraform-for-zero-downtime-updates-of-an-auto-scaling-group-in-aws-60faca582664
    asg aws terraform
  • Cloud/AmazonEC2Image/Buster - Debian Wiki
    October 17, 2019 - permalink - https://wiki.debian.org/Cloud/AmazonEC2Image/Buster
    ami aws buster debian
  • https://www.stargatecommand.co/stories/allaccesspass

    Insta buy

    October 16, 2019 - permalink - https://www.stargatecommand.co/stories/allaccesspass
    Stargate
  • Note: git commit --fixup

    Pour modifier un commit sur sa branche qui est déjà plusieurs commits derrière HEAD
    1) modifier les fichiers..
    2) git add les fichiers
    3) git commit --fixup $hash_de_l_ancien_commit

    A partir de la un nouveau commit avec le commentaire fixup! est créé
    Ensuite on peut lancer le rebase interactif avec l'option autosquash qui va ordonner tout ça proprement :

    git rebase -i ancien_commit --autosquash

    il y a aussi l'option --squash pour git commit qui va squash dans le rebase interactif au lieu de fixup

    via Martin

    October 15, 2019 - permalink - https://links.infomee.fr/shaare/SbkwUw
    fixup git
  • GitHub - timberio/vector: A High-Performance, Logs, Metrics, & Events Router

    via Doo

    October 10, 2019 - permalink - https://github.com/timberio/vector
    log logs
  • GitHub - MichaelAquilina/zsh-autoswitch-virtualenv: 🐍 ZSH plugin to automatically switch python virtualenvs and Pipenvs as you move between directories
    October 10, 2019 - permalink - https://github.com/MichaelAquilina/zsh-autoswitch-virtualenv
    plugin python venv
  • Note: curl --resolve
           --resolve <host:port:address>
                  Provide  a  custom address for a specific host and port pair. Using this, you can make the curl requests(s) use a specified address and prevent the otherwise normally resolved address to be used. Con-
                  sider it a sort of /etc/hosts alternative provided on the command line. The port number should be the number used for the specific protocol the host will be used for. It means you need several entries
                  if you want to provide address for the same host but different ports.
    
                  The provided address set by this option will be used even if -4, --ipv4 or -6, --ipv6 is set to make curl use another IP version.
    
                  This option can be used many times to add many host names to resolve.
    
                  Added in 7.21.3.
    

    Plus propre que de jouer avec du -H Header et en plus le https ne rale pas

    October 9, 2019 - permalink - https://links.infomee.fr/shaare/tV1KDA
    curl
  • integrations-core/redisdb at master · DataDog/integrations-core · GitHub

    infos about datadog plugins

    October 8, 2019 - permalink - https://github.com/DataDog/integrations-core/tree/master/redisdb
    datadog redis
  • keyboard shortcuts - How to put current line at top/center/bottom of screen in vim? - Unix & Linux Stack Exchange

    zt
    zb
    zz

    zs
    ze

    October 6, 2019 - permalink - https://unix.stackexchange.com/questions/110251/how-to-put-current-line-at-top-center-bottom-of-screen-in-vim
    vim
  • Ce que personne ne te dira sur le métier de développeur - Je suis un dev

    via sebsauvage

    October 5, 2019 - permalink - https://www.jesuisundev.com/ce-que-personne-ne-te-dira-sur-le-metier-de-developpeur/
    dev
  • Pijp à Amsterdam, quartier "populaire" et bon vivant - Vanupied
    October 5, 2019 - permalink - https://www.vanupied.com/amsterdam/quartier-amsterdam/quartier-pijp-amsterdam.html
    amsterdam
  • Jordaan, quartier bourgeois bohème à Amsterdam - Vanupied
    October 5, 2019 - permalink - https://www.vanupied.com/amsterdam/quartier-amsterdam/jordaan-quartier-bobo-a-amsterdam.html
    amsterdam
  • Balade à vélo Amsterdam et ses Canaux | Amsterdam Vélo
    October 5, 2019 - permalink - https://www.amsterdam-velo.com/fr/tours/1/centre-ville-amsterdam
    amsterdam
  • PgBouncer - lightweight connection pooler for PostgreSQL
    September 26, 2019 - permalink - https://pgbouncer.github.io/
    connection pool postgresql
  • Load Balancing, Affinity, Persistence, Sticky Sessions: What You Need to Know - HAProxy Technologies
    September 17, 2019 - permalink - https://www.haproxy.com/blog/load-balancing-affinity-persistence-sticky-sessions-what-you-need-to-know/
    haproxy sticky
  • Tutorial: Specifying Sensitive Data Using Secrets Manager Secrets - Amazon Elastic Container Service
    September 13, 2019 - permalink - https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-tutorial.html
    aws ecs secrets
  • GitHub - silinternational/ecs-deploy: Simple shell script for initiating blue-green deployments on Amazon EC2 Container Service (ECS)
    September 13, 2019 - permalink - https://github.com/silinternational/ecs-deploy
    aws ecs fargate
  • [Feature] Auto Fix · Issue #1220 · koalaman/shellcheck · GitHub

    shellcheck a maintenant une option pour auto fix

    shellcheck restore.sh -f diff | git apply

    September 11, 2019 - permalink - https://github.com/koalaman/shellcheck/issues/1220
    bash shellcheck
  • Introduction | eksctl
    September 11, 2019 - permalink - https://eksctl.io/
    aws eks
  • GitHub - jkehler/awslambda-psycopg2
    September 2, 2019 - permalink - https://github.com/jkehler/awslambda-psycopg2
    aws lambda postgresql psycopg2 python
  • AWS Lambda Deployment Package in Python - AWS Lambda
    September 2, 2019 - permalink - https://docs.aws.amazon.com/lambda/latest/dg/lambda-python-how-to-create-deployment-package.html
    lambda
  • python - Pip install --target=. Alfred-Workflow gives an error - Stack Overflow

    $ echo "[install]
    prefix=" > ~/.pydistutils.cfg

    September 2, 2019 - permalink - https://stackoverflow.com/questions/41640935/pip-install-target-alfred-workflow-gives-an-error
    lambda pip target
  • GitHub - claranet/terraform-aws-lambda: Terraform module for AWS Lambda functions
    September 2, 2019 - permalink - https://github.com/claranet/terraform-aws-lambda
    aws lambda terraform
  • QWERTY - Wikipedia

    J'ai toujours voulu faire le changement azerty -> qwerty, j'ai essayé une fois sans succès, mais là je suis determiné, je fais le switch complet et je ne reviens pas en arrière !

    Marre de galérer à faire des brackets ou des crochets, trop de caractères inutiles sur le layout, les chiffres accessibles seulement avec shift.. bref marre d'azerty

    Pour faciliter la transition sans se ruiner : https://www.amazon.fr/gp/product/B00A4G2F26

    August 28, 2019 - permalink - https://en.wikipedia.org/wiki/QWERTY
    qwerty
  • scroll - How to move screen without moving cursor in Vim? - Stack Overflow

    Additionally:

    Ctrl-y Moves screen up one line
    Ctrl-e Moves screen down one line
    Ctrl-u Moves cursor & screen up ½ page
    Ctrl-d Moves cursor & screen down ½ page
    Ctrl-b Moves screen up one page, cursor to last line
    Ctrl-f Moves screen down one page, cursor to first line
    

    Ctrl-y and Ctrl-e only change the cursor position if it would be moved off screen.

    August 26, 2019 - permalink - https://stackoverflow.com/questions/3458689/how-to-move-screen-without-moving-cursor-in-vim
    move vim
  • Note: tag git annotated

    git tag -a 1.0.1 -m "1.0.1"
    git push --tags

    August 23, 2019 - permalink - https://links.infomee.fr/shaare/UJKhew
    git tag
  • Working with GPUs on Amazon ECS - Amazon Elastic Container Service
    August 21, 2019 - permalink - https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html
    aws gpu
  • API failures Error Messages - Amazon Elastic Container Service

    Your task definition contains a parameter that requires a specific container instance attribute that is not available on your container instances. For example, if your task uses the awsvpc network mode, but there are no instances in your specified subnets with the ecs.capability.task-eni attribute. For more information about which attributes are required for specific task definition parameters and agent configuration variables, see Task Definition Parameters and Amazon ECS Container Agent Configuration.

    August 21, 2019 - permalink - https://docs.amazonaws.cn/en_us/AmazonECS/latest/developerguide/api_failures_messages.html
    aws ecs
  • GitHub - dhruvasagar/vim-zoom: Toggle zoom in / out individual windows (splits)
    August 20, 2019 - permalink - https://github.com/dhruvasagar/vim-zoom
    plugin vim zoom
  • HTTPie – command line HTTP client
    August 18, 2019 - permalink - https://httpie.org/
    curl
  • Curlie | curlie
    August 18, 2019 - permalink - https://curlie.io/
    curl
  • Best Practices — Ansible Documentation

    ansible directory structure

    August 17, 2019 - permalink - https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html
    ansible
  • Is better way to zoom windows in Vim than ZoomWin? - Stack Overflow

    I try to use vim without any plugins as I don't want to rely on them when I work on another system. Coming upon this same issue now, I can propose some 'better ways' (alternative ways) as requested by the OP:

    c-w-| to have window take over (if using vsplits). c-w-= to restore. c-w-_ for horizontal splits
    close the other window(s), thereby making current one fullscreen. Split and re-open from buffer to restore
    
    August 17, 2019 - permalink - https://stackoverflow.com/questions/13194428/is-better-way-to-zoom-windows-in-vim-than-zoomwin
    vim zoom
  • All the right moves | Vim Tips Wiki | FANDOM powered by Wikia
    August 16, 2019 - permalink - https://vim.fandom.com/wiki/All_the_right_moves
    move vim
  • Writing a Kubernetes Operator in Python without frameworks and SDK

    simple example on how to write a kubernetes operator

    August 16, 2019 - permalink - https://medium.com/flant-com/kubernetes-operator-in-python-451f2d2e33f3
    k8s operator python
  • Jerry Hargrove | History of Amazon Web Services

    SQS first service :|

    August 15, 2019 - permalink - https://www.awsgeek.com/pages/AWS-History/
    aws history
  • Support for pulling ECR images from another AWS account? · Issue #308 · aws/amazon-ecs-agent · GitHub

    $(aws ecr get-login –registry-ids --region )

    August 12, 2019 - permalink - https://github.com/aws/amazon-ecs-agent/issues/308
    crossaccount ecr
  • postgresql - List the database privileges using psql - Database Administrators Stack Exchange

    SELECT grantee, table_name , privilege_type
    FROM information_schema.role_table_grants
    WHERE grantee = 'readwrite'

    August 12, 2019 - permalink - https://dba.stackexchange.com/questions/4286/list-the-database-privileges-using-psql
    grants postgresql
▼ Load 50 more