Tag Archives: Grep

Linting PHP Files in Parallel on Travis

With PHP 7 around the corner here is a small tip how you can at least lint the code in your project to be PHP 7 syntax compatible. That allows you to easier obtain forward-compatible PHP code with ease. So … Continue reading

Posted in Hakre's Tips, PHP Development, Pressed, Tools | Tagged , , , , , , , , | Leave a comment

Verify file encoding with grep

List all lines in PHP-files in a directory-tree that contain characters out of the ASCII 7Bit pane: ~ grep -nPR –include=*.php [\xE0-\xFF] * Does a quick and easy controlling on a full package of files quickly. Finds stuff like this … Continue reading

Posted in Hacking The Core, Hakre's Tips, Pressed | Tagged , , , , | Leave a comment

Tools: cui-utils rev2

Write it, cut it, paste it, save it, Load it, check it, quick rewrite it, Drag it, drop it, zip, unzip it For those who are using the windows platform, there is a set of useful command line utilities (CUI … Continue reading

Posted in Gates and Fences, Pressed, Tools | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

WordPress Administration Hell

Friday night was a little longer yesterday. I had to migrate and upgrade three wordpress 2.3.x based blogs to a new server. When you look at the version number you can be pretty sure that all those three moves and … Continue reading

Posted in Hacking The Core | Tagged , , , , , , , , , , , , , , , | 3 Comments