Skip to content

Instantly share code, notes, and snippets.

View dinesh16's full-sized avatar

Dinesh Anthony dinesh16

  • Vanarama
  • London
View GitHub Profile
@dinesh16
dinesh16 / fixup.txt
Created October 6, 2016 08:00 — forked from lucasdavila/fixup.txt
Fixing mac os yosemite issue "bash: fork: Resource temporarily unavailable"
# see the current limits
$ sysctl -a | grep maxproc
# increase it
$ sudo sysctl -w kern.maxproc=xxxx
$ sudo sysctl -w kern.maxprocperuid=xxx
# run at startup
$ sudo vim /etc/sysctl.conf
@dinesh16
dinesh16 / ssl_puma.sh
Created December 2, 2016 12:17 — forked from tadast/ssl_puma.sh
localhost SSL with puma
# 1) Create your private key (any password will do, we remove it below)
$ cd ~/.ssh
$ openssl genrsa -des3 -out server.orig.key 2048
# 2) Remove the password
$ openssl rsa -in server.orig.key -out server.key