Skip to content

Instantly share code, notes, and snippets.

Hernan Garcia hernandanielg

Block or report user

Report or block hernandanielg

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View listcontainers.go
package main
import (
hernandanielg /
Last active Feb 20, 2019
Bash script to delete IAM users using AWS cli tool
echo "User: $user"
user_policies=$(aws iam list-user-policies --user-name $user --query 'PolicyNames[*]' --output text)
echo "Deleting user policies: $user_policies"
for policy in $user_policies ;
hernandanielg /
Last active Oct 3, 2018
Install OpenSSL & Freeradius from sources on Linux CentOS 7 x86_64

Install OpenSSL & Freeradius from sources on Linux CentOS 7 x86_64

Steps to compile OpenSSL from sources

:~# curl -O<version>.tar.gz
:~# tar xvf openssl-<version>.tar.gz
:~# cd openssl-<version>
:~# yum install perl gcc make zlib-devel -y
:~# ./config --prefix=/usr/local --openssldir=/usr/local/openssl shared zlib-dynamic
:~# make && make install
hernandanielg /
Last active Feb 1, 2016
DNSSEC for ENUM zone

DNSSEC for ENUM zone

This is a basic installation/configuration "how-to" to provide DNSSEC using OpenDNSSEC and BIND. ENUM is involved since it uses NAPTR records.

Install dependencies/packages
apt-get update && apt-get upgrade
apt-get install softhsm opendnssec opendnssec-enforcer opendnssec-enforcer-sqlite3
You can’t perform that action at this time.