Posted by jpluimers on 2017/03/16
Hosted at: Decode URLs from The Great Suspender after a browser restart fails to reload them
Converts URLs like these:
It decodes a URL encoded by The Great Suspender which is a cool Google Chrome plugin that suspends pages after some idle time.
The uncool thing is that when Google Crome restarts after a crash (it’s software, it does that, especially as it consumes truckloads of memory and is full of memory leaks) it often fails to restore some (but not many) of the suspended pages into a usable state: it shows only the encoded URLs.
Posted by jpluimers on 2017/01/11
When making the contrast of the text lower and lower…designers need to think of
- users with bad vision
- low quality monitors
- bad lighting and glare
- reading on tiny screens
Source: Contrast Rebellion – to hell with unreadable, low-contrast texts!
Low-contrast font color and unreadable texts? To hell with them!
Posted in CSS, Development, HTML, HTML5, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2016/10/12
A while ago, I heard about xmllint, a program that can parse and query xml from the command-line.
Later, I discovered it can also parse html, can recover from xml/html errors and has an interactive shell that has a lot of commands (see table below) to navigate through the loaded command.
The relevant command-line options:
--recover will output failing input to
stderr. You can ignore that using
Some good examples of usage are here:
The table of shell commands:
xmllint offers an interactive shell mode invoked with the –shell command. Available commands in shell mode include:
||display XML base of the node
||Display node if given or current node.
||Change the current node to path (if given and unique) or root if no argument given.
||Dumps information about the node (namespace, attributes, content).
||Show the structure of the subtree under path or the current node.
||Leave the shell.
||Show this help.
||Display memory usage.
||Load a new document with the given name.
||List contents of path (if given) or the current directory.
||Display the path to the current node.
||Leave the shell.
||Saves the current document to name if given or to the original name.
||Check the document for error.
||Write the current node to the given filename.
Posted in Development, HTML, HTML5, Software Development, Web Development, XML, XML/XSD, XPath | Leave a Comment »