Skip to content

Instantly share code, notes, and snippets.

View aviral26's full-sized avatar

Aviral Takkar aviral26

View GitHub Profile
@aviral26
aviral26 / referrers-api.md
Last active August 11, 2021 16:03
Referrers API for OCI Registries
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Referrers API for OCI Registries

Request

/oras/artifacts/v1//manifests//referrers?parameters
@aviral26
aviral26 / commands.md
Last active June 1, 2022 17:29
Useful Commands

Network

# TCP Ping
timeout 2 bash -c -- "while true;do nc -z example.com 443 -v -w 3;done"

Processes

 # Kill a process listening on a port
 lsof -ti:5901 | xargs kill -9