Skip to content

Instantly share code, notes, and snippets.

View bashfulrobot's full-sized avatar
🏢
Always forget to set this status.

Dustin Krysak bashfulrobot

🏢
Always forget to set this status.
View GitHub Profile
@bashfulrobot
bashfulrobot / autojump.nix
Last active April 22, 2024 02:04
nix samples
{ ... }:
let
username = if builtins.getEnv "SUDO_USER" != "" then
builtins.getEnv "SUDO_USER"
else
builtins.getEnv "USER";
in {
home-manager.users."${username}".programs.autojump = {
enable = true;
enableFishIntegration = true;
@bashfulrobot
bashfulrobot / sysdig-agent-values.yaml
Created September 28, 2022 19:15
Template values.yaml - sysdig agent
#### Sysdig Deploy Chart - https://charts.sysdig.com/charts/sysdig-deploy/
global:
clusterConfig:
name: op://secrets/sysdig-us2-agent-install/dt-cluster-name
sysdig:
accessKey: op://secrets/sysdig-us2-agent-install/accessKey
region: op://secrets/sysdig-us2-agent-install/region
kspm:
deploy: true
kspmCollector:
@bashfulrobot
bashfulrobot / create-repo.sh
Last active June 19, 2020 00:22
Create GitHub Repo with only a main branch
#!/usr/bin/env bash
mkdir -p $HOME/tmp/$1 && cd $HOME/tmp/$1
git init
gh repo create -d "$2" --public
git remote set-url origin git@github.com:bashfulrobot/$1.git
git checkout -b main
echo "$2" >> README
git add README
#!/bin/bash
curl -s -F "shorten=$1" https://0x0.st | xclip -selection c
exit 0

Keybase proof

I hereby claim:

  • I am bashfulrobot on github.
  • I am dustinkrysak (https://keybase.io/dustinkrysak) on keybase.
  • I have a public key ASCKNBT76wxFOn5XE3N4VJXrzbWJ9ClrLJ_OYqhmzic-Cgo

To claim this, I am signing this object: