4339 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 2 / 44
Newer►
  • https://www.chronotrains.com/
    August 22, 2022 at 10:03:07 PM GMT+2 - permalink - archive.org - https://www.chronotrains.com/
    data map train
  • OPA Gatekeeper: Policy and Governance for Kubernetes | Kubernetes
    August 19, 2022 at 9:53:45 AM GMT+2 - permalink - archive.org - https://kubernetes.io/blog/2019/08/06/opa-gatekeeper-policy-and-governance-for-kubernetes/
    gatekeeper k8s opa
  • Terraform Registry
    • https://aws.amazon.com/blogs/containers/announcing-amazon-ecs-deployment-circuit-breaker/
    • https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_cwe_events.html

    SERVICE_DEPLOYMENT_FAILED

    The service deployment has failed. This event is sent for services with deployment circuit breaker logic turned on.
    August 16, 2022 at 5:35:02 PM GMT+2 - permalink - archive.org - https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_service#deployment_circuit_breaker
    deploy ecs fail
  • Note: find exec grep print filename only match

    find . -name foo.yml -exec bash -c "grep -q office {} && echo {} && grep office {}" \;

    August 16, 2022 at 3:10:36 PM GMT+2 - permalink - archive.org - https://links.infomee.fr/?c7kuZw
    find grep
  • thumbnail
    Steampipe | select * from cloud;

    from Rostan

    August 10, 2022 at 10:02:44 AM GMT+2 - permalink - archive.org - https://steampipe.io/
    aws sql
  • Bartender 4 - Take control of your Menu bar
    August 9, 2022 at 10:53:49 AM GMT+2 - permalink - archive.org - https://www.macbartender.com/
    mac
  • thumbnail
    Using Gatekeeper as a drop-in Pod Security Policy replacement in Amazon EKS | Containers
    • https://open-policy-agent.github.io/gatekeeper/website/docs/
    August 9, 2022 at 9:53:35 AM GMT+2 - permalink - archive.org - https://aws.amazon.com/blogs/containers/using-gatekeeper-as-a-drop-in-pod-security-policy-replacement-in-amazon-eks/
    gatekeeper k8s psp
  • thumbnail
    GitHub - pottava/aws-s3-proxy: Reverse proxy for AWS S3 with basic authentication.
    August 4, 2022 at 9:40:28 AM GMT+2 - permalink - archive.org - https://github.com/pottava/aws-s3-proxy
    browser proxy s3
  • Itinerary - Trekking Mont Blanc in France, Europe - G Adventures
    July 26, 2022 at 2:49:18 PM GMT+2 - permalink - archive.org - https://www.gadventures.com/trips/trekking-mont-blanc/4123/itinerary/
    blanc hike mont
  • Go by Example
    July 20, 2022 at 4:34:15 PM GMT+2 - permalink - archive.org - https://gobyexample.com
    example go
  • thumbnail
    GitHub - spf13/cobra: A Commander for modern Go CLI interactions
    July 18, 2022 at 6:58:08 PM GMT+2 * - permalink - archive.org - https://github.com/spf13/cobra
    cli go param
  • thumbnail
    GitHub - spf13/viper: Go configuration with fangs
    July 18, 2022 at 6:57:53 PM GMT+2 * - permalink - archive.org - https://github.com/spf13/viper
    config go
  • thumbnail
    How to change the name of a workspace - #2 by apparentlymart - Terraform - HashiCorp Discuss
     terraform workspace select old-name
        terraform state pull >old-name.tfstate
        terraform workspace new new-name
        terraform state push old-name.tfstate
        terraform show just to confirm that the newly-imported state looks "right", before we delete the old workspace
        terraform workspace delete -force old-name
    July 13, 2022 at 4:14:43 PM GMT+2 - permalink - archive.org - https://discuss.hashicorp.com/t/how-to-change-the-name-of-a-workspace/24010/2
    rename terraform workspace
  • thumbnail
    GitHub - hashicorp/terraform-ls: Terraform Language Server
    July 13, 2022 at 11:06:48 AM GMT+2 - permalink - archive.org - https://github.com/hashicorp/terraform-ls
    terraform vim
  • thumbnail
    GitHub - mxssl/sre-interview-prep-guide: Site Reliability Engineer Interview Preparation Guide

    via Edwin

    July 12, 2022 at 11:51:00 AM GMT+2 * - permalink - archive.org - https://github.com/mxssl/sre-interview-prep-guide
    devops entretien interview sre
  • Pharaoh Ramesses VI Tomb
    June 29, 2022 at 9:13:52 PM GMT+2 - permalink - archive.org - https://my.matterport.com/show/?m=NeiMEZa9d93&mls=1
    pyramide virtuelle visite
  • Registry | OpenTelemetry
    June 29, 2022 at 3:55:34 PM GMT+2 - permalink - archive.org - https://opentelemetry.io/registry/
    opentelemetry
  • The RED Method: key metrics for microservices architecture

    Rate, errors, duration

    June 29, 2022 at 3:26:39 PM GMT+2 - permalink - archive.org - https://www.weave.works/blog/the-red-method-key-metrics-for-microservices-architecture/
    metric monitoring red
  • thumbnail
    Handcramp

    Pour prendre des décisions importantes

    June 20, 2022 at 3:05:26 PM GMT+2 - permalink - archive.org - https://www.handcramp.lol/
    chifumi
  • Note: AWX

    API : https://docs.ansible.com/ansible-tower/latest/html/towerapi/api_ref.html#/Settings/Settings_settings_update
    ansible role : https://docs.ansible.com/ansible/latest/collections/awx/awx/index.html

    June 20, 2022 at 2:26:42 PM GMT+2 - permalink - archive.org - https://links.infomee.fr/?5krkvA
    awx
  • thumbnail
    Break Down Kubernetes Server-Side Apply | by Stefanie Lai | The Startup | Medium

    Server Side apply VS Client Side apply

    via Edwin

    June 17, 2022 at 2:00:57 PM GMT+2 - permalink - archive.org - https://medium.com/swlh/break-down-kubernetes-server-side-apply-5d59f6a14e26
    csa k8s ssa
  • thumbnail
    Zero to GitOps: Terraform and the AWS EKS Blueprints Project
    • https://github.com/aws-ia/terraform-aws-eks-blueprints
    • https://aws-quickstart.github.io/cdk-eks-blueprints/
    • https://aws.amazon.com/blogs/containers/bootstrapping-clusters-with-eks-blueprints/
    June 13, 2022 at 5:10:51 PM GMT+2 - permalink - archive.org - https://superorbital.io/journal/terraform-aws-eks-blueprints/
    blueprint bootstrap eks
  • Welcome to Operator framework
    • kubebuilder
    • https://github.com/operator-framework/operator-sdk/issues/1758
    June 11, 2022 at 8:21:35 PM GMT+2 - permalink - archive.org - https://operatorframework.io/
    framework k8s operator
  • Status - HTTP API | Consul by HashiCorp

    curl http://ip:8500/v1/status/leader

    June 7, 2022 at 10:44:54 AM GMT+2 - permalink - archive.org - https://www.consul.io/api-docs/status
    consul leader
  • Crossplane

    Un Operator qui :

    • crée des CRDs pour chaque resource AWS existante (s3, ec2, rds.....)
    • crée les controler associés

    Du coup on peut créer des resources AWS avec kube (on peut se passer de terraform, on peut utiliser une CI/CD adaptée à déployer dans Kube)

    June 1, 2022 at 4:35:41 PM GMT+2 * - permalink - archive.org - https://crossplane.io/
    crd k8s terraform
  • Note: pas besoin de requirements.txt en local si on a un setup.py

    virtualenv venv
    . venv/bin/activate
    pip install --editable .

    May 24, 2022 at 11:43:53 AM GMT+2 - permalink - archive.org - https://links.infomee.fr/?ruUKGA
    dev python
  • thumbnail
    Auto activate and deactivate python venv using zsh - DEV Community
    python_venv() {
      MYVENV=./venv
      # when you cd into a folder that contains $MYVENV
      [[ -d $MYVENV ]] && source $MYVENV/bin/activate > /dev/null 2>&1
      # when you cd into a folder that doesn't
      [[ ! -d $MYVENV ]] && deactivate > /dev/null 2>&1
    }
    autoload -U add-zsh-hook
    add-zsh-hook chpwd python_venv
    May 20, 2022 at 1:59:01 PM GMT+2 * - permalink - archive.org - https://dev.to/moniquelive/auto-activate-and-deactivate-python-venv-using-zsh-4dlm
    python venv zsh
  • Regular Expression HOWTO — Python 3.10.4 documentation

    named group

    May 18, 2022 at 9:36:46 AM GMT+2 - permalink - archive.org - https://docs.python.org/3/howto/regex.html
    group named python re
  • Complete Guide to getting started with coc.nvim | Develop Paper
    • https://github.com/neovim/nvim-lspconfig/wiki/Comparison-to-other-LSP-ecosystems-(CoC,-vim-lsp,-etc.)
    May 13, 2022 at 11:09:48 AM GMT+2 * - permalink - archive.org - https://developpaper.com/complete-guide-to-getting-started-with-coc-nvim/
    autocomplete lsp neovim vim
  • thumbnail
    Les Baladeurs : podcast d'aventures et de mésaventures en pleine nature
    May 12, 2022 at 10:13:54 PM GMT+2 - permalink - archive.org - https://www.lesothers.com/podcast-les-baladeurs
    nature podcast voyage
  • window resizer with shortcut
    May 12, 2022 at 2:57:33 PM GMT+2 - permalink - archive.org - https://rectangleapp.com/
    mac window
  • A Tour of Go
    • https://exercism.org/
    • https://quii.gitbook.io/learn-go-with-tests/

    via Laurent

    May 12, 2022 at 10:42:49 AM GMT+2 - permalink - archive.org - https://go.dev/tour/welcome/1
    go
  • thumbnail
    Provide cross-account access to objects in Amazon S3 objects
    May 10, 2022 at 2:50:20 PM GMT+2 - permalink - archive.org - https://aws.amazon.com/premiumsupport/knowledge-center/cross-account-access-s3/
    cross s3
  • IPAM — pynetbox 6.6.2.dev7+g0f1e588 documentation
    May 4, 2022 at 1:56:18 PM GMT+2 * - permalink - archive.org - https://pynetbox.readthedocs.io/en/latest/IPAM.html
    ipam lib netbox network python
  • thumbnail
    GitHub - Textualize/rich: Rich is a Python library for rich text and beautiful formatting in the terminal.
    • https://pypi.org/project/simple-term-menu/
    • https://click.palletsprojects.com/en/8.1.x/
    May 4, 2022 at 9:58:14 AM GMT+2 - permalink - archive.org - https://github.com/Textualize/rich
    color format python terminal
  • thumbnail
    Terratest | Automated tests for your infrastructure code.
    April 30, 2022 at 8:28:51 PM GMT+2 - permalink - archive.org - https://terratest.gruntwork.io/
    terraform test
  • thumbnail
    Extending HAProxy with the Stream Processing Offload Engine - HAProxy Technologies
    April 27, 2022 at 2:00:24 PM GMT+2 - permalink - archive.org - https://www.haproxy.com/blog/extending-haproxy-with-the-stream-processing-offload-engine/
    haproxy spoe
  • thumbnail
    Using command-line history | Vim Tips Wiki | Fandom

    Navigate through your search history (/) or command history (:) without leaving your home row?

    q:

    q/

    Think "query search" and "query command"

    April 23, 2022 at 7:53:49 PM GMT+2 - permalink - archive.org - https://vim.fandom.com/wiki/Using_command-line_history
    history vim
  • thumbnail
    Pulumi - Modern Infrastructure as Code
    April 22, 2022 at 1:20:51 PM GMT+2 * - permalink - archive.org - https://www.pulumi.com/
    framework terraform
  • Introduction | asdf

    asdf is a tool version manager. All tool version definitions are contained within one file (.tool-versions) which you can check in to your project's Git repository to share with your team, ensuring everyone is using the exact same versions of tools.

    April 21, 2022 at 1:59:58 PM GMT+2 - permalink - archive.org - https://asdf-vm.com/guide/introduction.html#how-it-works
    tool version
  • Sign git commits on GitHub with GPG in macOS | Samuelsson

    brew install pinentry-mac
    If not existing already create the file ~/.gnupg/gpg-agent.conf and add the following line:
    pinentry-program /usr/local/bin/pinentry-mac
    gpgconf --kill gpg-agent

    April 20, 2022 at 1:41:58 PM GMT+2 - permalink - archive.org - https://samuelsson.dev/sign-git-commits-on-github-with-gpg-in-macos/
    gpg keychain mac
  • thumbnail
    GitHub - FairwindsOps/nova: Find outdated or deprecated Helm charts running in your cluster.
    April 17, 2022 at 9:12:36 AM GMT+2 - permalink - archive.org - https://github.com/FairwindsOps/nova
    audit chart helm k8s
  • thumbnail
    Create a managed Amazon MemoryDB for Redis Cluster using the ACK MemoryDB Controller - ACK

    "Create Amazon MemoryDB Cluster Instances#

    You can create Amazon MemoryDB Clusters using the Cluster custom resource"

    They really name their CRD "Cluster" ?? :facepalm:

    April 16, 2022 at 11:03:14 AM GMT+2 - permalink - archive.org - https://aws-controllers-k8s.github.io/community/docs/tutorials/memorydb-example/
    aws crd memorydb redis
  • When to use the keyword type vs text datatype in Elasticsearch | ObjectRocket
    April 15, 2022 at 1:53:59 PM GMT+2 - permalink - archive.org - https://kb.objectrocket.com/elasticsearch/when-to-use-the-keyword-type-vs-text-datatype-in-elasticsearch
    elasticsearch type
  • Note: Design applicatif

    Don't Repeat Yourself (DRY) : https://fr.wikipedia.org/wiki/Ne_vous_r%C3%A9p%C3%A9tez_pas
    Keep It Simple, Stupid (KISS) : https://fr.wikipedia.org/wiki/Principe_KISS
    You aren't gonna need it (YAGNI) : https://fr.wikipedia.org/wiki/YAGNI
    Boy Scout Rule : https://97-things-every-x-should-know.gitbooks.io/97-things-every-programmer-should-know/content/en/thing_08/
    Single Responsibility Principle (SRP) : https://en.wikipedia.org/wiki/Single-responsibility_principle
    Dependency inversion principle (DIP) : https://en.wikipedia.org/wiki/Dependency_inversion_principle
    4 règles du design simple : https://martinfowler.com/bliki/BeckDesignRules.html
    Query Command Separation : https://martinfowler.com/bliki/CommandQuerySeparation.html
    Design Pattern : https://refactoring.guru/design-patterns
    Clean/Hexagonal/Onion architecture : https://blog.octo.com/application-domain-infrastructure-des-mots-de-la-layered-hexagonal-clean-architecture/

    April 15, 2022 at 11:48:20 AM GMT+2 - permalink - archive.org - https://links.infomee.fr/?RrVd5w
    app cod design kiss
  • thumbnail
    GitHub - koreader/koreader: An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices

    Alternative os for reader

    April 13, 2022 at 8:46:48 AM GMT+2 - permalink - archive.org - https://github.com/koreader/koreader
    alternative kindle kobo reader
  • thumbnail
    https://github.com/stern/stern
    March 22, 2022 at 12:54:25 PM GMT+1 - permalink - archive.org - https://github.com/stern/stern
    k8s log
  • Karpenter - EKS Best Practices Guides
    March 19, 2022 at 2:35:19 PM GMT+1 - permalink - archive.org - https://aws.github.io/aws-eks-best-practices/karpenter/
    alternative autoscaler k8s
  • https://itnext.io/kubernetes-journey-cka-ckad-exam-tips-ff73e4672833
    March 17, 2022 at 10:32:50 AM GMT+1 - permalink - archive.org - https://itnext.io/kubernetes-journey-cka-ckad-exam-tips-ff73e4672833
    cka k8s
  • thumbnail
    jsonlint — Homebrew Formulae
    March 9, 2022 at 2:10:00 PM GMT+1 * - permalink - archive.org - https://formulae.brew.sh/formula/jsonlint#default
    json lint mac
  • thumbnail
    Encrypting and decrypting archives with 7-Zip | Enable Sysadmin
    $ tar -cf directory.tar <directory>
    $ 7z a -p -mhe=on directory.tar.7z directory.tar
    ======================
    7z x archive.tar.7z
    tar xvf archive.tar
    March 8, 2022 at 12:02:47 PM GMT+1 * - permalink - archive.org - https://www.redhat.com/sysadmin/encrypting-decrypting-7zip
    7z
  • thumbnail
    GitHub - armosec/kubescape: Kubescape is a K8s open-source tool providing a multi-cloud K8s single pane of glass, including risk analysis, security compliance, RBAC visualizer and image vulnerabilities scanning.
    March 7, 2022 at 3:48:55 PM GMT+1 - permalink - archive.org - https://github.com/armosec/kubescape
    k8s security
  • thumbnail
    Server-Sent Events: the alternative to WebSockets you should be using - germano.dev
    March 6, 2022 at 9:14:22 AM GMT+1 - permalink - archive.org - https://germano.dev/sse-websockets/
    sse websocket
  • thumbnail
    Patrick's Parabox PuzzleScript demake by competor

    le genre de puzzlegame bien sympa (et prise de tete :D)

    via sebsauvage

    March 6, 2022 at 9:13:02 AM GMT+1 - permalink - archive.org - https://competor.itch.io/patricks-parabox-puzzlescript-demake
    game puzzle
  • Vim for all level

    Practical vim tips and trick for all level

    March 4, 2022 at 9:44:13 AM GMT+1 - permalink - archive.org - https://thevaluable.dev/tags/vim/
    vim
  • AWS Documentation

    Aws documentation index, and for each product doc you can get a RSS feed

    March 4, 2022 at 7:43:37 AM GMT+1 - permalink - archive.org - https://docs.aws.amazon.com/index.html
    aws doc index
  • thumbnail
    GitHub - sourcegraph/zoekt: Fast trigram based code search
    February 22, 2022 at 3:19:32 PM GMT+1 - permalink - archive.org - https://github.com/sourcegraph/zoekt
    zoekt
  • Restricting process CPU usage using nice, cpulimit, and cgroups | Scout APM Blog
    February 18, 2022 at 1:12:26 PM GMT+1 - permalink - archive.org - https://scoutapm.com/blog/restricting-process-cpu-usage-using-nice-cpulimit-and-cgroups
    cpu limit share
  • thumbnail
    GitHub - lifeomic/terraform-plan-parser: Command line utility and JavaScript API for parsing stdout from "terraform plan" and converting it to JSON.
    February 18, 2022 at 9:30:51 AM GMT+1 - permalink - archive.org - https://github.com/lifeomic/terraform-plan-parser
    parser plan terraform
  • Note: terraform Interpolation-only expressions are deprecated

    :%s/("\${)//gc | %s/(}")//gc

    February 17, 2022 at 10:16:58 AM GMT+1 - permalink - archive.org - https://links.infomee.fr/?bnoJgw
    replace terraform
  • thumbnail
    GitHub - stefanprodan/podinfo: Go microservice template for Kubernetes

    via edwin

    February 16, 2022 at 4:28:42 PM GMT+1 - permalink - archive.org - https://github.com/stefanprodan/podinfo
    echo info k8s pod
  • thumbnail
    Excalidraw | Hand-drawn look & feel • Collaborative • Secure
    February 16, 2022 at 11:58:01 AM GMT+1 * - permalink - archive.org - https://excalidraw.com/
    dessin diagramme draw schema tools
  • Note: Datadog links

    Datadog agent changelog : https://github.com/DataDog/datadog-agent/blob/main/CHANGELOG.rst
    Datadog helm chart changelog : https://github.com/DataDog/helm-charts/blob/main/charts/datadog/CHANGELOG.md
    Datadog helm chart readme : https://github.com/DataDog/helm-charts/tree/main/charts/datadog

    February 16, 2022 at 10:04:15 AM GMT+1 - permalink - archive.org - https://links.infomee.fr/?YlTT-A
    changelog datadog links readme
  • Note: Helm move resource from one chart to another

    FIrst edit your A chart to not include the resource, and add the keep annontation
    https://helm.sh/docs/howto/charts_tips_and_tricks/#tell-helm-not-to-uninstall-a-resource

    annotations:
        "helm.sh/resource-policy": keep

    From this point, your resource is not managed by helm anymore
    Clean the resource (annotations...)

    Then import the resource so it's managed by B chart
    https://jacky-jiang.medium.com/import-existing-resources-in-helm-3-e27db11fd467

    February 16, 2022 at 10:00:12 AM GMT+1 * - permalink - archive.org - https://links.infomee.fr/?OH_jAg
    chart helm move
  • Know your metrics

    It's worth to think about your rollup/aggregation strategy

    For metrics-like errors, its better to show the worst case scenario with max/max

    February 15, 2022 at 5:26:46 PM GMT+1 - permalink - archive.org - https://docs.datadoghq.com/dashboards/guide/query-to-the-graph/#proceed-to-time-aggregation
    datadog metrics this zoom
  • Note: kube cpu throttling

    https://medium.com/omio-engineering/cpu-limits-and-aggressive-throttling-in-kubernetes-c5b20bd8a718
    https://blog.turbonomic.com/kubernetes-cpu-throttling-the-silent-killer-of-response-time-and-what-to-do-about-it
    https://erickhun.com/posts/kubernetes-faster-services-no-cpu-limits/
    https://engineering.indeedblog.com/blog/2019/12/unthrottled-fixing-cpu-limits-in-the-cloud/
    https://www.youtube.com/watch?v=UE7QX98-kO0

    February 15, 2022 at 4:18:02 PM GMT+1 - permalink - archive.org - https://links.infomee.fr/?Mg1LFQ
    cpu k8s throttling
  • thumbnail
    Regardez "Reuven M. Lerner - Practical decorators - PyCon 2019" sur YouTube

    You want to really understand decorators? Watch this video!

    boilerplate:

    import functools
    
    def decorator(func):
        @functools.wraps(func)
        def wrapper_decorator(*args, **kwargs):
            # Do something before
            value = func(*args, **kwargs)
            # Do something after
            return value
        return wrapper_decorator
    • https://realpython.com/primer-on-python-decorators/
    February 11, 2022 at 8:30:18 PM GMT+1 * - permalink - archive.org - https://youtu.be/MjHpMCIvwsY
    decorators python
  • thumbnail
    GitHub - Eloise1988/COINGECKO: CoinGecko Real Time Spreadsheet Feed: Prices, Volumes, Market Cap
    February 10, 2022 at 11:14:40 PM GMT+1 - permalink - archive.org - https://github.com/Eloise1988/COINGECKO
    api crypto sheet
  • Crypto Prices | Prices for Crypto Currency Coins
    February 10, 2022 at 11:14:02 PM GMT+1 - permalink - archive.org - https://cryptoprices.cc/
    api crypto
  • thumbnail
    MacDown: The open source Markdown editor for macOS
    February 10, 2022 at 2:19:04 PM GMT+1 - permalink - archive.org - https://macdown.uranusjr.com/
    mac markdown
  • Persistent Volumes | Kubernetes
    • https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/
    February 10, 2022 at 2:11:21 PM GMT+1 - permalink - archive.org - https://kubernetes.io/docs/concepts/storage/persistent-volumes/#using
    dynamic k8s persistent volume
  • r/ricing: Desktop customization advice and information
    • https://jie-fang.github.io/blog/basics-of-ricing

    Si j'avais le temps, ca me plairait bien !

    February 10, 2022 at 9:35:39 AM GMT+1 - permalink - archive.org - https://www.reddit.com/r/ricing
    custom desktop linux rice ricing
  • promql
    • https://www.youtube.com/watch?v=hTjHuoWxsks
    • https://timber.io/blog/promql-for-humans/
    • https://promlabs.com/promql-cheat-sheet/
    • https://prometheus.io/docs/prometheus/latest/querying/basics/
    February 8, 2022 at 11:58:11 AM GMT+1 - permalink - archive.org - https://grafana.com/blog/2020/02/04/introduction-to-promql-the-prometheus-query-language/#aggregation-operators
    promql
  • Specifications — The Hitchhiker's Guide to Packaging 1.0 documentation

    When you want to publish a beta version, you can use a special tag that won't be proposed to client using pip install package --upgrade
    example :
    current version = 3.0.1
    next version = 3.1.0

    I can tag with 3.1.0-alpha.1

    pip install --upgrade won't upgrade to this version but pip install package==3.1.0-alpha.1 will

    February 7, 2022 at 11:19:29 AM GMT+1 - permalink - archive.org - https://the-hitchhikers-guide-to-packaging.readthedocs.io/en/latest/specification.html
    python semver
  • thumbnail
    Bubble sort algo

    def bubbleSort(arr):
    n = len(arr)

    # Traverse through all array elements
    for i in range(n):
    
        # Last i elements are already in place
        for j in range(0, n-i-1):
    
            # traverse the array from 0 to n-i-1
            # Swap if the element found is greater
            # than the next element
            if arr[j] > arr[j+1] :
                arr[j], arr[j+1] = arr[j+1], arr[j
    February 6, 2022 at 9:55:40 PM GMT+1 - permalink - archive.org - https://www.geeksforgeeks.org/bubble-sort/
    algo
  • BInary search algo
    def binary_search(l, item):
        first = 0
        last = len(l)-1
        found = False

        while first<=last and not found:
            midpoint = round((first + last)/2)
            if l[midpoint] == item:
                found = True
            else:
                if item < l[midpoint]:
                    last = midpoint-1
                else:
                    first = midpoint+1

        return found

    input = [0, 1, 2, 8, 13, 17, 19, 32, 42,]

    print(binary_search(input, 3))   # found: False
    print(binary_search(input, 13))  # fount: True
    February 6, 2022 at 4:06:59 PM GMT+1 - permalink - archive.org - https://links.infomee.fr/?GnzD5Q
    algo search
  • Quick sort algo
    from random import randrange

    input = [10, 5, 2, 3, 7, 0, 9, 12]

    def quicksort(arr):
        if len(arr) < 2:
            return arr
        else:
            rand = randrange(0, len(arr))  # grab a random index
            pivot = arr.pop(rand)
            less = [i for i in arr if i <= pivot]
            greater = [i for i in arr if i > pivot]
            return quicksort(less) + [pivot] + quicksort(greater)

    print("sorted:  ", quicksort(input))
    February 6, 2022 at 4:05:26 PM GMT+1 - permalink - archive.org - https://www.integralist.co.uk/posts/algorithmic-complexity-in-python/
    algo recursiv sort
  • Note: tip zsh edit command line

    bindkey -M emacs |grep edit-command
    "^X^E" edit-command-line

    ctrl x ctrl e pour editer la commande actuelle via vim

    February 2, 2022 at 2:25:52 PM GMT+1 - permalink - archive.org - https://links.infomee.fr/?Skfb-A
    command edit vim zsh
  • thumbnail
    GitHub - hashicorp/envconsul: Launch a subprocess with environment variables using data from @HashiCorp Consul and Vault.
    January 28, 2022 at 2:05:22 PM GMT+1 - permalink - archive.org - https://github.com/hashicorp/envconsul
    consul entrypoint env var
  • thumbnail
    Préparer et réussir sa certification CKAD
    January 21, 2022 at 5:05:42 PM GMT+1 - permalink - archive.org - https://blog.ippon.fr/2021/04/21/certification-kubernetes-ckad/
    ckad k8s
  • Controlling the cache key - Amazon CloudFront
    • https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html
    January 21, 2022 at 2:40:13 PM GMT+1 - permalink - archive.org - https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html
    cloudfront
  • thumbnail
    GitHub - itaysk/kubectl-neat: Clean up Kubernetes yaml and json output to make it readable

    yaml

    January 18, 2022 at 6:58:57 PM GMT+1 * - permalink - archive.org - https://github.com/itaysk/kubectl-neat
    clean k8s kubectl pluginc
  • Activity List – NoSurf
    January 17, 2022 at 2:26:29 PM GMT+1 - permalink - archive.org - https://nosurf.net/activity-list/
    nosurf offline reddit
  • PocketTube: YouTube Subscription Manager

    Je viens de découvrir pocketTube et j'ai hate de tester ça. Il y a une extension Firefox et meme un app Android.
    L'idée c'est de pouvoir grouper les channels Youtube par thématique mais aussi et surtout voir toutes les vidéos par date de parution et ne pas en louper car elles sont zappées par l'algo de Youtube (qui est utilisé dans la partie "Mes abonnements")

    January 14, 2022 at 10:17:43 AM GMT+1 - permalink - archive.org - https://yousub.info/
    youtube
  • HeadphoneConnect
    January 11, 2022 at 7:12:27 PM GMT+1 - permalink - archive.org - https://www.headphoneconnect.app/
    bose mac
  • thumbnail
    loops - How to for_each through a list(objects) in Terraform 0.12 - Stack Overflow

    foreach list of objects

    [{
       name = "xxx"
       description = "xxx"
       param = "xxx"
    },
    ...
    ]
    for_each = {
        for item in var.items:
        item.name => item
      }
    
    name = each.key OU each.value.name
    description = each.value.description
    January 11, 2022 at 5:47:58 PM GMT+1 * - permalink - archive.org - https://stackoverflow.com/questions/58594506/how-to-for-each-through-a-listobjects-in-terraform-0-12
    foreach terraform
  • thumbnail
    KEDA | Kubernetes Event-driven Autoscaling
    January 6, 2022 at 11:08:00 AM GMT+1 - permalink - archive.org - https://keda.sh/
    hpa k8s queue scale
  • https://web0.small-web.org/

    Ne pas oublier que le web a été pensé pour être décentralisé dès le départ : chacun peut posséder ses données, les héberger à la maison, publier son site depuis le raspberry du salon etc..

    Via sebsauvage

    January 6, 2022 at 9:05:19 AM GMT+1 - permalink - archive.org - https://web0.small-web.org/
    web0 web3
  • thumbnail
    https://github.com/Greaby/telescope/
    January 6, 2022 at 8:59:13 AM GMT+1 - permalink - archive.org - https://github.com/Greaby/telescope/
    app graph veille
  • thumbnail
    Amazon CloudFront Announces Cache and Origin Request Policies | Networking & Content Delivery
    January 4, 2022 at 4:18:00 PM GMT+1 - permalink - archive.org - https://aws.amazon.com/blogs/networking-and-content-delivery/amazon-cloudfront-announces-cache-and-origin-request-policies/
    cloudfront policy
  • Restricting access to Amazon S3 content by using an origin access identity (OAI) - Amazon CloudFront

    Note à moi même : il faut faire attention aux headers qu'on forward à l'origine dans ce cas précis car ça peut poser des problemes d'authent' entre cloudfront et le bucket s3

    January 4, 2022 at 3:15:11 PM GMT+1 - permalink - archive.org - https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html#private-content-origin-access-identity-signature-version-4
    aws cloudfront
  • thumbnail
    python - Django template can't loop defaultdict - Stack Overflow

    django template does not like defaultdict, 2 solutions:
    1) set default_factory to None
    or
    2) cast defaultdict to a simpledict

    "The template variable resolution algorithm in Django will attempt to resolve new_data.items as new_data['items'] first, which resolves to an empty list when using defaultdict(list)."

    December 29, 2021 at 11:19:35 AM GMT+1 - permalink - archive.org - https://stackoverflow.com/questions/4764110/django-template-cant-loop-defaultdict
    defaultdict django python
  • thumbnail
    Busbud: Comparateur de bus | Billets au meilleur prix
    • https://www.clickbus.com.mx/en/?utm_source=mifuguemiraison&utm_medium=affiliate
    November 28, 2021 at 4:18:03 PM GMT+1 - permalink - archive.org - https://www.busbud.com/fr?cjevent=0666b070505c11ec82d22ebf0a18050f
    bus mexique
  • thumbnail
    Gather | A better way to meet online.

    J'adore le concept, recréer des locaux virtuels où on peut aller tape sur l'épaule d'un collègue, se réunir dans une salle de réunion, devant un tableau blanc.. excellent !

    November 26, 2021 at 10:00:38 PM GMT+1 - permalink - archive.org - https://www.gather.town/
    collaboration remote work
  • Restore, Clone or Backup your Homebrew Setup | Tom Lankhorst
    November 26, 2021 at 3:42:30 PM GMT+1 - permalink - archive.org - https://tomlankhorst.nl/brew-bundle-restore-backup/
    homebrew
  • thumbnail
    GitHub - shuaibiyy/awesome-terraform: Curated list of resources on HashiCorp's Terraform
    November 26, 2021 at 11:01:29 AM GMT+1 - permalink - archive.org - https://github.com/shuaibiyy/awesome-terraform
    allsum awesome terraform
  • Conventional Commits

    via Edwin

    November 24, 2021 at 3:28:57 PM GMT+1 * - permalink - archive.org - https://www.conventionalcommits.org/en/v1.0.0/#summary
    comment commit
  • thumbnail
    Features - LocalStack
    November 22, 2021 at 2:03:54 PM GMT+1 * - permalink - archive.org - https://localstack.cloud/features/
    aws cloud dev local
  • thumbnail
    Get the name of the current file | Vim Tips Wiki | Fandom

    :echo @% def/my.txt directory/name of file (relative to the current working directory of /abc)
    :echo expand('%:t') my.txt name of file ('tail')
    :echo expand('%:p') /abc/def/my.txt full path
    :echo expand('%:p:h') /abc/def directory containing file ('head')
    :echo expand('%:p:h:t') def First get the full path with :p (/abc/def/my.txt), then get the head of that with :h (/abc/def), then get the tail of that with :t (def)
    :echo expand('%:r') def/my name of file less one extension ('root')
    :echo expand('%:e') txt name of file's extension ('extension')

    October 25, 2021 at 10:05:58 AM GMT+2 - permalink - archive.org - https://vim.fandom.com/wiki/Get_the_name_of_the_current_file
    echo file vim
  • Built-in class-based views API | Django documentation | Django

    all django generic views included

    October 17, 2021 at 1:07:44 PM GMT+2 - permalink - archive.org - https://docs.djangoproject.com/en/3.2/ref/class-based-views/
    django generic view
Links per page: 20 50 100
◄Older
page 2 / 44
Newer►
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation