AngularJS: Include Header and Footer (the right way)

If you’re using ng-include and your partials aren’t showing up, you probably forgot that the location of your partial needs to be encapsulated in both double quotes and single quotes. Instead of this:

You need to have this:

This reason this works and the way you’ve been doing it does not because ng-include requires a string to be passed to it. Technically, just putting in header.html is tantamount to putting in the name of a scope variable; you need to encapsulate the location of your file in single quotes in order to tell AngularJS that you are passing a string.

Getting Started with Node.js on Windows

Warning: you’re about to install node.js and an http server in less than twenty seconds.

The future of web development lies in technologies like Node.js. For those of us stuck on Windows and developing for tomorrow’s bleeding-edge content consumers, I’d like to walk you through a very simple setup that I went through in order to 1) get Node.js installed on my Windows 8 machine, 2) organize my development environment (i.e., make a folder), and 3) install an http server to get up and running.

At the end of this tutorial, you’ll have a complete node.js environment setup with a fully functional http server to develop with locally.

Continue reading

Backup WordPress on Remote Server to S3

Let’s talk about backups.

When you are running your own WordPress hosting service, you need to ensure that your sites are backed up nightly. Unfortunately, the more sites you have on your server, the more processing power is required to do these backups, especially if there have been a lot of changes during the day.

The smartest way to proceed with nightly backups, then, is to offload the processing requirements to a separate, dedicated backup server, or just a secondary server that can afford to use a lot of its CPU in zipping, rsyncing, and uploading to the Amazon cloud.

Continue reading

A look at the future: Intel on the Internet of Things

Intelligence Systems Framework and other keywords will become mainstream in the next six years. Too close to SkyNet? For me, it seems like a logical progression but I’m still a little wary of data being collected on anything and everything. This video is a short introduction to Intel’s take on the Internet of Things and how an “ecosystem” of devices will be the way we think about business problems in the future.

Who is paying for all that Spam Traffic?


Have you ever logged in to your WordPress dashboard and saw tens of thousands of spam comments in your queue? Ever wondered whose paying for all that traffic to come to your site? If you’re on a managed hosting setup, then the cost of serving your site to all this garbage traffic is most likely coming out of your pocket.

Continue reading