Skip to content

Instantly share code, notes, and snippets.

Dinesh Anthony dinesh16

  • Vanarama
  • London
Block or report user

Report or block dinesh16

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
dinesh16 / aws_cognito_create_user.rb
Last active Nov 5, 2018
Aws cognito create user in ruby
View aws_cognito_create_user.rb
client =
access_key_id: "xxxx",
secret_access_key: "xxxx",
region: "us-east-1"
# Base64 ( HMAC_SHA256 ( "Client Secret Key", "Username" + "Client Id" ) )
username = ""
key = App_client_secret # (get this from amazon cognito console)
data = username + App_client_id # (get App_client_id from amazon console)
dinesh16 /
Last active Feb 26, 2019
Install FreeTDS and tiny_tds on codeship
# Install FreeTDS on Codeship -
set -e
if [ ! -d "${TDS_DIR}" ]; then
mkdir -p "${HOME}/freetds"
wget ""
dinesh16 /
Created Dec 2, 2016 — forked from tadast/
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
dinesh16 / fixup.txt
Created Oct 6, 2016 — forked from lucasdavila/fixup.txt
Fixing mac os yosemite issue "bash: fork: Resource temporarily unavailable"
View fixup.txt
# 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
You can’t perform that action at this time.