Skip to content

Instantly share code, notes, and snippets.

Queer Supervillainess KellerFuchs

  • In a /usr/local close to you.
Block or report user

Report or block KellerFuchs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:8c62e35cdf490f361c0aac52519c2cd6
Inspired by @alicegoldfuss: https://twitter.com/alicegoldfuss/status/997268087429713922
Her palms are sweaty, knees weak, arms are heavy
There's errors on her console already, kubernetes
but on the surface she looks calm and ready
to redeploy, but etcd keeps on glitchin'
losing her commands, the whole node grows so loud.
She opens a shell, but the pods won't go down.
The SLA runs out, time's up, outage, blow!
Escalate to high severity, oh there goes availability.
@KellerFuchs
KellerFuchs / ssh_config
Created Oct 25, 2018
SSH ProxyJump example
View ssh_config
# Let's say you only want to connect to tilde.town through #!,
# for example because the firewall at work blocks tilde.town
Host tilde.town
User lycaops
ProxyJump sf1.hashbang.sh
# Your #! configuration
Host *.hashbang.sh
User opslyca
@KellerFuchs
KellerFuchs / .gitignore
Last active Sep 23, 2018
Reproducing testcase for apt_key bug
View .gitignore
/.vagrant
/log
*.retry
@KellerFuchs
KellerFuchs / tilde-irc.socket
Created May 31, 2018
Socket-activated SSH forwarding
View tilde-irc.socket
[Socket]
ListenStream=127.0.0.1:6666
Accept=true
[Install]
WantedBy=sockets.target
@KellerFuchs
KellerFuchs / tmp_pg.sh
Created Mar 25, 2018
Overengineered and overly-portable script for doing stuff in a temporary pgsql database
View tmp_pg.sh
#!/bin/sh -e
# Adapted from the Hashbang userdb testing script:
# https://github.com/hashbang/userdb/blob/master/test.sh
run() {
normal='\e[0m'
yellow='\e[33m'
printf "${yellow}%s${normal}\n" "$*" >&2
@KellerFuchs
KellerFuchs / apt.yml
Last active Sep 26, 2017
Installing apt repos and keys and packages
View apt.yml
# -*- eval: (ansible) -*-
- apt_repository:
filename: "{{ item }}"
repo: "{{ packages[item].repo | mandatory }}"
update_cache: no
notify: apt update
- apt_key:
keyring: "{{ item }}.gpg"
id: "{{ packages[item].key.id | mandatory }}"
@KellerFuchs
KellerFuchs / custom.sh
Last active Sep 20, 2017
etckeeper-less branch
View custom.sh
#!/usr/bin/env bash
function silent_ssh {
local connectionString="$1"
local commands="$2"
if [ -z "$commands" ]; then
commands=`cat`
fi
ssh -T $connectionString "$commands"
}
View keybase.md

Keybase proof

I hereby claim:

  • I am kellerfuchs on github.
  • I am kellerfuchs (https://keybase.io/kellerfuchs) on keybase.
  • I have a public key whose fingerprint is 700E 88FC 14B5 3311 1AD7 A40F 1D7C 08C6 CC26 3D74

To claim this, I am signing this object:

@KellerFuchs
KellerFuchs / squeak.sh
Last active Jul 28, 2017
BIGSQUEAKERBOX Bash prompt
View squeak.sh
_hostname=( bigsqueakerbox compooter lightningtrappedinpoisonedglass )
_user_1=( loud soft big smol kyuuuut )
_user_2=( shekken shekkie squeak )
sample() {
local n=$((RANDOM % $# +1))
echo "${!n}"
}
prompt() {
@KellerFuchs
KellerFuchs / PROTOCOL.md
Last active Sep 11, 2016
#!ctl protocol
View PROTOCOL.md

Rationale

Older versions of hashbangctl(1) used to be called through sudo(8), with all users being allowed to call that command without password.

This is not optimal, both for security reasons and because it would make it very complex for hashbangctl(1) to outlast the user's session (for instance, in the case of user deletion).

Alternatives

You can’t perform that action at this time.