gturnbul
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,’ ‘,lastname) as name, [...]
Struggling students take note
Posted by gturnbul on October 7, 2009 in Inspiration
Al started school late due to childhood illness. His mind often wandered and his teacher Alexander Crawford often called him “addled”, which meant “confused or stupid.”. He was kicked out of school three months after starting. He attended three different schools between the ages of seven to nine, and none of his teachers had [...]
fantastic – Bobby McFerrin Hacking the brain
Posted by gturnbul on August 19, 2009 in Entertaining Me is Easy
Hug a developer
Posted by gturnbul on September 12, 2008 in Life Experiences
Probably old news for some. The little boy made me all weepy, after I code for a few more hours I should go give my kiddos some hugs.. Oh but that meeting is going to throw that off… jk
Search
Categories
- Adventures on the Rails (1)
- boring code (1)
- Entertaining Me is Easy (29)
- Inspiration (1)
- Life Experiences (5)
- Random Thought (3)
- Secure web development (1)
- Web 2.0 (10)
My Flickr
Last Seen...
- @sunnythaper that party sounds fantastico... in reply to sunnythaper 1 week ago
- Ps.. Alcohol has not had the opportunity to elicit it's effects on my twitter account for quite some time... And it is awesome:) 1 week ago
- More updates...
Posting tweet...
Friends
My Del.icio.us
- BBC News - Scientists crack 'entire genetic code' of cancer 2009/12/17
lung and skin gene mapped... - CodeClimber: Reporting in Excel with Rails 2009/03/09
alternative tool for reporting in rails - Wordpress Sermons Plugin :: 4:14 evangelical christian theology blog 2009/02/04
church sermons - Thinking Sphinx 2009/02/04
Good alternative to Ferret - Quick HOWTO : Ch09 : Linux Users and Sudo - Linux Home Networking 2009/01/23
Sudo works well for use, and this doc really helped me set it up
RSS Sweet Finds
My Archives
- December 2009 (1)
- November 2009 (1)
- October 2009 (2)
- August 2009 (1)
- May 2009 (1)
- February 2009 (1)
- January 2009 (4)
- October 2008 (3)
- September 2008 (2)
- August 2008 (3)
- July 2008 (1)
- June 2008 (3)
- May 2008 (2)
- April 2008 (5)
- March 2008 (7)
- February 2008 (6)
- January 2008 (7)

