4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
newest first
  • A Guide to Locally Testing Containers with Amazon ECS Local Endpoints and Docker Compose | AWS Compute Blog

    Un container pour émuler en local l'api metadata et ainsi endosser un role
    https://github.com/awslabs/amazon-ecs-local-container-endpoints

    October 16, 2020 - permalink - https://aws.amazon.com/blogs/compute/a-guide-to-locally-testing-containers-with-amazon-ecs-local-endpoints-and-docker-compose/
    aws dev local metadata
  • Amazon ECS events - Amazon Elastic Container Service
    October 16, 2020 - permalink - https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_cwe_events.html
    cloudwatch ecs event
  • Note: python natural sort

    def atoi(text):
    return int(text) if text.isdigit() else text

    def natural_keys(text):
    return [ atoi(c) for c in re.split(r'(\d+)', text) ]

    my_list.sort(key=natural_keys)

    October 9, 2020 - permalink - https://links.infomee.fr/shaare/6OC8rw
    python sort
  • SchemaSpy • Database Documentation Built Easy.

    Un outils pour visualiser son schema

    via Flavio

    October 7, 2020 - permalink - http://schemaspy.org/
    postgresql schema visu
  • GitHub - darold/pgFormatter: A PostgreSQL SQL syntax beautifier that can work as a console program or as a CGI. On-line demo site at http://sqlformat.darold.net/
    October 7, 2020 - permalink - https://github.com/darold/pgFormatter
    format lint linter postgresql
  • Everything You Need to Know About Python's Namedtuples
    October 4, 2020 - permalink - https://miguendes.me/everything-you-need-to-know-about-pythons-namedtuples-ckfim70u102jbots197jn0zmh#why-should-i-use-namedtuples
    data namedtuple python type
  • typing — Support for type hints — Python 3.8.6 documentation
    October 4, 2020 - permalink - https://docs.python.org/3/library/typing.html
    python typing
  • Making Concurrent HTTP requests with Python AsyncIO | LAAC Technology
    October 4, 2020 - permalink - https://www.laac.dev/blog/concurrent-http-requests-python-asyncio/
    async python
  • simple-term-menu · PyPI

    Au top pour faire des petits helper en cmd line

    October 2, 2020 - permalink - https://pypi.org/project/simple-term-menu/
    interactif menu python
  • Note: Replace literal \n with actual newline

    sed 's/\n/\n/g' /tmp/t

    September 30, 2020 - permalink - https://links.infomee.fr/shaare/cXcMlg
    backslash literal log logs n nomarkdown replace sed
  • Using Custom Plugin Indexes · Krew
    September 28, 2020 - permalink - https://krew.sigs.k8s.io/docs/user-guide/custom-indexes/
    k8s plugins
  • GitHub - env0/terratag: Terratag is a CLI tool that enables users of Terraform to automatically create and maintain tags across their entire set of AWS, Azure, and GCP resources
    September 21, 2020 - permalink - https://github.com/env0/terratag
    tag terraform
  • Kubernetes clients and dashboards: a comparison - Yolan Vloeberghs and Pieter Vincken — Ordina JWorks Tech Blog
    September 21, 2020 - permalink - https://ordina-jworks.github.io/cloud/2020/08/28/kubernetes-clients-comparison.html
    k8s
  • GitHub CLI 1.0 is now available - The GitHub Blog

    J'utilisais https://hub.github.com/ jusqu'a present mais je vais surement changer, github cli a l'air plus intuitif et interactif

    September 21, 2020 - permalink - https://github.blog/2020-09-17-github-cli-1-0-is-now-available/
    cli github
  • GitHub - gnebbia/kb: A minimalist knowledge base manager

    ce petit projet a l'air top mais j'ai tellement pris l'habitude d'utiliser shaarli pour stocker tout plein de choses

    September 21, 2020 - permalink - https://github.com/gnebbia/kb
    kb knowledge shaarli tools
  • Django and its default values. A little story of a common Django… | by David Wobrock | Botify Labs | Sep, 2020 | Medium
    September 18, 2020 - permalink - https://medium.com/botify-labs/django-and-its-default-values-c21a13cff9f
    default django sql
  • Primer on Python Decorators – Real Python
    September 17, 2020 - permalink - https://realpython.com/primer-on-python-decorators/#debugging-code
    decorator python
  • Get newsletters in Feedly

    Ça c'est bien cool! Presque envie de prendre l'offre pro de Feedly

    September 15, 2020 - permalink - https://blog.feedly.com/get-newsletters-in-feedly/
    feedly mail
  • Compare prices across all Amazon european stores
    September 15, 2020 - permalink - https://www.hagglezon.com/
    amazon
  • Bourse : Tout savoir sur le carnet d'ordres | Apprendre-mesFinances
    September 13, 2020 - permalink - http://apprendre-mesfinances.com/bourse-tout-savoir-sur-le-carnet-ordres.html
    bourse carnet finance ordre pea
  • HashiCorp Terraform 0.12 Preview: For and For-Each

    for and for_each
    + https://learn.hashicorp.com/tutorials/terraform/for-each?utm_source=WEBSITE&utm_medium=WEB_BLOG&utm_offer=ARTICLE_PAGE

    September 10, 2020 - permalink - https://www.hashicorp.com/blog/hashicorp-terraform-0-12-preview-for-and-for-each
    for for_each terraform
  • Note: str to bool

    from distutils.util import strtobool

    bool(strtobool('true'))

    FOO = bool(strtobool(os.environ['FOO']))

    September 7, 2020 - permalink - https://docs.python.org/3/distutils/apiref.html#distutils.util.strtobool
    boolean python
  • Copy files to clipboard using command line on OSX (Example)
    September 3, 2020 - permalink - https://coderwall.com/p/osbzzq/copy-files-to-clipboard-using-command-line-on-osx
    copy mac paste pbcopy
  • Note: billet reduc

    Comedie : https://www.billetreduc.com/R/54/liste.htm?dep=75
    One man show : https://www.billetreduc.com/R/90/liste.htm?dep=75

    September 3, 2020 - permalink - https://links.infomee.fr/shaare/w2z8CA
    billetreduc onemanshow paris theatre
  • Benchmarks - FastAPI
    September 2, 2020 - permalink - https://fastapi.tiangolo.com/benchmarks/
    async fastapi python web
  • Introducing the AWS Controllers for Kubernetes (ACK) | Containers

    Gérer des resources aws avec un controller kube fourni par aws

    August 31, 2020 - permalink - https://aws.amazon.com/blogs/containers/aws-controllers-for-kubernetes-ack/
    aws controller k8s
  • Share Process Namespace between Containers in a Pod | Kubernetes

    TIL

    August 31, 2020 - permalink - https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
    k8s
  • Alexis Le Rossignol - Morosité? - YouTube

    :D

    August 24, 2020 - permalink - https://youtu.be/oOg12G_74_s
    remote teletravail youtube
  • GitHub - hartwork/git-delete-merged-branches: Command-line tool to delete merged Git branches
    August 16, 2020 - permalink - https://github.com/hartwork/git-delete-merged-branches
    delete git merge
  • Firefly III - A free and open source personal finances manager
    August 7, 2020 - permalink - https://www.firefly-iii.org/
    budget finance opensource
  • GitHub - phzietsman/tft: terraform targeted applies made easy, aka making it easy to do dumb stuff.
    August 4, 2020 - permalink - https://github.com/phzietsman/tft
    terraform
  • Invalid CPU or memory value specified - Amazon Elastic Container Service

    Combinaisons possibles

    July 31, 2020 - permalink - https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-cpu-memory-error.html
    fargate
  • How to hide output of subprocess in Python 2.7 - Stack Overflow

    retcode = subprocess.call(['echo', 'foo'], stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)

    July 30, 2020 - permalink - https://stackoverflow.com/questions/11269575/how-to-hide-output-of-subprocess-in-python-2-7
    null python stdout
  • Amazon Fargate
    July 23, 2020 - permalink - https://docs.datadoghq.com/fr/integrations/ecs_fargate/#fluent-bit-et-firelens
    datadog ecs
  • Fluent Bit
    July 23, 2020 - permalink - https://docs.datadoghq.com/fr/integrations/fluentbit/#configuration-parameters
    datadog ecs log
  • Firefox Multi-Account Containers – Get this Extension for 🦊 Firefox (en-US)
    July 23, 2020 - permalink - https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/
    account container firefox
  • GitHub - cycloidio/inframap: Read your tfstate or HCL to generate a graph specific for each provider, showing only the resources that are most important/relevant.
    July 17, 2020 - permalink - https://github.com/cycloidio/inframap
    aws graph terraform
  • Welcome to Click — Click Documentation (7.x)
    July 8, 2020 - permalink - https://click.palletsprojects.com/en/7.x/
    arg python
  • Simple Tab Groups – Adoptez cette extension pour 🦊 Firefox (fr)
    July 7, 2020 - permalink - https://addons.mozilla.org/fr/firefox/addon/simple-tab-groups/
    firefox
  • 🌊🤘 Cheeky Family - Surf school, surf camp & hostel in Lacanau Ocean
    July 1, 2020 - permalink - https://www.cheekyfamily.fr/welcome-to-the-cheeky-family/
    lacanau surf
  • BOEUF | CUTS
    July 1, 2020 - permalink - https://cuts-paris.fr/collections/boeuf
    boucherie paris
  • Monitoring the Health of ECS Service Deployments - Aaron Kaz Kaczmarek - Medium
    June 26, 2020 - permalink - https://medium.com/@aaron.kaz.music/monitoring-the-health-of-ecs-service-deployments-baeea41ae737
    aws ecs
  • Les plus belles terrasses couvertes de Paris ! - Paris Secret
    June 22, 2020 - permalink - https://parissecret.com/les-plus-belles-terrasses-couvertes-de-paris/
    paris terrasse
  • Paris Walking Tours - Free Guided tours of Paris
    June 20, 2020 - permalink - https://www.discoverwalks.com/tour/city/paris-walking-tours/
    paris tour walking
  • Django-Forms with json fields - Stack Overflow
    June 18, 2020 - permalink - https://stackoverflow.com/questions/14626702/django-forms-with-json-fields
    django json
  • GitHub - django-ses/django-ses: A Django email backend for Amazon's Simple Email Service
    June 15, 2020 - permalink - https://github.com/django-ses/django-ses
    aws django mail ses
  • AWS ALB Authentication with OKTA OIDC using Terraform
    June 15, 2020 - permalink - https://medium.com/swlh/aws-alb-authentication-with-okta-oidc-using-terraform-902cd8289db4
    alb aws okta
  • Django Tutorial Part 8: User authentication and permissions - Learn web development | MDN
    June 12, 2020 - permalink - https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Authentication
    django
  • Django ALLOWED_HOSTS for Amazon ELB - Stack Overflow

    Another simple solution would be to write a custom MIDDLEWARE which will give the response to ELB before the ALLOWED_HOSTS is checked. So now you don't have to load ALLOWED_HOSTS dynamically.

    The middleware can be as simple as:

    project/app/middleware.py

    from django.http import HttpResponse
    from django.utils.deprecation import MiddlewareMixin

    class HealthCheckMiddleware(MiddlewareMixin):
    def process_request(self, request):
    if request.META["PATH_INFO"] == "/ping/":
    return HttpResponse("pong")

    settings.py

    MIDDLEWARE = [
    'corsheaders.middleware.CorsMiddleware',
    'app.middleware.HealthCheckMiddleware',
    'django.middleware.security.SecurityMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    ...
    ]

    Django Middleware reference https://docs.djangoproject.com/en/dev/topics/http/middleware/

    June 10, 2020 - permalink - https://stackoverflow.com/questions/35858040/django-allowed-hosts-for-amazon-elb
    alb aws django elb
  • Note: "revert" à la main pour revenir a l'état d'un commit dans le passé

    git reset --hard past_commit
    git reset current_commit
    git commit

    June 9, 2020 - permalink - https://links.infomee.fr/shaare/gfxj6Q
    git revert
▼ Load 50 more