4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 9 / 217
Newer►
  • 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
Links per page: 20 50 100
◄Older
page 9 / 217
Newer►
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation