Skip to content

Instantly share code, notes, and snippets.

@adamglauser
adamglauser / CPPRestNotes.txt
Last active March 22, 2016 17:19
Notes about C++ REST service setup search
Started by searching for how to create REST service with Apache
Lots of Tomcat/Jersey results
Focussed on C++, try to avoid complex framework
Hit on the idea of embedded HTTP server
Mongoose (https://www.cesanta.com/products/mongoose) looks promising
Also, this page (http://en.cppreference.com/w/cpp/links/libs) has a bunch of REST-related libraries in the communication section
This StackOverflow (http://stackoverflow.com/questions/25057819/how-to-create-restful-web-services-using-c-language-and-json-parser),
which also pointed me at Mongoose, also has some other suggestions I should investigate
@adamglauser
adamglauser / upstreamDiffFancy
Created March 20, 2014 18:31
Fancy view of difference between local and upstream
git log "@{u}...HEAD" --graph --decorate --left-right --boundary --pretty=format:'%Cred%h%Creset %d %s %Cgreen(%cr)%Creset %Cblue[%an]%Creset' --abbrev-commit --date=relative
Props to Mark H. Nichols (http://zanshin.net/2013/01/25/git-log-command-showing-commit-differences-between-local-and-remote-repository/)