Skip to content

Instantly share code, notes, and snippets.

View gaurigshankar's full-sized avatar

Gauri Shankar P gaurigshankar

View GitHub Profile
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
<script>
var w;
if(typeof(Worker) !== "undefined") {
if(typeof(w) == "undefined") {
@gaurigshankar
gaurigshankar / ultimate-ut-cheat-sheet.md
Created July 28, 2017 00:25 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies


Action command sample
docker build docker build -t <imageName> <dockerFileLocation> docker build -t gaurigshankar/nginx .
docker run docker run <imageName> docker run -p 80:80 gaurigshankar/nginx
docker images
docker compose docker-compose up <docker-compose.yml>
docker compose docker-compose down <docker-compose.yml>
docker connect to container's terminal when running using docker-compose docker exec -it <containerName> bash docker exec -it docker_app_1 bash
docker list all stopped containers docker ps --filter "status=exited"
docker remove a image docker rmi \ docker rmi d6d9188e4c79
@gaurigshankar
gaurigshankar / file1.txt
Created June 29, 2016 02:27
Created via API
Demo