Joined October 2012
·

Boris Guéry

CTO
·
Paris
·
·
·

Posted to Protect secret data in git repo over 1 year ago

I would add the crypt-key to .gitignore to make sure it is never added :)

Posted to How to name your servers over 1 year ago

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

Posted to Pretty git log with graph over 1 year ago

For a similar but enhanced log view you may check tig.

main view split

Posted to `cat` syntax highlighting over 1 year ago

@cdman, I already tried that but it was much slower for me.

Posted to `cat` syntax highlighting over 1 year ago

@opatry,

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.

Posted to Shortcuts that save time over 1 year ago

@cyluss there are on keyboards with numeric pad, on those without one, you can combine Fn + or .

Posted to Why not to use NOW() in MySQL over 1 year ago

@andyfleming instead of manually define the date pattern, you may also use DateTime::ISO8601

Posted to HTTP Statuses Codes over 1 year ago

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.

Achievements
397 Karma
18,869 Total ProTip Views