Encoding long strings with PHP’s serialize()

Sometimes it makes sense to store in DB simple settings or blocks of text (strings) with PHP’s serialize() function¬†– although JSON appears to be more faster (and language agnostic).

Note to self: remove any simple quotes


Note to self: Git basics

Some notes on using Git for the future me.

Setup a global config:

git config --global user.name "Gigi Palemier"
git config --global user.email "gigi@palmier.ro"

The Holy Git Figure:

Git File life cycle


TODO: branching -vs- tags / advanced workflow
To be updated.