I've answered a similar question on serverfault.com and I'm pretty happy with this convention: http://serverfault.com/questions/574957/servers-hostname-normalisation/574963#574963
For a similar but enhanced log view you may check tig
.
@cdman, I already tried that but it was much slower for me.
I did not experiment that, I'm running it with zsh & macosx.
What happens if you use echo "Some normal text" > test && pygmentize -g test
?
I usually use this little wrapper: https://github.com/igorgue/pjson which adds pretty colors.
@cyluss there are on keyboards with numeric pad, on those without one, you can combine Fn
+ ←
or →
.
@andyfleming instead of manually define the date pattern, you may also use DateTime::ISO8601
You may also want to take a look at https://github.com/FriendsOfSymfony/FOSRest/blob/master/Util/Codes.php which provides an useful utility class for HTTP Status code.
I would add the
crypt-key
to.gitignore
to make sure it is never added :)