Skip to content

Instantly share code, notes, and snippets.

View npodonnell's full-sized avatar
🎯
Focusing

npodonnell npodonnell

🎯
Focusing
View GitHub Profile
@npodonnell
npodonnell / jenkins_cheatsheet.md
Last active January 2, 2021 21:38
Jenkins Cheatsheet

Jenkins Cheatsheet

N. P. O'Donnell, 2020-21

Run in Docker

Get the Jenkins docker image:

docker pull jenkins/jenkins
@npodonnell
npodonnell / ssh_cheatsheet.md
Last active December 14, 2022 23:34
SSH Cheatsheet

SSH Cheatsheet

N. P. O'Donnell, 2020

Specify a Key

To have SSH use a specific key:

ssh -i <path/to/key> <remote host>

OpenSSL Encryption Cheatsheet

N. P. O'Donnell, 2020

Encrypting a file with AES 256 CBC

openssl enc -aes-256-cbc -in <plaintext input file> -out <ciphertext output file>
@npodonnell
npodonnell / pandas_cheatsheet.md
Last active November 8, 2020 11:49
Pandas Cheatsheet

Pandas Cheatsheet

N. P. O'Donnell, 2020

Importing the Library

import pandas as pd

Python Cheatsheet

N. P. O'Donnell, 2020

Virtual Environments

Create venv:

virtualenv -p python venv
@npodonnell
npodonnell / npm_cheatsheet.md
Last active August 26, 2020 18:55
NPM Cheatsheet

NPM Cheatsheet

N. P. O'Donnell, 2020

Website

Security Best Practices

@npodonnell
npodonnell / conan_cheatsheet.md
Last active September 12, 2021 23:16
Conan Cheatsheet
@npodonnell
npodonnell / docker_networking_cheatsheet.md
Last active August 5, 2020 14:44
Docker Networking Cheatsheet

Docker Networking Cheatsheet

N. P. O'Donnell, 2020

List networks:

docker network ls

Create a network called beatles:

@npodonnell
npodonnell / openssl_X509_cheatsheet.md
Last active July 31, 2020 17:10
OpenSSL X.509 Cheatsheet

OpenSSL X.509 Cheatsheet

N. P. O'Donnell, 2020

Creating Keys

Create 2048-bit RSA key:

openssl genrsa -out example.com.key 2048
@npodonnell
npodonnell / typescript-cheatsheet.md
Last active April 17, 2021 21:09
TypeScript Cheatsheet

TypeScript Cheatsheet

N. P. O'Donnell, 2020

Facts about TypeScript

  • Files end in .ts.
  • TypeScript is a superset of JavaScript, similar to how C++ is a superset of C. All JavaScript is valid TypeScript.
  • Compiles down to JavaScript.