mermaid: Generate flowcharts and diagrams from text using Node.js

https://github.com/knsv/mermaid


Now ya’ll know I love me some Markdown, and while this isn’t quite a pretty to read in text format as Markdown is, mermaid scratches a similar itch for me. It provides a way to represent flowcharts and diagrams using text, making it easy to easily store and compare them in your source control repository.

Example

graph LR;
    A[Hard edge]-->|Link text|B(Round edge);
    B-->C{Decision};
    C-->|One|D[Result one];
    C-->|Two|E[Result two];

Example flowchart

Additional examples here: http://www.sveido.com/mermaid/demo/html/web.html

Guzzle: PHP HTTP client and framework for building RESTful web service clients

http://docs.guzzlephp.org/en/latest/

Github page here: https://github.com/guzzle/guzzle

$client = new GuzzleHttp\Client();
$response = $client->get('http://guzzlephp.org');
$res = $client->get('https://api.github.com/user', ['auth' =>  ['user', 'pass']]);
echo $res->getStatusCode();
// "200"
echo $res->getHeader('content-type');
// 'application/json; charset=utf8'
echo $res->getBody();
// {"type":"User"...'
var_export($res->json());
// Outputs the JSON decoded data

// Send an asynchronous request.
$req = $client->createRequest('GET', 'http://httpbin.org', ['future' => true]);
$client->send($req)->then(function ($response) {
    echo 'I completed! ' . $response;
});

git-extras: Wonderful collection of Git utilities such as repository summary, REPL, author commit percentages, etc

https://github.com/tj/git-extras


List of Commands

From the Github page: