Skip to content

Instantly share code, notes, and snippets.

View Bachmann1234's full-sized avatar

Matt Bachmann Bachmann1234

View GitHub Profile
@Bachmann1234
Bachmann1234 / import-rds-certs.sh
Last active November 15, 2022 20:09 — forked from shareefhiasat/import-rds-certs.sh
import RDS certificates to java keystore on alpine / osx
#!/bin/zsh
set -euo pipefail
IFS=$'\n\t'
# i tried it and working like charm just have to note make the file .sh chmod +x and you may need sudo to run with permission but be carefull with sudo
# be sure the $JAVA_HOME is configure correctly or make it static as commentedline 7 below
OLDDIR="${PWD}"
CACERTS_FILE=$(/usr/libexec/java_home -v 1.8)/jre/lib/security/cacerts
mkdir /tmp/rds-ca && cd /tmp/rds-ca
@Bachmann1234
Bachmann1234 / 0_reuse_code.js
Last active August 29, 2015 14:13
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