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

PHP

When htaccess is not working

So I’ve got an Apache2.4 server running. Having set “AllowOverrides All” in the only Directory block, I assumed the htaccess files were working. Not so. The Directory block I am using  has a regex in it. Apache2 documentation says that regex’d directories are matched last. Turns out the default Directory section in the /etc/apache2/apache.conf was matching – …

Read More

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in Day Job, debian, devOps, LAMP, PHP Leave a comment

WordPress Theming is actually Programming.. or, “Look, I’m all grown up now”

These past 2 weeks at work, I’ve learned a lot about optimization; you could say it’s been a “reality check.” Last week, I took time to check response times on websites we host on Godaddy. Taking the plain HTML+CSS times as a baseline for size, resources & speed (very fast), I started to wonder what …

Read More

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in code, development, hardware, interaction design, javascript, LAMP, life-of-a-geek, limited computing, mysql, PHP, programming, Software, wordpress Comments Off

WordPress as a Todo Manager

The single problem with 99% of all todo-mangers out there: they are closed, locked-in & down. They’re hardly portable, and overall, they suck. I want a web-app which won’t tie me down, And I just realized, I can make a “todo” category & get an RSS feed of it! WordPress RSS Title & Summary x …

Read More

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in life-of-a-geek, PHP, Project Management, Software, wordpress 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

WordPress Skills (How to hire a WP guy!)

My job just asked me to make a list of what a sister agency should look for in WP ppl. Googling left me with nothing (as all search results seem to have been taken over by SEO ppl lately), so here’s my addition to the mix: Basic (unquestioned assumptions): * XHTML syntax, CSS2, * Browser …

Read More

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in coding, LAMP, PHP, Project Management, Software, wordpress Tagged , , , , , , , , , Comments Off

WordPress: Author List by Category

I just keep functioning out WP! (What can I say, it’s my job!) This is a rework of WP’s own list_authors() function, but with some extra SQL: [sourcecode lang="php"] [/sourcecode] And then to call, just define the category you want: [sourcecode lang="php"] Authors: [/sourcecode]

Share and Enjoy

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

Fake out wordpress to pull in another page-content..

Sometimes using <? $thispost=get_post($id); echo $thispost->post_content ?> isn’t enough. Sometimes, you need a full menu structure to be highlighted or built according to that post. Sometimes you need a menu parent pull in the ‘first child’ content. Sometimes, you need to fake wordpress out: [sourcecode lang="php"] [/sourcecode]

Share and Enjoy

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