For a quick visual check to see what the human-readable date is based on a UNIX timestamp integer: php -r ‘print date(“r”,1483228799);’ php -r ‘print strtotime(“1 Jan 2015”) – 1;’
I just found this neat trick to speed up Safari by reducing the ‘Render Before Display’ time: 1. Quit Safari. 2. Launch Terminal.app 3. Type in the line below and then press {enter}: defaults write com.apple.Safari WebKitInitialTimedLayoutDelay 0.20 4. Quit Terminal and restart Safari
Using mysqladmin on the command line If you have never set a root password for MySQL server, the server does not require a password at all for connecting as root.
1
2
$mysql-uroot
mysql>
To set the root password for the first time, use mysqladmin:
1
$mysqladmin-uroot password'NewPasswordHere'
However, if you want to change (or update) a root password, then […]
Create a text file containing the list of desired modules, one per line. Name it “modules.txt”. Then execute this command: for module in cat modules.txt; do echo $module; perl -MCPAN -e “install $module”; done