Skip to content

Instantly share code, notes, and snippets.

Avatar
🌚
What's up?

Javier Luna Molina JavierLuna

🌚
What's up?
View GitHub Profile
View gpg-quick.md

GPG quick and straight to the point

(Some systems use gpg2 instead of gpg, same thing but different name)

Create key pair

gpg --full-gen-key. RSA and RSA (the default) and use 4096 lenght.

List all the keys on your machine

gpg --list-keys --keyid-format LONG. The $ID I'll be refering from now on goes after the pub rsa4096/ part.

@JavierLuna
JavierLuna / ubuntu-setup.sh
Last active Nov 12, 2018
Script to install my shit on a fresh Ubuntu install. Only tested on Ubuntu 16.04
View ubuntu-setup.sh
#!/bin/bash
if [ "$EUID" -eq 0 ]
then echo "Execute again without sudo"
exit
fi
cd $HOME
sudo apt-get update -y
@JavierLuna
JavierLuna / flask-boilerplate.sh
Last active Oct 23, 2017
Creates my current Flask app skeleton, creating along the way a virtual environment and installing my fav libraries
View flask-boilerplate.sh
#!/bin/bash
projectname=""
python_interpreter=""
usage()
{
echo "Usage: flask-boilerplate <projectname (OPTIONAL)> [params]"
echo "Example: flask-boilerplate hello-world"
echo "Params:"