- SAST: Static application security testing (e.g: findsecuritybugs, Semgrep)
 - CVE: Common Vulnerabilities and Exposures
 - SBOM: Software Bill Of Materials
 - SPDX: Software Package Data Exchange (popular SBOM format, focus on license)
 - CDX: CycloneDX (popular SBOM format, very versatile)
 - SCA: Software Composition Analysis (e.g: Dependency Track, Snyk, BlackDuck, etc.)
 - CWE: Common Weakness Enumeration (see https://cwe.mitre.org/)
 - NVD: National Vulnerability Database (see https://nvd.nist.gov/)
 - NIST: National Institute of Standards and Technology at the U.S. Department of Commerce
 - CNA: CVE Numbering Authority (e.g. Apache Foundation, IBM, VMWare, etc.)
 
When [Markdown][markdown] appeared more than 10 years ago, it aimed to make it easier to express ideas in an easy-to-write plain text format. It offers a simple syntax that takes the writer focus away from the formatting, thus giving her time to focus on the actual content.
The market abunds of editors to be used for help with markdown. After a few attempts, I settled to Sublime and its browser preview plugin, which work great for me and have a small memory footprint to accomplish that. To pass the results around to other people, less technical, a markdown file and a bunch of images is not the best approach, so converting it to a more robust format like PDF seems like a much better choice.
[Pandoc][pandoc] is the swiss-army knife of converting documents between various formats. While being able to deal with heavy-weight formats like docx and epub, we will need it for the more lightweight markdown. To be able to generate PDF files, we need LaTeX. On OSX, the s
| gh search issues --owner paketo-buildpacks --label "note:ideal-for-contribution" --limit 1000 --json repository,number | jq -r '.[] | [.number,.repository.nameWithOwner] | @tsv' | while IFS=$'\t' read -r number repository; do | |
| echo "gh label -R $repository create hacktoberfest --description \"Hacktoberfest eligible\" --color D93F0B --force" | |
| gh label -R $repository create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force | |
| echo "gh repo edit $repository --add-topic hacktoberfest" | |
| gh repo edit $repository --add-topic hacktoberfest | |
| echo "gh issue edit $number -R $repository --add-label \"hacktoberfest\"" | |
| gh issue edit $number -R $repository --add-label "hacktoberfest" | |
| done | 
| A simple go app to connect to TanzuNet / Pivnet and update the release versions; to match the expected schema X.Y.Z instead of X.Y | 
| # from https://stackoverflow.com/a/67638584/24069 | |
| # read each item in the JSON array to an item in the Bash array | |
| set +x | |
| readarray -t my_array < <(jq --raw-output '.[]' $1) | |
| # iterate through the Bash array | |
| for item in "${my_array[@]}"; do | |
| git clone [email protected]:$item.git &>/dev/null | |
| cd ${item#*/} | 
| git checkout -b other-main | |
| git push origin other-main | |
| gh api -XPATCH "repos/pivotal-cf/tanzu-bellsoft-liberica" -f default_branch="other-main" >/dev/null | |
| git push --delete tanzu main | |
| gh api "repos/pivotal-cf/tanzu-bellsoft-liberica/branches/other-main/rename" -f new_name="main" >/dev/null | |
| git checkout main | |
| git pull origin main | 
| Array.prototype.slice | |
| .call(document.querySelectorAll("a")) | |
| .filter(link => link.attributes.rel).map(link => link.href) | |
| .sort() | 
| #!/usr/bin/env bash | |
| ARN=arn:aws:iam::xxx:user/xxx | |
| JOB_ID=$(aws iam generate-service-last-accessed-details --arn $ARN --output=json | jq -r .JobId) | |
| aws iam get-service-last-accessed-details --job-id $JOB_ID --output=json | jq '[.ServicesLastAccessed[] | select (.TotalAuthenticatedEntities | contains(1))] | sort_by(.LastAuthenticated)' | 
| #!/usr/bin/env kotlin | |
| @file:DependsOn("com.github.kittinunf.fuel:fuel:2.3.1") | |
| @file:DependsOn("com.google.code.gson:gson:2.8.6") | |
| @file:DependsOn("com.beust:klaxon:5.5") | |
| import com.beust.klaxon.JsonObject | |
| import com.beust.klaxon.Klaxon | |
| import com.beust.klaxon.Parser | |
| import com.beust.klaxon.PathMatcher | |
| import com.github.kittinunf.fuel.core.extensions.authentication |