The Quick & Dirty:

  • 9+ years in the biz, 10 messing around
  • All the latest in HTML, CSS, JS & PHP (Sorry, no .net or Ruby skills yet)
  • Cross-browser compatible code from Photoshop or Illustrator files.. or napkins!
  • Custom Specialities in Wordpress theming & plugins, Twitter & jQuery
  • Subversion, server-log analysis, and blocking hack-attempts (of late).
  • Data/Project Geek. I ♥ timelines.

I’ve compiled some handy PHP functions I’ve had to whip up. More extensive code-samples are also available.

Wordpress-from-Photoshop/Illustrator

Wordpress-from-static HTML

Wordpress-from-Photoshop

codeRelease

Mac Finder meets Subversion

There’s a few scripts out there for colorizing subversion checkouts in Terminal. And there’s a few good Subversion clients for Mac. (and a few bad free ones). The major feature for svn’ers though – especially newbies – is using Mac’s color-labels for what’s in the repo, what’s not, & what will be committed. Here’s the …

Read More

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in bash, code, codeRelease, coding, ShellScripts, svn Comments Off

Quick-and-dirty Responsive Layouts

So there’s the great thing called response.js. It’s the solution often presented as ideal. But it’s a bit overkill. I want a fast, light, small script that will do the job, without all the media-query overhead. [script lang='js'] [/script] So here it is.. works with any jQuery enabled site, and simply adds a ‘.mobile’ class …

Read More

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in codeRelease, coding, css, Day Job, javascript, jQuery, mobile Comments Off

OpenID for WP Error

There’s a lovely unpatched “bug” to the OpenID plugin for WordPress. It seems to be directly related to logging in using an OpenID-associated email, when that email address wasn’t initially registered through WordPress as an OpenID (like the admin, upon setting up WordPress). The worst bit about this bug, is how it fails entirely without …

Read More

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in codeRelease, wordpress, wordpressCode Tagged , , , , , , , , , , , Comments Off

WordPress Template Listing

When building a WP Theme, there’s plenty of resources within The Codex. I’m a huge fan of the Template Hierarchy page-map.. and the WP is open enough to allow us to see the code.. wp-includes/theme.php shows lots of one-offs.. but no way to get a final-word on which template is being used. wp-includes/post-template.php is kind …

Read More

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in codeRelease, Software, wordpress, wordpressCode Tagged , , , , , , , , , , , , , , , Comments Off

jQuery Form+Cufon = IE8 error. Just another day on the job…

There are some things which you shouldn’t do. Editing WordPress’ “core” is one of them. But when debugging, there’s 2 routes to go: deeper, into lower-level code, or higher, trying to avoid the situation. Those who are more detail-oriented like me might tend towards the lower-level fixes.. On to the point: It seems one should …

Read More

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in code, codeRelease, coding, javascript, jQuery, Software, wordpress, wordpressCode Tagged , , , , , , , , Comments Off

Auto WordPressing!

So I’ve been trying out a new system of blogging for me. It’s not enough that I can write my thoughts down here within WordPress’ editor, I find myself wanting to promote those other articles and blog-items from other sources. Since I read them on Google Reader, and since that system is kind enough to …

Read More

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in codeRelease, life-of-a-geek, Software, wordpress, wordpressCode Tagged , , , , , , , , , Comments Off

My New Job’s Job: Plugin & Bug Fixer

While my “job” is building websites per a designer’s spec, there’s another part: support. I don’t mean supporting old websites; I mean time spent supporting the one I’m presently building. When the spec would indicate a need for multiple attached images, with title & styled caption (more than just a plain-text-caption), what am I to …

Read More

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in codeRelease, jQuery, life-of-a-geek, wordpress, wordpressCode Tagged , , , , , 2 Comments

Nivo-slider hacking!

So nivo-slider is supposed to be “all that.” It ain’t. It kinda fails at a few important details like IE6 compatibility, non-image content, and the point of this post: custom image selection. For all you out there who don’t want to use the next/previous buttons (since you’d like to select an image which is NOT …

Read More

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in codeRelease, jQuery Tagged , , , , , , , , , Comments Off

Randomly writing CSV data in PHP

Today’s project: add or replace values in a comma-separated-value file. The application is for tag-counting by week, so the first column is effectively an ID column & the rest (for me) are integers. But here’s the code with some sample data grabbed from a random Google search..

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in codeRelease, PHP Tagged , , , , , , , , , Comments Off

Read Google Calendars from Orage!

Holy crap! My fav toolbar calendar is more than just a calendar! It does alarms & full ICS input & output! With a little scripting & cron, I get the day’s events with one click! [sourcecode language="bash"] #!/bin/sh cd ~/tmp wget http://www.google.com/calendar/ical/–your-private-gcal–url/basic.ics mv basic.ics calname.ics [/sourcecode] Just repeat the wget & mv for all calendars, …

Read More

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in codeRelease, desktop theory, life-of-a-geek, Linux, openbox, ShellScripts, ubuntu, window managers Tagged , , , , , , , Comments Off