Skip to content

Instantly share code, notes, and snippets.

View unfrgivn's full-sized avatar
💜
We're all doing our best, support one another

Brad Ash unfrgivn

💜
We're all doing our best, support one another
View GitHub Profile
@skwid138
skwid138 / gh_repo_search.sh
Last active August 17, 2024 21:52
Get a list of repositories a user made commits to during a given date range. Make sure the script is executable, update GH_USERNAME and GH_TOKEN. Use `--help` for argument info.
#!/bin/bash
# Get a list of repositories the defined user made commits to in the passed in date range
# Example: ./gh_repo_search.sh 2018-07-01 2018-08-01
# GitHub username and personal access token
GH_USERNAME="gh_username"
GH_TOKEN="***************************************"
# Take 2 passed in dates in yyyy-mm-dd format
@noseka1
noseka1 / JSONPath in kubectl CLI.md
Last active April 23, 2025 08:21
JSONPath in kubectl CLI examples

Examples

$ kubectl get pods -o json
$ kubectl get pods -o jsonpath='{@}'
$ kubectl get pods -o jsonpath='{.items[0]}'
$ kubectl get pods -o jsonpath='{.items[0].metadata.name}'
$ kubectl get pods -o jsonpath="{.items[*]['metadata.name', 'status.capacity']}"
$ kubectl get pods -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.status.startTime}{"\n"}{end}'
$ kubectl get pods -o jsonpath='{.items[*].status.podIP}'
@coryodaniel
coryodaniel / list.txt
Created May 13, 2020 22:04
GCP List of API Services
NAME TITLE
abusiveexperiencereport.googleapis.com Abusive Experience Report API
acceleratedmobilepageurl.googleapis.com Accelerated Mobile Pages (AMP) URL API
accessapproval.googleapis.com Access Approval API
accesscontextmanager.googleapis.com Access Context Manager API
actions.googleapis.com Actions API
adexchangebuyer-json.googleapis.com Ad Exchange Buyer API
adexchangebuyer.googleapis.com Ad Exchange Buyer API II
adexchangeseller.googleapis.com Ad Exchange Seller API
adexperiencereport.googleapis.com Ad Experience Report API