Setting Up A New Wordpress Site : Plugins

Posted on November 20th, 2007 in code, url by skip

I just helped set up a shiny new Wordpress site ( Modern Survivor )… Here’s my list of invaluable plugins:

  • Adman
  • AdSense Manager
  • Akismet
  • All in One SEO Pack
  • Bad Behavior
  • Extended Comment Options
  • Google Analytics for WordPress
  • Google XML Sitemaps
  • Lightbox 2
  • reCAPTCHA
  • Simple Trackback Validation
  • Slickr Gallery
  • Social Bookmarks
  • WordPress.com Stats
  • WP Super Cache

iPhone SMTP bug

Posted on July 5th, 2007 in code, osx, rant by skip

I seem to have found a bug in the SMTP implementation on the iPhone’s Mail.app. When the iPhone sends an email the recipient will actually see two distinct senders, one sender is “Appleseed” and the other is “John” . Both sending addresses will be wrong and un-reply-able. Somehow, during the SMTP conversation, the iPhone is mishandling the from address if the display name contains a comma.

At work we have a naming convention for email addresses as:

"Last, First" <last_first@Domain.EDU>

For example, assume your email account is set up like this:

Name: Appleseed, John

Address: Appleseed_John@Domain.EDU

When the iPhone sends email the recipient will actually see two distinct senders, one sender is "Appleseed" and the other is "John" <appleseed_john@Domain.EDU>

The sending account should of course be: "Appleseed, John" <appleseed_john@Domain.EDU>

I’ve tested this out sending email from the iPhone through various email servers and I’m fairly certain the bug is on the iPhone, as it happens no matter which SMTP server I use. If the email account has a comma in the display name the message will have a corrupt “From:” address, and the recipient will be unable to reply (since the address gets munged in transport).

I’ve also tested this out with other email clients, and they all properly send email from accounts with “Appleseed, John” as the display name.

(posted on the apple forums here)

killchat.bat

Posted on January 29th, 2007 in code by skip
@echo off

@taskkill /fi "IMAGENAME eq Trillia*" /im * /t > null
@taskkill /fi "IMAGENAME eq iTune*" /im * /t > null

@ping 127.0.0.1 -n 6 -w 1000 > nul
@ping 127.0.0.1 -n 6 -w 1000 > nul
@ping 127.0.0.1 -n 6 -w 1000 > nul

@taskkill /fi "IMAGENAME eq Trillia*" /im * /t /f > null
@taskkill /fi "IMAGENAME eq iTune*" /im * /t /f > null

					
										

					
					
					
				

increase the volume of your razr v3

Posted on May 11th, 2006 in code, rant by skip

Stupid Motorola Razr v3 phone is too quiet, all the time I have trouble hearing the person on the other end. Even with a headset… here’s how to fix it:

  1. google it
  2. Download drivers and whatnot
  3. install motorola drivers and p2k drivers set
  4. connect razr to comp through usb cord
  5. download p2k tools and p2kman
  6. download xvi32
  7. read this page on downloading and editing gain_table.bin
  8. and this page on stuff in gain_table.bin
  9. reboot phone

from mark-world.tv: ” Launch p2kman and download “gain_table.bin” from the “/a” directory. Now open “gain_table.bin” in XVI32. To adjust the earpiece gain, go to offset “0D” (in Adr. Hex, you’ll only see “D”). The default value is “01″ and you can adjust the settings from “00″ to “08.” “00″ is silent and “08″ is as loud as possible. Just type the number directly into the offset’s two-digit box. I changed my earpiece gain to “04″. Save the file, upload it to the phone and reset its attribute to “70004″ by entering “4″ in the “Attribute” box and then click on the file to highlight it and click “Change” then click “Restart phone”.”

autorun vmware image on a windows host

Posted on May 11th, 2006 in code by skip

1. make a new .txt file:

@echo off
“C:\Program Files\VMware\VMWare Workstation\vmrun.exe” start “C:\Documents and Settings\admin\My Documents\My Virtual Machines\OpenBSD Mail Server\FreeBSD.vmx”

2. rename it from .txt to .bat

3. drop it into the startup folder or make a scheduled task to run it on system start.

add a new partition or hard drive to openbsd

Posted on May 8th, 2006 in code by skip

i keep forgetting how to do this…

# disklabel -E wd0
# vi /etc/fstab
# newfs /dev/wd0d

Next Page »