Home

Posts (Page 47)

Written content to help you along your web development journey, without forgetting to have some fun along the way.

How To Reverse a Ruby Hash

It's nice and easy to reverse a ruby array. See how to easily convert a hash as well.

Oct 18, 2014

Rails has_many :through Polymorphic Association

How to maintain HMT behavior on a polymorphic association.

Oct 13, 2014

Related Content (without metadata) in Rails using tf-idf

Sometimes metadata isn't available. Other times you don't want to rely on it. Here's a method for finding related content using term frequency / inverse document frequency.

Oct 12, 2014

Add Custom JavaScript and Stylesheets from SharePoint Master Page

You can add JavaScript and CSS files to your master page if you want to overwrite some default styles or add some functionality via a new script.

Aug 06, 2013

Dynamically Add JavaScript and CSS Files to Your Website Using JavaScript

When you can't use a JavaScript or CSS concatenater, this method can be useful for adding scripts and styles to your site on the fly.

Aug 05, 2013

Learn Git in an Hour

Although I'm no expert, I've outlined the things I think you need to know to get started using Git.

Jul 04, 2013

Get WordPress Post Tags as Links

How to extract post tags and make them into links while in The Loop.

Jul 02, 2013

How the Web Works

Learn how the web works.

Jun 03, 2013

When To Send An Email

Sometimes email is a good form of communication, and sometimes it's not.

May 31, 2013

List All Databases on MySQL Server

It's not that hard, but I keep forgetting how to do it, so I wrote it down.

May 30, 2013