Posts in the dev category

Other categories: calendar configuration diagnostics easter-eggs frontend fullstack hardware internet optimisation programming scripting servers software sysadmin terminal vue web

Android browser autofit fix
The built in Android browser for versions 4.something onwards have an annoying little feature called auto-fit turned on automatically. What this does is fix the width of the primary text column to be as wide as the devic
Using PHP DomDocument to remove nodes
I needed to strip out some DOM nodes from a HTML file. I would use SED but some of the tags are multiline, and SED/regexes really don't understand HTML/XML and get really confused if you're using nested tags of the same
The wonder of xargs
If you're ever sat at the linux commandline and had a repetitive task to complete on some files or directories then you'll find "xargs" together with "find" a very useful combination. Find will return a list of files and
Search and Replace in Visual Studio
Today I've been parsing some text files in Visual Studio 2010 express in a semi-manual kind of way (lots of Find and Replace commands!). They were generally not too bad but I needed to clean them up to bring them into a