Skip to content

Instantly share code, notes, and snippets.

View kevinpthorne's full-sized avatar
😀

Kevin Thorne kevinpthorne

😀
View GitHub Profile
@MitchTalmadge
MitchTalmadge / README.md
Last active July 14, 2022 20:07
Batch Domain Lookup Script

This particular (ugly) script generates all 3-character .cc domain permutations and searches for which ones are available for purchase using namecheapapi.com. It outputs to console and a file called output.txt.

#!/bin/bash
#1) on https://console.developers.google.com/ register project, enable Groups Migration API, and create OAuth2 credentials.
#2) set the client_id and client_secret variables below to the values provided when creating the OAuth2 credentials.
#3) make copies of the Client ID and Client Secret for the OAuth2 credentials and use them
client_id="..."
client_secret="...."
#4) get authorization code at the following link using web browser
# (make sure you sign in with an account that has access to Google Groups you are importing to).

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: