David Herron is a blogger, software engineer, electric vehicle enthusiast, and energy healer.

Avoid false spam decisions by Gmail's spam filters, stop losing critical emails in the spam folder

Gmail has done us all a great service by developing an excellent spam filter. I used to get hundreds of spam emails a day, and switching to Gmail reduced the spam rate to a few per week. No longer am I buried by spam. Of course the cost for this is to regularly visit the spam folder and see if Gmail accidentally marked any as spam (a.k.a. false positive for spam). Usually there's only a few and it's easy to click the "Not Spam" button to retrieve those emails back into the regular inbox.

The difference between Node.js require, and Wordpress plugins or Drupal modules

nodejs-dark.pngSomeone experienced with using Wordpress, or Drupal, to build websites are accustomed to "plugins" or "modules". Both are software modules which extend the functionality of Wordpress or Drupal websites, giving more features to the system than what's available out of the box.

Create hierarchical navigation for custom post types in Wordpress with PODS

wordpress-logo-stacked-rgb.pngOn my Wordpress site I want to create "documentation" areas with a cluster of pages organized as a hierarchy, with an index to those pages showing as a sidebar. Many think of doing this for "Product Documentation", but I simply want to organize notes and additional material related to some books that I'm writing. Just as a book is organized by chapters and subsections, I want to hierarchically organize these pages.

Where should you put routes in an Express/Node.js web application for simple easy coding enjoyment?

nodejs-dark.pngThe Express.js app framework for Node.js is a pretty cool system that makes it easy to implement web apps and even REST API's. But the Express team doesn't give you any guidance on structuring the application code. They give you an API and it's up to you to decide how or even if you structure the model-view-controller paradigm or any other paradigm you wish to use.

Tame having dozens of open browser tabs in Chrome with the Great Suspender

I'm now primarily using a Chromebook for all my work - which includes software development on Linux, thanks to having installed Crouton. Since the Chromebook has only 4GB of main memory, things are a little constrained. I'm accustomed to running dozens of open tabs and on the Chromebook what happens is tabs are killed off when memory runs low, and if you revisit the tab it might cause a complete reload. That'd been bugging me until I found a new tool that completely tames open browser tabs.

What to do when Wordpress says this file type is not permitted for security reasons

wordpress-logo-stacked-rgb.pngIn Wordpress, have you tried uploading a file to a post only to be told "Sorry, this file type is not permitted for security reasons". Or maybe the file upload silently fails with no visible message, and nothing attached to your post? In my case I'd defined a Book post type (using the PODS framework) and added a bunch of file upload fields to support different file extensions.

Safely detect if a Node.js module is installed before using require() to load it

nodejs-dark.pngSometimes you need to detect whether a Node.js module is installed, and print a useful error message if it isn't. For example Grunt does this. The instructions are to install "grunt-cli" then add "grunt" to the package.json for the project for which you want to use Grunt. If you haven't installed grunt locally, typing "grunt" gives you a nice error message telling you what to do.

Does buying eBooks mean we must sell our soul to Big Brother?

Akasha epub logoDoes buying an electronic book make you into a pawn of big brother, who knows your every book purchase, can delete any book you purchase on a whim, and can change what the books say at any time? A few years ago Richard Stallman (the famous open source advocate) wrote essentially that warning against electronic books.

The ultimate guide to a quickly customized mobile responsive Wordpress theme

wordpress-logo-stacked-rgb.pngI'm getting up to speed with Wordpress. One thing I wanted was to quickly get a halfway decent looking mobile responsive theme, and then get on with the business of writing my content. My belief is that it's folly spending too much time on creating the perfect theme & look & feel, and that it's the content which is more important.

How to customize the per-post authoring byline in Wordpress

wordpress-logo-stacked-rgb.pngAs a new Wordpress site owner, I'm going over every detail of the presentation to make sure everything looks right. This evening the task is improving the per-post publishing byline, and author information. As a side task, I want to have the site display my full name anywhere it would normally show the user login name. My theory is that because my mother named me "David Herron" and not "webmaster" that my website shouldn't show my name as "webmaster".

Pages

Subscribe to Front page feed