Skip to content

Instantly share code, notes, and snippets.

View billimek's full-sized avatar
:octocat:
Verified™️

Jeff Billimek billimek

:octocat:
Verified™️
View GitHub Profile
@alexellis
alexellis / k8s-pi.md
Last active April 11, 2024 14:17
K8s on Raspbian
@joshq00
joshq00 / .setup.md
Last active February 24, 2017 14:44
vim and tmux files

I use luan/vimfiles

He's also added a cheat sheet

Setup

# get vim set up
brew uninstall ctags
brew tap universal-ctags/universal-ctags
brew install universal-ctags --HEAD
@noah
noah / ssh-github-deploy.sh
Created November 11, 2016 10:32
Programmatically create deploy keys, on server and GitHub, for an existing git repository
#!/bin/sh
KEYDIR=~/.ssh/keys.d/github-deploy
CONFDIR=~/.ssh/config.d/github-deploy
github_username=noah
github_access_token=$(cat ~/.secret/github_access_token)
rp=$(git rev-parse --is-inside-work-tree 2>/dev/null)
@joshq00
joshq00 / encode.sh
Created January 20, 2016 22:35
encode with ssh key
#!/bin/bash
# generate pub key
ssh-keygen -f ~/.ssh/id_rsa.pub -e -m PKCS8 > ~/.ssh/id_rsa.pem.pub
# encrypt | decrypt
openssl rsautl -encrypt -pubin -inkey ~/.ssh/id_rsa.pem.pub -ssl <<< somestring |
openssl rsautl -decrypt -inkey ~/.ssh/id_rsa
@kevinberny
kevinberny / AnyConnect_SecurID
Last active May 4, 2023 10:58
Mac OS X AppleScript to automate RSA SecurID pin & Cisco AnyConnect client connection. Leverages keychain. Cobbled together from several other previous postings
set the clipboard to ""
set appname to "SecurID"
set thePin to RsaTokenPin()
activate application appname
do shell script "networksetup -setairportpower en0 on"
tell application appname
activate
@iboard
iboard / .tmux.conf
Last active January 20, 2019 08:02
My .tmux-config for Mac OS X, iTerm2
set-window-option -g utf8 on
set -g mode-mouse on
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on
set-option -g prefix C-q
set -g history-limit 50000
unbind-key C-b
bind-key q send-prefix
set -g base-index 1