Scripts, Tips and Automations
Written and Authored by Jared
Williams
1.
Automate grabbing an OTP auth key from 1Password and automatically connecting to a Viscosity VPN connection.
Github link
2.
Image of a Kali Linux installed natively on a flash drive. No persistence file. Will boot on any machine Mac, Windows, *Nix. Instructions, Description,
and mirrors included.
Jared.nyc link
3.
Import all passwords from OSX and iCloud Keychain to 1Password.
Github link
4.
Pull all git repos with 1 folder depth below in 2 different folders.
Github link
5.
Get inode usage of the current directory.
Gist link
6.
Clear arp cache using IP by IP method.
Gist link
7.
NTP Synchronization LeapSecond Fix
DevOps Chat link
8.
Fun Script: Swipe right on Tinder for every person within your search parameters.
Gist link
9.
Tag all Security Groups with corresponding Environment from instance tags
Github link
10.
Name all EBS volumes with Instance Name, Volume Name and tag with Environment
Github link
11.
Parallelized Knife Script to view all unused cookbooks
Github link
12.
Download all repositories of a User or Org from Github
Github link
13.
Add a local Mac user, useful for when needed to create a daemon or system user
Github link
14.
Setup a Yubikey for use with SSH, keep your ssh key in your pocket! Private keys can never been pulled off or viewed. Only public keys. I keep one on a
necklace that i wear with me. The key has a PIN on it as well so if it falls into the wrong hands it wont work. Its GPG encrypted and works with any openSSH version. Increase security by
keeping private keys off file systems, and impress friends in coworkers with your awesome nerd key!
Gist link
15.
Quick script to add 5gb swap file and add to /etc/fstab
Gist link
16.
Extract all URLs from text (grep and regex command)
Gist link
17.
Keep a local plain text cache of AWS data
Github link
18.
Output all ELBs and their corresponding instances
Github link