Skip to content

Instantly share code, notes, and snippets.

View dougalb's full-sized avatar

Dougal Ballantyne dougalb

View GitHub Profile
@dougalb
dougalb / gist:e3be1b3727e5fde03ec53ba0f0cd5baa
Created April 15, 2020 17:06
All AWS Services @ 2020-04-15
git clone https://github.com/boto/botocore && cd botocore/botocore/data && find . -type d -depth 1 | sed 's/\.\///' | sort | uniq
Cloning into 'botocore'...
remote: Enumerating objects: 87, done.
remote: Counting objects: 100% (87/87), done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 52806 (delta 40), reused 56 (delta 21), pack-reused 52719
Receiving objects: 100% (52806/52806), 69.78 MiB | 9.83 MiB/s, done.
Resolving deltas: 100% (34152/34152), done.
accessanalyzer
acm
@dougalb
dougalb / gist:a89f3945cabf0122e040a858a93b3e3d
Created April 7, 2020 02:19
Clearfog Base - Firstboot Armbian - uSD
dougalb@ubuntu-vm:~$ sudo kermit clearfog-serial-usb
Connecting to /dev/ttyUSB0, speed 115200
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
U-Boot SPL 2018.01-armbian (Feb 17 2020 - 03:18:56)
High speed PHY - Version: 2.0
Detected Device ID 6828

Keybase proof

I hereby claim:

  • I am dougalb on github.
  • I am dougalb (https://keybase.io/dougalb) on keybase.
  • I have a public key whose fingerprint is 92EE A877 693E 3CB3 041F 08FD 7CED D26C 5ECB 5D65

To claim this, I am signing this object:

@dougalb
dougalb / ami_cleanup.sh
Created February 19, 2016 16:13
ami_cleanup.sh script for CfnCluster
rm -rf /var/tmp/* /tmp/*
rm -rf /var/lib/cloud/instances/*
rm -f /var/lib/cloud/instance
rm -rf /etc/ssh/ssh_host_*
rm -f /etc/udev/rules.d/70-persistent-net.rules
find /var/log -type f -exec /bin/rm -v {} \;
touch /var/log/lastlog
cd /root
rm -f .viminfo
history -c
@dougalb
dougalb / crash.log
Created February 1, 2016 05:07
packer crash.log
2016/02/01 04:50:05 [INFO] Packer version: 0.8.7 dev 28b045e54683a78c738fa899cb8785257716a0e0
2016/02/01 04:50:05 Packer Target OS/Arch: linux amd64
2016/02/01 04:50:05 Built with Go Version: go1.4.2
2016/02/01 04:50:05 Detected home directory from env var: /home/ec2-user
2016/02/01 04:50:05 Using internal plugin for amazon-chroot
2016/02/01 04:50:05 Using internal plugin for file
2016/02/01 04:50:05 Using internal plugin for virtualbox-ovf
2016/02/01 04:50:05 Using internal plugin for digitalocean
2016/02/01 04:50:05 Using internal plugin for googlecompute
2016/02/01 04:50:05 Using internal plugin for openstack