4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
newest first
  • 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
  • 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 - permalink - https://yousub.info/
    youtube
  • HeadphoneConnect
    January 11, 2022 - permalink - https://www.headphoneconnect.app/
    bose mac
  • 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 - permalink - https://stackoverflow.com/questions/58594506/how-to-for-each-through-a-listobjects-in-terraform-0-12
    foreach terraform
  • KEDA | Kubernetes Event-driven Autoscaling
    January 6, 2022 - permalink - 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 - permalink - https://web0.small-web.org/
    web0 web3
  • https://github.com/Greaby/telescope/
    January 6, 2022 - permalink - https://github.com/Greaby/telescope/
    app graph veille
  • Amazon CloudFront Announces Cache and Origin Request Policies | Networking & Content Delivery
    January 4, 2022 - permalink - 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 - permalink - 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
  • 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 - permalink - https://stackoverflow.com/questions/4764110/django-template-cant-loop-defaultdict
    defaultdict django python
  • Busbud: Comparateur de bus | Billets au meilleur prix
    • https://www.clickbus.com.mx/en/?utm_source=mifuguemiraison&utm_medium=affiliate
    November 28, 2021 - permalink - https://www.busbud.com/fr?cjevent=0666b070505c11ec82d22ebf0a18050f
    bus mexique
  • 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 - permalink - https://www.gather.town/
    collaboration remote work
  • Restore, Clone or Backup your Homebrew Setup | Tom Lankhorst
    November 26, 2021 - permalink - https://tomlankhorst.nl/brew-bundle-restore-backup/
    homebrew
▼ Load 50 more