Skip to main content

Posts

Showing posts with the label Cheat Sheet

WSO2 API Manager 2.1.0 - Cheat Sheet

WSO2 API Manager components API Publisher: Used by API owners. Create, Publish and Manage API lifecycle. URL = https://localhost:9443/publisher. API Store (Developer Portal): Used by API users. Discover, register and subscribe to APIs. URL = https://localhost:9443/store. API Gateway: Used by API consumers. All the requests comes here and security, throttling enforced here. URL = https://localhost:9443/carbon  . Key Manager: Used by API Gateway to validate subscriptions, OAuth tokens, and API invocations. Provides a token API to generate OAuth tokens that can be accessed via the Gateway. URL = https://localhost:8243/token Traffic Manager: Used by API Gateway to enforce throttling. Features a dynamic throttling engine (Siddhi) to process throttling policies in real-time. URL = https://localhost:9443/admin API Manager Analytics: Provides a host of statistical graphs, an alerting mechanism on predetermined events and a log analyzer. API Manager component inter...

GIT Cheat Sheet for beginners

CREATE Clone an existing repository $ git clone ssh://user@domain.com/repo.git Create a new local repository $ git init LOCAL CHANGES Changed files in your working directory $ git status Changes to tracked files $ git diff Add all current changes to the next commit $ git add . Add some changes in <file> to the next commit $ git add -p <file> Commit all local changes in tracked files $ git commit -a Commit previously staged changes $ git commit Change the last commit Don‘t amend published commits! $ git commit --amend COMMIT HISTORY Show all commits, starting with newest $ git log Show changes over time for a specific file $ git log -p <file> Who changed what and when in <file> $ git blame <file> BRANCHES & TAGS List all existing branches $ git branch Switch HEAD branch $ git checkout <branch> Create a new branch based on your current HEAD $ git branch <new-branch> Create a new tracking branch based on ...