About Chris Morrell

I am a Philadelphia web designer and developer who focuses on PHP development and usable design. I am also the Director of IT for the International Association of Certified Home Inspectors.

Please Note: My site fell victim to a Wordpress security flaw a few weeks ago, and I'm just getting everything back to normal. Please bear with me.

I am currently not accepting any new clients.

Other Sites/Clients

Contact Me

If you need to get in touch with me, my name is Chris and my domain name is cmorrell.com. Think about it.

Mobile App Development for Web Developers

Posted by Chris Morrell on February 25th, 2010 in Misc

On February 23rd I gave a talk at PANMA’s Mobile App Development Demystified event. My talk was titled Mobile App Development from a Web Developer’s Perspective. Here are my slides:

Continue reading “Mobile App Development for Web Developers” »

1 Comment »

Find oversized files in *nix

Posted by Chris Morrell on April 30th, 2009 in Misc

Every once in a while I run the following command on my servers to hunt out the largest files to make sure nothing’s taking up too much space.  For example, it’s been very useful in hunting down over sized log files or email accounts.  It searches everything over 20MB and outputs the list to bigfiles.txt ordered by size (in MB) descending.

find / -type f -size +20000k -exec ls -la {} \; | sort +4 -nr | awk '{ printf "%-20s %s\n", $5/1048576, $9 }' > bigfiles.txt &

You can exclude a path by adding a little more to the command. The following will do the same as above but exclude the /backup directory:

find / -path '/backup' -prune -o -type f -size +20000k -exec ls -la {} \; | sort +4 -nr | awk '{ printf "%-20s %s\n", $5/1048576, $9 }' > bigfiles.txt &

You can also change the 20000k to whatever you want the smallest files to be.

It’s a fantastic little command and I just thought I’d share it with the world.

No Comments (Respond Now) »

"Get it right" = Procrastination

Posted by Chris Morrell on December 5th, 2008 in Business, Misc, Web Development (tagged )

“I’m not going to do [a] because I need to get [b] right first.”

I, like most people, am a master of procrastination.  I clean my desk, file my e-mail, make a few phone calls, write a blog entry, etc, just to avoid whatever it is I should be doing.  Recently I discovered a new*, and troubling form of procrastination: “getting it right.”

For the past few months I’ve been working on a major restructuring of one of InterNACHI’s core web systems.  Lately I’ve found myself not moving forward because I want to make sure the architecture is right, or I have some concerns about how certain decisions will affect search rankings, or I’m not sure if it will perform well, etc.  So instead of sitting down and finishing the project, I pull out a pad of paper and start outlining or graphing or whatever it is I convince myself I need to be doing.

Now that’s not to say that preparation isn’t important, but I’m starting to think that the agile guys got it right: build early and build often.  And I realize that this is nothing new.  Heck, nearly all of “web 2.0″ is built on the constant “beta” principal.  But I also know that as businesses grow, there’s a tendency to add unnecessary formality to otherwise simple things; at least I know that’s what we’ve done.  It’s almost like you get into this mentality of “this is how the big guys do it,” when it’s the little guys who are more compelling and innovative.

And on top of it all, “getting it right” is just a fiction.  There’s no such thing.  Today’s “right” is tomorrow’s “what was I thinking?”  I might as well get something “close” today, and “better” tomorrow.

So where is this post going?  I’m not really sure… I think I’m done, but I really don’t feel like getting back to work :)

So what do you guys think?  Am I the only one who procrastinates this way, or is this a common thing?

* By new, I mean newly identified.  I’ve been doing this for years.

2 Comments »

ohpleasepleaseplease….

Posted by Chris Morrell on November 4th, 2008 in Misc (tagged )

Oh man… here goes.

No Comments (Respond Now) »

Simple PHP Pavatar Method

Posted by Chris Morrell on August 21st, 2008 in Misc

Microsoft Passport was a good idea. OpenID is a better idea. Gravatar is a good idea. Pavatar is a better idea. I think whenever a system can be open and decentralized, it should be (see my upcoming post on decentralized Twitter). For those of you who like the idea and want to use it, here’s a quick and dirty PHP method to get the Pavatar image for a given URL (supports all three Pavatar techniques)…
Continue reading “Simple PHP Pavatar Method” »

1 Comment »

In an ideal world…

Posted by Chris Morrell on August 13th, 2008 in Misc

This is a joke—the form doesn’t actually do anything.

New Client Form

Please fill out this form to discuss a new web design/development project.

Your Name:

Your E-Mail Address:

Brief Description of Project:
I agree to the new client TOS
I understand that I am not a web designer
I understand that what I think I want is not necessarily what I need in a web application

No Comments (Respond Now) »

Bear With Me

Posted by Chris Morrell on July 30th, 2008 in Misc

I’m trying to update the theme on this blog… right now it’s a little screwed up.  I’ll get to it in a bit.

2 Comments »

@inxilpro

  • Just got home after running 10 miles. I don't think my legs work anymore. Jesus. 1 day ago
  • I don't get it. I have 8 x 3 GHz cores and 10 GB of RAM. How can compressing a 80-minute movie still take over an hour? 1 day ago
  • Ooh, that's sexy: http://bit.ly/btAqlc (form labels—yeah, I'm that much of a geek). 3 days ago
  • More updates...
Copyright © Chris Morrell, Powered by WordPress, Entry RSS Feed / Comment RSS Feed