Skip to content

Instantly share code, notes, and snippets.

View hernandanielg's full-sized avatar

Hernan Garcia hernandanielg

View GitHub Profile

Keybase proof

I hereby claim:

  • I am hernandanielg on github.
  • I am hernandanielg (https://keybase.io/hernandanielg) on keybase.
  • I have a public key ASAPdO6A45PrkE_PuFerLteRsL12o0nz1a50eSu8mgCxfgo

To claim this, I am signing this object:

package main
import (
"context"
"fmt"
"github.com/docker/docker/api/types"
"github.com/docker/docker/client"
)
@hernandanielg
hernandanielg / delete_iam_user.sh
Last active July 14, 2023 09:33
Bash script to delete IAM users using AWS cli tool
#!/bin/bash
#
# @author: Hernan Garcia <hernandanielg@gmail.com>
# https://gist.github.com/hernandanielg/430f3adb8e297f37ef6f0efb45a51bdc
#
# usage: ./delete_iam_user.sh [options] <user>
# options:
# -d|--dry-run dry run mode
#
@hernandanielg
hernandanielg / INSTALL.md
Last active October 3, 2018 04:48
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 http://openssl.org/source/openssl-<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 &amp;&amp; make install
@hernandanielg
hernandanielg / opendnssec-enum.md
Last active February 1, 2016 22:08
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