Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am anandgorantala on github.
  • I am anandg (https://keybase.io/anandg) on keybase.
  • I have a public key whose fingerprint is D209 42A5 2C73 2B04 F4C2 EFD1 E286 14A8 DD70 BED9

To claim this, I am signing this object:

@anandgorantala
anandgorantala / 1_docker-micro-services.txt
Last active January 23, 2020 21:39
Docker setup for nodejs microservices with nginx and rethinkdb
# This shows the setup for two services, an accounts service which connects to a database and a pagerduty service which connects to the pagerduty api
# Directory structure
accounts/
|_ Dockerfile
pagerduty/
|_ Dockerfile
nginx/
|_ conf/
|_ sites.conf
|_ .htpasswd

Keybase proof

I hereby claim:

  • I am ianand2 on github.
  • I am anandg (https://keybase.io/anandg) on keybase.
  • I have a public key whose fingerprint is D209 42A5 2C73 2B04 F4C2 EFD1 E286 14A8 DD70 BED9

To claim this, I am signing this object:

@anandgorantala
anandgorantala / jqueryPattern.js
Last active December 16, 2015 09:58
jQuery plugin pattern
(function ($, window) {
"use strict";
var pluginName = 'pluginName', // Your plugin namespace.
defaults = { // Declare your plugin defaults here.
'foo': 'bar'
},
Plugin = function (element, options) {
var $element = $(element),