Skip to content

Instantly share code, notes, and snippets.

View ShreeMandadi's full-sized avatar

Shree Mandadi ShreeMandadi

  • San Diego, CA, USA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am shreemandadi on github.
  • I am shreemandadi (https://keybase.io/shreemandadi) on keybase.
  • I have a public key whose fingerprint is B5B4 A028 9A4B 41D9 D49F FF84 86B7 B7F9 8D8A D944

To claim this, I am signing this object:

@ShreeMandadi
ShreeMandadi / harden.sh
Created August 18, 2016 14:35 — forked from kost/harden.sh
hardening script for an alpine docker container
#!/bin/sh
set -x
set -e
#
# Docker build calls this script to harden the image during build.
#
# NOTE: To build on CircleCI, you must take care to keep the `find`
# command out of the /proc filesystem to avoid errors like:
#
# find: /proc/tty/driver: Permission denied
@ShreeMandadi
ShreeMandadi / 0_reuse_code.js
Created March 5, 2014 13:42
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
@ShreeMandadi
ShreeMandadi / unicorn
Created November 23, 2011 04:44
/etc/init.d script for unicorn
#!/bin/sh
#
# init.d script for single or multiple unicorn installations. Expects at least one .conf
# file in /etc/unicorn
#
# Modified by jay@gooby.org http://github.com/jaygooby
# based on http://gist.github.com/308216 by http://github.com/mguterl
#
## A sample /etc/unicorn/my_app.conf
##
#
# bash completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
# Distributed under the GNU General Public License, version 2.0.
#
# The contained completion routines provide support for completing:
#
# *) local and remote branch names
# This File is maintained on GITHUB
# Please edit only at http://gist.github.com/73344
# Setup File at wget http://gist.github.com/raw/73344/.rcsetup
# Shree Mandadi..
# RVM Aliases
alias ruby='rvm ruby'
alias rake='rvm rake'
alias gem='rvm gem'