Skip to content

Instantly share code, notes, and snippets.

@akash-b
akash-b / gateway.config.yml
Created May 7, 2018 09:07 — forked from fireproofsocks/gateway.config.yml
Express Gateway Example connecting to 2 different services
http:
port: 8080
admin:
port: 9876
hostname: localhost
apiEndpoints:
ip:
host: localhost
paths: '/ip'
randomQuote:
@akash-b
akash-b / backends.js
Created May 7, 2018 09:01 — forked from kevinswiber/backends.js
Express Gateway Example with Multiple Services
const express = require('express');
const forum = express();
forum
.get('/healthz', (req, res, next) => {
res.send({ name: 'forum', status: 'healthy' });
next();
})
.get('/d/:id', (req, res, next) => {
@akash-b
akash-b / README.md
Created August 29, 2017 14:35 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed


@akash-b
akash-b / cheatsheet-git.sh
Created September 18, 2016 04:10 — forked from raineorshine/cheatsheet-git.sh
Cheatsheet: git commands
# adding and committing
git add -A # stages All
git add . # stages new and modified, without deleted
git add -u # stages modified and deleted, without new
git commit --amend # Add staged changes to previous commit. Do not use if commit has been pushed.
git commit --amend --no-edit # Do so without having to edit the commit message.
# remotes - pushing, pulling, and tracking
git fetch # gets remote objects and refs. Needed if new branches were added on the remote.
git remote -v # Lists all remotes (verbose)
@akash-b
akash-b / git-commands-cheatsheet.md
Created September 18, 2016 04:09 — forked from gabrysiak/git-commands-cheatsheet.md
Git Commands Cheatsheet

Git Commands Cheatsheet

A list of commonly used GIT commands.

Create


Clone an existing repo

git clone https://github.com/user/repo.git
@akash-b
akash-b / ChefCommands.md
Created September 18, 2016 04:02 — forked from arttuladhar/Kitchen-CheetSheet.md
Chef and Knife Commands CheatSheet

*** Knife Commands ***

Getting Knife Version

knife --version

Create Cookbook

knife cookbook create <cookbookName>