Skip to content

Instantly share code, notes, and snippets.

Madhusudhan Srinivasa madhums

Block or report user

Report or block madhums

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
@madhums
madhums / docker-compose.yml
Created Aug 15, 2019
docker with nginx and php-fpm
View docker-compose.yml
version: '3.3'
services:
php:
image: php:7.1-fpm
volumes:
- .:/var/www/html
working_dir: /var/www/html
networks:
- web
@madhums
madhums / install-android-emulator-brew-macos.md
Created Jul 9, 2019
installing android emulator using cli on a mac
View install-android-emulator-brew-macos.md

In your command line

brew cask install android-sdk
sdkmanager "emulator"
sdkmanager "platform-tools"
sdkmanager "system-images;android-26;google_apis;x86_64"
avdmanager create avd -n NAME -k "system-images;android-26;google_apis;x86_64" # the one that you use above
View keybase.md

Keybase proof

I hereby claim:

  • I am madhums on github.
  • I am madhums (https://keybase.io/madhums) on keybase.
  • I have a public key ASBVMIs9eqWnfu0aNDPJA5_wKDQv66UV2VaW4wuo7Ev5VQo

To claim this, I am signing this object:

@madhums
madhums / graphql-go-mongodb-example.go
Created May 6, 2019 — forked from trunet/graphql-go-mongodb-example.go
Minimal example of GraphQL Golang and MongoDB playing nicely together. Edit
View graphql-go-mongodb-example.go
// Embedded in this article https://medium.com/p/c98e491015b6
package main
import (
"context"
"fmt"
"log"
"net/http"
"time"
@madhums
madhums / dc-movies-in-order.md
Created Apr 27, 2019
dc movies to watch in order
View dc-movies-in-order.md

DC Movies in order

  1. Man of Steel (2013)
  2. Dawn of Justice (2016)
  3. Suicide Squad (2016)
  4. Wonder Woman (2017)
  5. Justice League (2017)
  6. Aquaman (2018)
  7. Shazam! (2019)
@madhums
madhums / marvel-movies-in-order.md
Created Apr 27, 2019
marvel movies to watch in order
View marvel-movies-in-order.md

Marvel movies in order

  1. Iron Man
  2. The Incredible Hulk
  3. Iron Man 2
  4. Thor
  5. Captain America
  6. Avengers
  7. Iron Man 3
  8. Thor: The Dark World
@madhums
madhums / .eslintignore
Last active Apr 24, 2019
eslint prettier config
View .eslintignore
node_modules
styleguide
.next
.vscode
static
i18n
@madhums
madhums / README.md
Last active Feb 20, 2019
tslint prettier and atom
View README.md

Tslint with Prettier on Atom

Install linter, linter-ui-default and linter-tslint packages on Atom.

Run below to detect errors:

$ npx tslint --project tsconfig.json --config tslint.json
@madhums
madhums / wave.css
Created Nov 22, 2018
making a wave like structure in css (https://jsfiddle.net/7fjSc/9/)
View wave.css
#wave {
position: relative;
height: 70px;
width: 600px;
background: #e0efe3;
}
#wave:before {
content: "";
display: block;
View Indian-food.md
  1. North Indian thali (a plate with all different dishes on the sides)
  2. Butter naan with Alu gobi (indian bread with curry)
  3. Idli vada sambar (must try! it's south indian special - google it if you like)
  4. also, try the "Phulka" instead of the roti (if you order roti/naan). Its quite unique and good

Dosas: (also south indian special!)

  1. Masala dosa (or cheese masala dosa)
  2. paper cheese dosa (long dosa)
  3. ghee roast dosa (pyramid shaped dosa)
You can’t perform that action at this time.