Skip to content

Instantly share code, notes, and snippets.

View naomatheus's full-sized avatar
🌉
Applied Stats & ML @ UC Berkeley

mattmatt.world naomatheus

🌉
Applied Stats & ML @ UC Berkeley
View GitHub Profile
@alexpchin
alexpchin / cli_keyboard_shortcuts.md
Created March 16, 2015 18:00
CLI Keyboard Shortcuts
Keypress Action
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + L Clears the Screen, similar to the clear command
Ctrl + U Clears the line before the cursor position. If you are at the end of the line, clears the entire line.
Ctrl + H Same as backspace
Ctrl + R Let’s you search through previously used commands
Ctrl + C Kill whatever you are running
Ctrl + D Exit the current shell
@alexpchin
alexpchin / restful_routes.md
Last active July 28, 2024 17:45
7 Restful Routes
URL HTTP Verb Action
/photos/ GET index
/photos/new GET new
/photos POST create
/photos/:id GET show
/photos/:id/edit GET edit
/photos/:id PATCH/PUT update
/photos/:id DELETE destroy
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active November 2, 2024 15:03
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@shortjared
shortjared / list.txt
Last active October 28, 2024 07:30
List of AWS Service Principals
a4b.amazonaws.com
access-analyzer.amazonaws.com
account.amazonaws.com
acm-pca.amazonaws.com
acm.amazonaws.com
airflow-env.amazonaws.com
airflow.amazonaws.com
alexa-appkit.amazon.com
alexa-connectedhome.amazon.com
amazonmq.amazonaws.com