Category Archives: Development

Easy JavaScript Colour Gradients

RainbowVis-JS is JavaScript library I wrote for colour data visualization. Easily map numbers to a smooth-transitioning colour legend. Mappings Default 0 -> #ff0000 10 -> #ff4d00 20 -> #ff9900 30 -> #ffe500 40 -> #ccff00 50 -> #80ff00 60 -> … Continue reading

Posted in Development, Programming | Tagged , , | Leave a comment

Best Monospace Font

Here are my top four monospace fonts displaying “In 100 years, Gates and Jobs will be forgotten, but Torvalds’ name will live on.” 1. Consolas I first noticed this font when looking at my friend’s printed Java code before a … Continue reading

Posted in Development | Tagged , , , , , , | Leave a comment

Make Perl regex script faster using grep

Perl’s implementation of regular expressions performs much worse than grep’s implementation of regular expressions (i.e., Thompson NFA). Time to match a?nan against an I needed to write a Perl script to process numerous large log files, and Perl’s regex matching … Continue reading

Posted in Development, Programming | Tagged , , , , | Leave a comment

WordPress Plugins: ShushThatNoise and HumansNotBots

I wrote two WordPress Plugins, and both of them are available for download. The first one (ShushThatNoise) is for bloggers who want to reduce comment noise without “censoring”/deleting undesirable comments. It’s a better alternative to disemvoweling, in my opinion. The … Continue reading

Posted in Development, Programming | Tagged , , , , , , , , , , , | Leave a comment

Email Obfuscation, the Accessible Way

Below I explain an email obfuscation solution I devised that: is accessible for people using screen readers; degrades gracefully for browsers without JavaScript; and works just like a normal, clickable email address for browsers with JavaScript enabled. Here is what … Continue reading

Posted in Development | Tagged , , , , , | 1 Comment