Posted on , General

Designing with Conventions in Mind

Home made server monitoring with SMS alerts.

What is a naming convention? A convention is a set of agreed, stipulated or generally accepted standards, norms, social norms, or criteria, often taking the form of a custom. Why conventions are good Often easy to use They usually follow a standard and are wildly adopted Gives a community structure Gives context Why they can…

Posted on , Archived

How I monitor my VPS for free!

Home made server monitoring with SMS alerts.

As I have moved over to a VPS server in the past 6 months I have run up against the paranoia of “is my server still running?” I had been using pingdom.com, a great service that pings a site every couple of minutes and notifies you of an outage. This was great when I was on a…

Posted on , Development

How I made my beefy VPS

How I configured my LAMP stack.

Building a VPS is a lot like planning the foundation to your home, you need to have everything done correctly before you can start building up. I chose a base install of Ubuntu Server 12.10, and knew that I needed at a minimum a LAMP server. But there are a number of other tools that are needed…

Posted on , Design

Centering Columns in Bootstrap 2

Ever wish you could simply center a bootstrap column? Like an odd-numbered column? Grids are great, Look at all that order that they provide! I have been using them for years, but there are always certain instances where the grid fails, and you begin to lose the practicality of the grid. For instance. If you…

Posted on , Cycling

Winter riding secrets

Winter riding might seem intimidating at first but once you get in the proper mindset and purchase a few articles of clothing it’s easier than you might think. And in my opinion, very rewarding. Anyone who knows me knows that I love to ride my bike, I have been riding to work year-round for about…

Posted on , Archived

Implemented Bcrypt to Hash Stored Passwords

If it's worth doing, it's worth over doing.

I made a large improvement to the way we hash our user passwords on Tentacle CMS. Originally Tentacle was using the default method of hashing passwords used in Dingo, This was a SHA1 hash. Still decent but not really up to newer standards. When a login is processed the username and password are submitted and…

Posted on , Archived

Recursive Glob

While building the upgrade script for tentacle I knew that the file I was going to work with would be a zip, and would contain many subfolders. PHP has a function called glob that finds files pathnames matching a pattern. It works really well but only goes one level deep, using the recursive_glob() function lets…

Posted on , Archived

Dingo a Lightweight MVC PHP Framework

I have been using a small PHP MVC Framework called Dingo Framework. Dingo is a Rapid Development Application Framework written in PHP by Evan Byrme. Dingo allows you to create dynamically changing websites easily and quickly. Dingo is a relatively new full-featured framework at a compact size of 70KB, It supports Fancy URL’s, Access Control…

Posted on , Talks

Dan Burden – Creating Livable Communities

Dan Burden presents the case for creating communities that are centred on people and not cars. He identifies the benefits to the community in terms of both vitality and economic well-being. As a leading expert in his field of creating livable communities, he talks about the processes he uses and the results of his many…

Posted on , Development

Adding SASS & SCSS to Sublime Text 2

Lately at work, we have been using SASS for our new web app Inkdit. Sass has been a blessing as well as a curse. Aside from the benefits of SASS, we have been using another extension of SASS called SCSS, Read more on the benefits of SASS here. But the one thing that Sublime Text…

Posted on , Development

Sequel Pro on Dreamhost

If you are doing any work with a database you probably have used phpMyAdmin. It is an excellent tool, and for a lot of tasks, I prefer to use it. But when it comes down to QA or debugging of data on an established database I like to use an application. For the Mac, I…

Posted on , Archived

Work with RSS feeds using PHP and cURL

cURL or Client URL Library is a very powerful tool and its something that I recently had to use while working with two APIs one for Unfuddle and one for HelpSpot. PHP supports libcurl, a library created by Daniel Stenberg, that allows you to connect and communicate to many different types of servers with many…

Posted on , Development

Php User Login With Sessions

This is a tutorial more or less on principles for sessions with PHP. It’s more about the big picture and meant as a stepping stone for further exploration. The principal behind a user login is simple, Don’t show private or secured information to non-members. By using sessions you can: Secure content from others. Show custom…