A little background and introduction We needed to create a UI component on the edit screen of posts in WordPress. We wanted the user to be able to add location to a post by inputting in the address. We needed to geocode that address to latitude and longitude. Surely, there would be a plugin already […]
We are playing around with writing a Node.js app. We decided to use the Sailsjs framework around the Express engine. The basic app we are creating will be a basic one where we record ideas. We will use two simple models: idea and user. An idea will be associated with one user and a user […]
So far I haven’t seen if these attributes on a table actually help in making the html email more compatible with email clients. My tests on Email On Acid don’t show any difference that I can see, but sometimes I just want to make sure. I don’t want to clutter up my source html file […]
Loading scripts from CDN’s can boost your pages’ performance, but what if the CDN is not available one day. Your site is not only depending on your host provider but now the CDN’s as well. This article will explain how to add some fallback scripts that will load copies of your scripts from your web […]
After setting up Meteor to run on my PhpStorm in a Linux box, I could not get it to run to debug. I could run it in a Terminal but not from PhpStorm. I would get mongo exit code 100 and an EACCES error on ~/.meteorsession Researched but did not find anything helpful. Discovered some […]
A client wanted to produce a list of job openings on a page in a grid like format. In addition, they wanted the user to be able to quickly filter the list based on location. Here’s how it was done.
I’ve been trying to allow users to login to my single-page web app written in Angular. I have a PHP and mySQL backend to store the data. I want to end up with an access token that can be validated by my backend. The problem I’ve been having is using the Google Quick Start for PHP […]
Created a php program that speaks to a mySQL database and returns json. My angular app can then use the $http service to communicate with the server. I had it working when using GET $http.get(), but as soon as I changed it to $http.post() and changed the php program to use $_POST as well, it […]