Skip to content

Instantly share code, notes, and snippets.

View steveteuber's full-sized avatar
🏡
Working from home

Steve Teuber steveteuber

🏡
Working from home
View GitHub Profile
@steveteuber
steveteuber / brename-helper.sh
Last active February 12, 2019 07:15
This script will launch `brename` in each directory that contains a tab-delimited key-value file for renaming filenames.
#!/bin/bash -e
#
# This script will launch `brename` in each directory that contains
# a tab-delimited key-value file for renaming filenames.
#
# Dependencies:
# brename - A cross-platform command-line tool for safely batch renaming files
# (https://github.com/shenwei356/brename)
#
# Usage:
@steveteuber
steveteuber / oc.plugin.zsh
Last active August 30, 2019 13:45
Autocompletion for `oc` with impersonate the `system:admin` user.
# Autocompletion for `oc`, the command line interface for OpenShift
#
# Author: https://github.com/steveteuber
#
if [ $commands[oc] ]; then
source <(oc completion zsh)
fi
# Impersonating the `system:admin` user
#
@steveteuber
steveteuber / index.ts
Created October 24, 2025 13:03
Workaround to prevent "Commit signoff is enforced by the organization and cannot be disabled" error
import * as github from "@pulumi/github";
import * as proxy from "./proxy";
new github.Repository("example-repo", {
name: "example-repo",
description: "An example repository",
}, proxy);