CartMetrix - Do you know yours?

9/10/2007

Blattodephobia

n. The fear of cockroaches

Popularity: 83%

7/4/2007

Zen Cart Patch Needed For Admin Security

Zen Cart has released a patch for all versions v1.2 through v1.3.7 that fixes a serious security hole in the admin login/password reset system.

I strongly advise all current ZenCart users to see to it that this patch is performed on their systems. The patch takes less than fifteen minutes to complete.

If you need help with this patch, I can install for $25.
(more…)

Popularity: 25%

6/30/2007

TechCrunch: MySpace Likely To Open Platform To 3rd Party Developers

MySpace Likely To Open Platform To 3rd Party Developers

Great! An application known for its buggy code and bloated site is going to open it up to third-party developers? With all of their attempts to block out existing widgets, who is going to want to code for these losers?

Why does it always seem like the class idiots end up beating us all in the end?

Popularity: 21%

6/25/2007

Grep Replace and Word Processing

I spend so much time in a text editor, its hard to get my head around a word processor sometimes. Text and formatting at the same time?

Moving some content around I found myself with a ton of links formatted in an unordered list. I only needed the plaintext of the name and link separate for the current project. My trusty BBEdit with Grep search and replace support yield the following search and replacement patterns to make quick work of the list.

Search Grep Pattern

<li><a href=“(.*)”>(.*)<\/a> ?<strong> ?\((.*)\)<\/strong><\/li>

Replace Grep Pattern

\2\t\(\3\)\r\1\r

Turned this

<li><a href=“http://www.agentb.com/”>AgentB</a> <strong> (Deals)</strong></li>

into this

AgentB (Deals)
http://www.agentb.com/

I always keep an empty BBedit window for text processing like this. Its easy to paste a chunk of text, process it and then paste it back into your word processor.

Note:
I’m almost good enough at Grep search patterns to make this viable in all situations. It used to take me 5 minutes to debug and expression that would have taken 2 minutes to cut and paste manually. I had this one whipped out in much less time than it would have taken to manually cut and paste a hundred of these.

Popularity: 23%

Bootp Session Transmit Error

Has anyone seen this error on a MacBook before:

Apr  3 15:16:10 Phoebe configd[35]: DHCP en2: INIT transmit failed
Apr  3 15:16:10 Phoebe configd[35]: bootp_session_transmit: bpf_write(en2) failed: No buffer space available

This is a real pain in the ass when it happens. The only thing that seems to fix it is to reboot.

The only thing I could find was on Apple’s support forums. But there is still no solution there.

Popularity: 22%

6/23/2007

Wordpress Bug - Theme Reverts to Default Theme

I have been working on a new Wordpress theme for this site and have noticed on several occasions that Wordpress has reverted back to the default theme.

Google turned up a few helpful pages:

The problem boiled down to the fact that I was editing the file remotely via SFTP. If I happened to save the file at same time as someone was trying to access a page it the file exists check would fail as there is always a split second while the file is being saved that it technically doesn’t exist. The code suggested in the bug report above worked well for me.

Popularity: 25%

Next Page »


damonparker.org is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

copyright © 2002-2008 damonparker.org. all rights reserved.

Close
E-mail It