This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule LinkParser do | |
@moduledoc """ | |
- https://tools.ietf.org/html/rfc8288 | |
- https://tools.ietf.org/html/rfc5988 | |
- https://www.iana.org/assignments/link-relations/link-relations.xhtml | |
""" | |
import NimbleParsec |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# frozen_string_literal: true | |
def read_changes | |
gem_changes = {} | |
ARGF.each_line do |line| | |
next unless /(?<op>[-+]) (?<name>\S+) \((?<ver>\S+)\)/ =~ line.strip | |
gem_changes[name] ||= {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -u | |
k8s_context=$1 | |
# https://kubernetes.io/docs/tasks/access-application-cluster/list-all-running-container-images/ | |
images=$(kubectl --context $1 get pods --all-namespaces -o jsonpath="{.items[*].spec['initContainers', 'containers'][*].image}" \ | |
| tr -s '[[:space:]]' '\n' \ | |
| sort \ | |
| uniq) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import subprocess | |
import sys | |
import unicodedata | |
def run_test(val, forms): | |
print("---- print") | |
for form in forms: |
OlderNewer