Tag — 4 posts
#scripting
All tagsColour, tables and progress in a PHP console tool — and the detail most scripts get wrong: knowing when nobody is watching, because your output has been redirected into a file.
Three ways a PHP script can take input — argv, getopt() and standard input — what each one gets wrong, and when to stop and reach for Symfony2's Console component instead.
Spotify 0.4.8 shipped D-Bus support on Linux: what the interface exposes and how to drive the player programmatically.
Un script para reparar textos con el charset roto tras exportar una base de datos en latin1_swedish_ci, salido de migrar glug.es a Drupal 5.