Skip to content

Instantly share code, notes, and snippets.

View deny4ll's full-sized avatar

Christian Alonso deny4ll

View GitHub Profile
@deny4ll
deny4ll / 0_reuse_code.js
Created December 30, 2015 18:21
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@deny4ll
deny4ll / install.sh
Created December 17, 2017 15:53 — forked from mkubenka/install.sh
OpenVPN Access Server Letsencrypt
#!/bin/sh
apt-get -y install git bc
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
mkdir /etc/letsencrypt
@deny4ll
deny4ll / get-aws-creds.sh
Created November 4, 2022 12:12 — forked from Yloganathan/get-aws-creds.sh
Extended https://github.com/sweharris/aws-cli-mfa/blob/master/get-aws-creds and pushed the token, access key and Id to credentials
#!/bin/bash
# This uses MFA devices to get temporary (eg 12 hour) credentials. Requires
# a TTY for user input.
#
# GPL 2 or higher
if [ ! -t 0 ]
then
echo Must be on a tty >&2