Skip to content

Instantly share code, notes, and snippets.

@tthoma24
tthoma24 / README.md
Created January 23, 2021 00:09
lost-aws-ssh-key
@tthoma24
tthoma24 / script.py
Created December 12, 2019 16:58
Python settings file from GSB lists
#!/usr/bin/python2.7
import pyodbc
import settings # file settings.py
# [SNIP]
try:
if from_field.strip() != "":
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
# umask 022k is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
alias please='sudo $(history -p \!\!)'
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
#case $- in
# *i*) ;;
# *) return;;
#esac
@tthoma24
tthoma24 / ssh_config
Created December 8, 2017 04:36
My ~/.ssh/config file
#Examples
#To get the MD5 fingerprint instead of SHA256:
# Host example.org
# FingerprintHash md5
Host ubuntu.dev
IdentityFile ~/.ssh/ubuntuvm_rsa
Host github.mit.edu
IdentityFile ~/.ssh/github.mit.edu_rsa
Host github.com
IdentityFile ~/.ssh/github_rsa
@tthoma24
tthoma24 / keybase.md
Last active July 27, 2016 21:15
keybase.md

Keybase proof

I hereby claim:

  • I am tthoma24 on github.
  • I am tthoma24 (https://keybase.io/tthoma24) on keybase.
  • I have a public key whose fingerprint is 761F 5F1E 6E4F 64B9 C95B 5AD1 7800 7B98 21E9 7692

To claim this, I am signing this object: