Skip to content

Instantly share code, notes, and snippets.

View JavierLuna's full-sized avatar
What's up?

Javier Luna Molina JavierLuna

What's up?
View GitHub Profile
JavierLuna /
Created August 24, 2019 10:00
GPG quick & easy

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 /
Last active November 12, 2018 14:55
Script to install my shit on a fresh Ubuntu install. Only tested on Ubuntu 16.04
if [ "$EUID" -eq 0 ]
then echo "Execute again without sudo"
cd $HOME
sudo apt-get update -y
JavierLuna /
Last active October 23, 2017 01:11
Creates my current Flask app skeleton, creating along the way a virtual environment and installing my fav libraries
echo "Usage: flask-boilerplate <projectname (OPTIONAL)> [params]"
echo "Example: flask-boilerplate hello-world"
echo "Params:"