I hereby claim:
- I am nezteb on github.
- I am nezteb (https://keybase.io/nezteb) on keybase.
- I have a public key ASDyuiwu5J7N11dFqoODnh6yemm_cFqt9CyFX9CZ4jEKIQo
To claim this, I am signing this object:
kubeshell() { | |
# Set these: | |
KUBE_NAMESPACE= | |
KUBE_POD= | |
kubectl -n "$KUBE_NAMESPACE" exec -ti "$KUBE_POD" -- bash | |
} | |
kubepg() { | |
# Options: | |
# 1: dev, test, or prod |
# Pulled from https://fossil-scm.org/home/file?name=Dockerfile&ci=trunk | |
# With more build ARGs, cleaner tarball extraction, HTTPS, etc. | |
ARG ALPINE_VERSION | |
ARG FSLHSH | |
ARG FSLVER | |
ARG FSLCFG="" | |
# syntax=docker/dockerfile:1.3 | |
# See www/containers.md for documentation on how to use this file. |
#!/usr/bin/env bash | |
# Grep on macOS is limited and weird, so we're using Perl for the regex (and awk because it's easy) | |
UNFORMATTED_FILES=$(mix format --check-formatted 2>&1 | perl -nle'print $& while m{^|[^*]\* \K.*}g' | awk NF | sort) | |
STAGED_FILES=$(git diff --name-only --cached | sort) | |
# Files that need formatting and are currently staged (comm expects sorted inputs) | |
INTERSECTION=$(comm -12 <(echo "$UNFORMATTED_FILES") <(echo "$STAGED_FILES")) | |
GREEN='\033[0;32m' |
{ | |
"title": "Add ctrl/fn/cmd + left click -> right click", | |
"rules": [ | |
{ | |
"description": "ctrl+left click to right click", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"pointing_button": "button1", |
#!/bin/bash | |
wget --no-clobber --no-parent --recursive --random-wait --user-agent=mozilla --reject "*.html*" $1 |
#!/usr/bin/env bash | |
# VIDEOS=$(fd mp4) | |
# for VIDEO in $VIDEOS | |
# do | |
# done | |
/usr/bin/find . -type f -name "*.mp4" -print0 | while IFS= read -r -d '' VIDEO; do | |
echo "Compressing $VIDEO..." |
// ==UserScript== | |
// @name Remove resolved bot threads on a merge request | |
// @description Remove resolved bot threads on a merge request | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @author Noah Betzen | |
// @match https://gitlab.com/*/merge_requests/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=gitlab.com | |
// @grant none | |
// ==/UserScript== |
const delay = (milliseconds) => { | |
return new Promise(resolve => { | |
setTimeout(resolve, milliseconds); | |
}); | |
} | |
const getElementByXPath = (node, path) => { | |
return document.evaluate(path, node, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; | |
} |
I hereby claim:
To claim this, I am signing this object:
BEGIN MESSAGE. | |
hACsxbI7R5ZJQZw HyMil5HNazf4KTQ TmSHbp7D09Bmv3h KfDdpC1aYvuFdel | |
2jxVg2UslRKhXWL 7Dp3qsXY7k3TCKq 6Xr2MZHgg4ZvTLH iXE9GCCuX8YoOBV | |
5s1ebLoV2PiOoqL yI9IRT3Gz7l1TaJ 7tDQxLwaoXqjal5 W2jTkhfCC2KABuo | |
c6QIKDVQSpCbdN0 PJkUnawBbDLmzzJ MLUEk21. | |
END MESSAGE. |