Skip to content

Instantly share code, notes, and snippets.

View nodeselector's full-sized avatar

Jeff Martin nodeselector

View GitHub Profile
{
"Configuration": {
"MainFilePath": ".github/workflows/ci.yml",
"ReferencedFiles": {},
"CallBacks": {
"JobStatusUrl": "https://launch-receiver.githubapp.com/actions/build/4823532d-8715-4d86-9142-11a55ba7a8aa/jobs/{job_id}?timestamp=2022-01-05T18%3A30%3A01.877023093Z",
"RunStatusUrl": "https://launch-receiver.githubapp.com/actions/build/4823532d-8715-4d86-9142-11a55ba7a8aa?timestamp=2022-01-05T18%3A30%3A01.877023093Z",
"PreJobUrl": "https://launch-receiver.githubapp.com/actions/build/4823532d-8715-4d86-9142-11a55ba7a8aa/jobs/{job_id}/pre_job_tokens?timestamp=2022-01-05T18%3A30%3A01.877023093Z",
"TokenRefreshUrl": "https://launch-receiver.githubapp.com/actions/build/4823532d-8715-4d86-9142-11a55ba7a8aa/jobs/{job_id}/refresh_tokens?timestamp=2022-01-05T18%3A30%3A01.877023093Z",
"ActionResolutionUrl": "https://launch-receiver.githubapp.com/actions/build/4823532d-8715-4d86-9142-11a55ba7a8aa/jobs/{job_id}/resolve/actions?timestamp=2022-01-05T18%3A30%3A01.877023093Z"

Keybase proof

I hereby claim:

  • I am nodeselector on github.
  • I am nodeselector (https://keybase.io/nodeselector) on keybase.
  • I have a public key ASC4LgphOHUNvwfjaAsI1JoLlYnZJS_wwkdpLjHHDGmfzgo

To claim this, I am signing this object:

@nodeselector
nodeselector / log.txt
Created April 3, 2021 03:13
quick-release borked
make quick-release 20:04:53
+++ [0402 20:04:56] Verifying Prerequisites....
+++ [0402 20:04:56] Using Docker for MacOS
+++ [0402 20:04:58] Building Docker image kube-build:build-ba18ec7d69-5-v1.16.1-1
+++ [0402 20:05:02] Syncing sources to container
+++ [0402 20:05:08] Running build command...
Generating prerelease lifecycle code for 27 targets
Generating deepcopy code for 227 targets
Generating defaulter code for 89 targets
Generating conversion code for 124 targets
@nodeselector
nodeselector / repro.py
Created October 11, 2020 06:45
Stack Overflow while creating a Kusto based logging handler in Python
#!/usr/bin/env python3
import os
import sys
from time import strftime, gmtime
import logging
import pandas
from azure.kusto.data import KustoConnectionStringBuilder
from azure.kusto.ingest import (BlobDescriptor, DataFormat, FileDescriptor,
IngestionMappingType, IngestionProperties,
Get-ChildItem -path $home -ErrorAction silentlycontinue -Recurse |
Sort-Object -Property length -Descending |
Format-Table -autosize -wrap -property `
@{Label=”Last access”;Expression={($_.lastwritetime).ToshortDateString()}},
@{label=”size in megabytes”;Expression={“{0:N2}” -f ($_.Length / 1MB)}},
@nodeselector
nodeselector / vim.txt
Created December 3, 2019 06:08
[save file as sudo without closing vim] #vim
:w !sudo tee %
@nodeselector
nodeselector / macos_open_ports.sh
Created December 2, 2019 18:07
[MacOS list open/established ports] #MacOS
lsof -i | grep -E "(LISTEN|ESTABLISHED)"