boring code

Adding Vimeo/Youtube iframe embed to CKeditor

Posted by Gregg on October 13, 2010 in boring code, Design

I am in the middle of building a few apps that rely on a text editor and after much research I decided on using CKEditor, a beautiful, well supported WYSIWYG. Within our organization we use video hosted on Vimeo to stream our media as it is both an awesome and cost effective service. The rub [...]

Find pesky duplicates in mysql

Posted by gturnbul on December 14, 2009 in boring code

Let’s say you had an app that had a ton of users and were suspicious that there were pesky duplicates. Here is a quick mysql select to help put your mind at ease. select username,count(*) as n from users group by username having n > 1; or search by first and last name: select concat(firstname,’ [...]