Web Design

EM Calculator

KarmaDude Mar 2, 2007 Add comment

EMCalc
A very handy and nifty little JavaScript tool to calculate em values. Set your default font size in pixels, and the decimal places to round to, and this calc will convert all your pixel values to em’s. The best aspect of this tool is the ability to define your site hierarchy to calculate the relative em values for the different dom elements used on you site.

Em Calculator is to em what Typetester is to font.

EMCalc

WordPress: Adding links to post categories

KarmaDude Feb 2, 2007 5 Comments

In WordPress 2.1, one of the features I was hoping for, with the new link categories, was the ability to add a link to a post category. Initially when I saw the new categories admin area, and the posts and links count columns, I assumed that it would be possible to add a link to the same category as a post.

For example: Let’s say I have a news category, and I want posts related to news and links to news sites to go into the same news category, rather than having a separate category news posts and news links. (more…)

CAPTCHA: Ask a smart question

KarmaDude Jan 17, 2007 4 Comments

A few days back, after reading Jon Jensen’s attempt at thwarting comment spam by randomly changing the URL of the comment form, I decided to add some level of barrier against comment spam on counterjumper, via an image CAPTCHA.

According to WikipediA, a CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) is a type of challenge-response test to detect if a user is a computer or not. While trying to add one of those fancy image CAPTCHA’s to this blog, I thought, “Wouldn’t it be smarter to ask a smart question instead?â€? (more…)

Wordpress flickr link quicktag

KarmaDude Sep 15, 2006 3 Comments

flickr quicktag
Here is the code to add a handy flickr link quicktag to your Wordpress post editor.

Sample:
This is what a link generated by the flickr quicktag to my flickr page looks like: flickr: Karmadude on flickr
(more…)

Funny Spam Comments

KarmaDude May 30, 2006 Add comment

Have you ever taken a look at some of the creative spam comments? Here are a few I encounter on a regular basis, and it’s just funny that spammers think flattery will actually work!! I wonder what a day is like for a spammer? If you are one, do share your story.

  • Great website! Bookmarked! I am impressed at your work!
  • I like your site
  • I just don’t have anything to say right now.
  • HI! I love this place!
  • Your home page its great
  • Very good site. Thanks for author!
  • Best site I see. Thanks
  • May we exchange links with your site?
  • Your site is very cognitive. I think you will have good future.:)
  • Hello Jane, great site! (Who the f!@k is Jane?!)

« Older Posts Newer Posts »