4271 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
newest first
  • IPAM — pynetbox 6.6.2.dev7+g0f1e588 documentation
    May 4, 2022 - permalink - https://pynetbox.readthedocs.io/en/latest/IPAM.html
    ipam lib netbox network python
  • 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 - permalink - https://github.com/Textualize/rich
    color format python terminal
  • Terratest | Automated tests for your infrastructure code.
    April 30, 2022 - permalink - https://terratest.gruntwork.io/
    terraform test
  • Extending HAProxy with the Stream Processing Offload Engine - HAProxy Technologies
    April 27, 2022 - permalink - https://www.haproxy.com/blog/extending-haproxy-with-the-stream-processing-offload-engine/
    haproxy spoe
  • 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 - permalink - https://vim.fandom.com/wiki/Using_command-line_history
    history vim
  • Pulumi - Modern Infrastructure as Code
    April 22, 2022 - permalink - 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 - permalink - 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 - permalink - https://samuelsson.dev/sign-git-commits-on-github-with-gpg-in-macos/
    gpg keychain mac
  • GitHub - FairwindsOps/nova: Find outdated or deprecated Helm charts running in your cluster.
    April 17, 2022 - permalink - https://github.com/FairwindsOps/nova
    audit chart helm k8s
  • 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 - permalink - 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 - permalink - 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 - permalink - https://links.infomee.fr/shaare/RrVd5w
    app cod design kiss
  • 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 - permalink - https://github.com/koreader/koreader
    alternative kindle kobo reader
  • https://github.com/stern/stern
    March 22, 2022 - permalink - https://github.com/stern/stern
    k8s log
  • Karpenter - EKS Best Practices Guides
    March 19, 2022 - permalink - 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 - permalink - https://itnext.io/kubernetes-journey-cka-ckad-exam-tips-ff73e4672833
    cka k8s
  • jsonlint — Homebrew Formulae
    March 9, 2022 - permalink - https://formulae.brew.sh/formula/jsonlint#default
    json lint mac
  • Encrypting and decrypting archives with 7-Zip | Enable Sysadmin

    $ tar -cf directory.tar
    $ 7z a -p -mhe=on directory.tar.7z directory.tar
    ======================
    7z x archive.tar.7z
    tar xvf archive.tar

    March 8, 2022 - permalink - https://www.redhat.com/sysadmin/encrypting-decrypting-7zip
    7z nomarkdown
  • 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 - permalink - https://github.com/armosec/kubescape
    k8s security
  • Server-Sent Events: the alternative to WebSockets you should be using - germano.dev
    March 6, 2022 - permalink - https://germano.dev/sse-websockets/
    sse websocket
  • Patrick's Parabox PuzzleScript demake by competor

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

    via sebsauvage

    March 6, 2022 - permalink - https://competor.itch.io/patricks-parabox-puzzlescript-demake
    game games puzzle
  • Vim for all level

    Practical vim tips and trick for all level

    March 4, 2022 - permalink - 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 - permalink - https://docs.aws.amazon.com/index.html
    aws doc index
  • GitHub - sourcegraph/zoekt: Fast trigram based code search
    February 22, 2022 - permalink - https://github.com/sourcegraph/zoekt
    zoekt
  • Restricting process CPU usage using nice, cpulimit, and cgroups | Scout APM Blog
    February 18, 2022 - permalink - https://scoutapm.com/blog/restricting-process-cpu-usage-using-nice-cpulimit-and-cgroups
    cpu limit share
  • 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 - permalink - https://github.com/lifeomic/terraform-plan-parser
    parser plan terraform
  • Note: terraform Interpolation-only expressions are deprecated

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

    February 17, 2022 - permalink - https://links.infomee.fr/shaare/bnoJgw
    replace terraform
  • GitHub - stefanprodan/podinfo: Go microservice template for Kubernetes

    via edwin

    February 16, 2022 - permalink - https://github.com/stefanprodan/podinfo
    echo info k8s pod
  • Excalidraw | Hand-drawn look & feel • Collaborative • Secure
    February 16, 2022 - permalink - 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 - permalink - https://links.infomee.fr/shaare/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 - permalink - https://links.infomee.fr/shaare/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 - permalink - 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 - permalink - https://links.infomee.fr/shaare/Mg1LFQ
    cpu k8s throttling
  • 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 - permalink - https://youtu.be/MjHpMCIvwsY
    decorators python
  • GitHub - Eloise1988/COINGECKO: CoinGecko Real Time Spreadsheet Feed: Prices, Volumes, Market Cap
    February 10, 2022 - permalink - https://github.com/Eloise1988/COINGECKO
    api crypto finance sheet
  • Crypto Prices | Prices for Crypto Currency Coins
    February 10, 2022 - permalink - https://cryptoprices.cc/
    api crypto finance
  • MacDown: The open source Markdown editor for macOS
    February 10, 2022 - permalink - https://macdown.uranusjr.com/
    mac markdown
  • Persistent Volumes | Kubernetes
    • https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/
    February 10, 2022 - permalink - 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 - permalink - 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 - permalink - 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 - permalink - https://the-hitchhikers-guide-to-packaging.readthedocs.io/en/latest/specification.html
    python semver
  • 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 - permalink - 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 - permalink - https://links.infomee.fr/shaare/GnzD5Q
    algo nomarkdown 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 - permalink - https://www.integralist.co.uk/posts/algorithmic-complexity-in-python/
    algo nomarkdown 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 - permalink - https://links.infomee.fr/shaare/Skfb-A
    command edit vim zsh
  • GitHub - hashicorp/envconsul: Launch a subprocess with environment variables using data from @HashiCorp Consul and Vault.
    January 28, 2022 - permalink - https://github.com/hashicorp/envconsul
    consul entrypoint env var
  • Préparer et réussir sa certification CKAD
    January 21, 2022 - permalink - 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 - permalink - https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html
    cloudfront
  • GitHub - itaysk/kubectl-neat: Clean up Kubernetes yaml and json output to make it readable

    yaml

    January 18, 2022 - permalink - https://github.com/itaysk/kubectl-neat
    clean k8s kubectl pluginc
  • Activity List – NoSurf
    January 17, 2022 - permalink - https://nosurf.net/activity-list/
    nosurf offline reddit
▼ Load 50 more