Skip to content

Instantly share code, notes, and snippets.

View nipuman's full-sized avatar
🚀
Always working and nooding

Nico Puhlmann nipuman

🚀
Always working and nooding
View GitHub Profile
@nipuman
nipuman / Vagrantfile_Rails_Development
Last active November 12, 2020 16:39 — forked from davidhooey/Vagrantfile_Rails_Development
Vagrant Rails Development
# -*- mode: ruby -*-
# vi: set ft=ruby :
# -----------------------------------------------------------------------------
# Rails Development Vagrantfile
# -----------------------------------------------------------------------------
#
# Server Info:
#
# Ubuntu 12.04 32-bit
@nipuman
nipuman / self-signed-ssl-mongo.sh
Created April 2, 2019 15:32 — forked from exAspArk/self-signed-ssl-mongo.sh
Self-signed SSL Certificate with OpenSSL on MacOS | MongoDB
openssl genrsa -out CAroot.key 2048
openssl req -new -key CAroot.key -out CAroot.csr # CN should be different from the certificates below
openssl req -x509 -days 1825 -key CAroot.key -in CAroot.csr -out CAroot.crt
cat CAroot.crt CAroot.key > CAroot.pem
openssl genrsa -out mongod.key 2048
openssl req -new -key mongod.key -out mongod.csr
openssl x509 -req -days 1825 -in mongod.csr -CA CAroot.pem -CAkey CAroot.key -CAcreateserial -out mongod.crt
cat mongod.crt mongod.key > mongod.pem
@nipuman
nipuman / Subfolder to git repo.md
Created July 21, 2018 13:40 — forked from korya/Subfolder to git repo.md
Convert subfolder into Git submodule