Skip to content

Instantly share code, notes, and snippets.

View aaronky's full-sized avatar
💭
I may be slow to respond.

Aaron Kaufman aaronky

💭
I may be slow to respond.
View GitHub Profile
@aaronky
aaronky / id_ed25519_sk.pub
Last active April 10, 2021 22:12
yubikey
sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIC76PrkFnhe1KB1KSaPRMH6s441ZiamJX+m60O2agRKIAAAABHNzaDo=
@aaronky
aaronky / untitled
Created December 31, 2020 22:04
fooo
-----BEGIN PGP MESSAGE-----
hQIMAynNz3NuOLllAQ/7BAYevS7GzXzPxXS30YicMJ6PlshVsqJK2FD13rK7ULr0
4O/L69bqILt/g82RGHatl+UTTd+6URltlLOAHCODELeFPtYfdWk/cI9IypezRRlB
WkoA/CQMAdDeZfgeRZHuFLJ/Ym2O2KoJ4WfRarsGuoUUXMbtZnmRSCMZiM6rMrHf
2qaiwQw/f31SmIfL6RDYc3D1YgINGU47H0/uSVbYqdodtuxIp9mMu89NljBrSJwE
NSRCRIIy8ASL87UHixvv7VUKjJXjD7K3MxgbgvhpazgGGU+PKvDhp0XOy+Zj+B/L
lL3PKe+FbcuLtix18buj1zJcFxxXx0Dn/mFWUR18k0aGbTB1O4+reaIm2o91lWbq
7ihEusmfAyhRHIsaXLvlfhA3yAILoNgkAJGdKl18AWLsDOhJ6tOcxEViIAKJyazb
hchSliZvF/2DwovuLfAk69gOY00EMwhxcXdOZIXBM/4BEeBbbHQCRpfXkaqy+JJU
@aaronky
aaronky / untitled
Created November 5, 2020 16:47
foo
-----BEGIN PGP MESSAGE-----
hQIMA2o53arc4Lw3AQ/8C0C71HHKcAk6gdotjX+J3T+Lh3tKrbIbiZF8VE1+SDwF
1N5i+9oHThnLg9LAB16iwyiED2kKJhcbXBGneaFseLmRom9SrotV9Lbyifb7SXbf
+hK1soBgfbVehHBZ47UKNEVUtLA6LwRoHBqYOUZzp2mFYPt40IxVSBz+GrRNQlYv
TDa2KXlgLe8JyOA2wW6vSQ95lvDaWbPvVqKkygcpnfjfAp6AWDGWWnUBHMM3bold
G69vyO79UELeeqyrm2MGqa6lf2Bm9vMfei2kK+JsYnqRICSH+H2ZdzdD2X+jKafL
Z8i4fZJK5CbBjX4BQcow9Ut/125cEfQdy41rFJf/SaIy50gvaII/frk3BVhKELEC
t+zU0KQ0I/FNIAFyvg2fqqxHOd9aowsvDmyVwrN0YWHsAd9fV8MYHpMx5tsdLvc8
FOFoBaZzA3iJKIcJ3DeE99Jm18hST6HETX4w/ntrHS+LB7NGmVn2TR7pU6bjZx/v
-----BEGIN PGP MESSAGE-----
hQIMA2o53arc4Lw3AQ/9HAQAAtqdE31Sn1VrPAPJpheOw49bAPLB9VmvX+pCegWh
ECeuY7/4K0prBNVK0lAk/8xxvL5aizyvYmP1KNhK3gsMKLs0wzJbCRlgi2CmVTfR
cnoy/fPhhW2Jibhbt4sXHE31AKmCkQLTpgXBUZwsdida/0jxW5gA66fdJBdYCM1B
v0nS3Tz25lkY38CIE3LYvY/NdlgK+Fpc6v6WItvfL6d8nd+SH7liAyz/kZJuvWIU
cyWI+8EMVBGiraaXchDfbnsdxfSMamm+sI67NApixykPb6LsPknvbfNvgVjppr0n
IxROnE5rnPWuHOKlb2P0+7jNRD3K6WA8n+2z+oBW6DSCzKtNvMPuaa17BNy3eR95
wuIs5W+lJS6YQn5neLJ8OnPt7T2o1QDqDYlQKjZXNPouzoHwLxL0JuwYmHLFnZqB
n25LufvR17HjQcphQSiIisFI2l3qD9e7QEIU+FE5RVuId/2tN5jqqNSegw13Y4c9
@aaronky
aaronky / mosh_tmux
Created May 15, 2020 08:59
mosh tmux bastion
mosh --family=inet6 bastion -- tmux a -t REMOTE -d
top -m io -o write -s 1
tar -czvf --use-compress-program=pigz -f foo.tar.gz foo
tar -cf - foo.tar | 7za a -si -mx=9 foo.tar.7z
7za a -t7z -mx=9 -mfb=273 -ms -md=31 -myx=9 -mtm=- -mmt -mmtf -md=1536m -mmf=bt3 -mmc=10000 -mpb=0 -mlc=0 foo.7z foo.tar
sudo nmap -n -PN -sT -sU -p- 10.1.100.123
## shadowsocks
ss-local -s <HOST> -p 8388 -k "<PASSWORD>" -m aes-256-gcm -l 1088
## ssh
audio/clementine-player
devel/git-lite
dns/bind-tools
dns/opendnssec
editors/vim-console
emulators/virtualbox-ose
irc/hexchat-fish
irc/irssi
irc/weechat-otr
irc/znc
pkg install git-lite vim-console tmux secadm secadm-kmod
git clone --single-branch --branch master https://github.com/hardenedbsd/hardenedbsd-ports/ /usr/ports/
git clone --depth=1 --single-branch --branch hardened/12-stable/master https://github.com/hardenedbsd/hardenedbsd-stable/ /usr/src
@aaronky
aaronky / gist:6c4b5065fcf22264e882c74c83848741
Last active April 7, 2019 17:52
kill defunct zombie parent
ps afx | grep defunct -B 1 | grep -Eo "[0-9]{3,}" | xargs kill -9
Copyright (c) 1992-2017 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.1-RELEASE-p1 #0 r324151: Sun Oct 1 17:16:52 UTC 2017
root@folsom.segfault.pw:/usr/obj/usr/src/sys/FOLSOM amd64
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
VT(efifb): resolution 800x600
CPU: Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz (2592.12-MHz K8-class CPU)
Origin="GenuineIntel" Id=0x506e3 Family=0x6 Model=0x5e Stepping=3