Posts filed under ‘geeky’
dodos threaded comments for wp 2.0
January 31st, 2006
as you see, i’ve reinstalled dodos threaded comments hack for wp 2.0. feel free to test it out here.
i’ve released the new version here. i can not provide much support due to my busy schedule. however for the next few days, if you try it and find obvious errors in the steps, i will take a look.
good luck!
moving pure-essence.net
January 29th, 2006
moving pe is a big project. right now i’m only 30% of the way there. it was a pain moving all the database due to their sizes but i finally finished it.
i’m taking my time to check out all the wonderful new features & looks that comes with
wp 2.0. while browsing for potential plugins, i found these quite interesting:
fight comment spam plugin (wordpress hashcash)
- i probably will not install this right a way. the fact it uses ajax concerns me. nonetheless this is one of the best comment spamming projects i’ve seen out there. i will keep my eyes on it. during the move, when i was reviewing my comments data, i had to manually delete around 2mb of comments spam that somehow got logged into my table. most of them remind me a lot of
header injection
. so i added a few lines of codes to my post file to hopefully help reduce spams.
// to prevent header injection
if (eregi("\r",$_POST['email']) || eregi("\n",$_POST['email'])) { exit; }
// names must be alpha only
if(eregi("[^a-zA-Z]+", $_POST['author'])) die("Name must not contain characters other than a-z.");
the second part enforces user to enter only alphabetical inputs for the commenter name.
the awesome flickr & wordpress plugin
- now this looks extremely interesting. i will probably install it. i spent a lot of time writing a php gallery script but it might be hard integrating it with wordpress. i love the flexibility of flickr. i think it is a much better choice.
config gaim for gtalk
December 30th, 2005
i knew you could do this but never tried. so i did it today and it works like charm.
If your like me and use GAIM as an IM client, then you might want to follow these instructions for setting up GAIM to use the GoogleTalk servers.
1. Click Accounts->Add (at the login screen)
2. Under the protocol dropdown choose “jabber”
3. Your screenname is everything before @gmail.com
4. Change server from jabber.org to gmail.com
5. Click show more options
6. Make sure “USE TLS if available” is checked.
7. Connect server should be “talk.google.com”?
8. Password is the same password that you use for gmail
Rock on!
dodosmail version 2.1
December 2nd, 2005
dodosmail has been upgraded to version 2.1 after securing it from header injection.
media player classic
October 6th, 2005
media player class is the bomb. i’ve been using it for a while. i just learned today that it can also play real media files (originally can only be played by realplayer)
almost killed by fraud
September 28th, 2005
OMG, this is the closest i ever come to having lost my life.
i’m so scared now i think the entire process over.
(more…)
PS plugin for ICO file
September 1st, 2005
this plugin is free. and it allows you to use photoshop to save files in .ico format so you can use them as icons.
simply download this freeware plugin
unzip
place the 8bi file into your photoshop plugin/file formats folder
load photoshop
create new file
now you can save it with .ico extension.
of course try keep your icon files under 64×64 
php alphabet output
July 6th, 2005
aw thanks to miki for the tip. i was wondering if there was a smarter way to print out the alphebat in php than just typing them out LOL
———-
Every letter of the English alphabet corresponds to an ASCII code, so rather than manually typing everything out, you can achieve the same result with a simple PHP loop.
The code below will output all uppercase letter from A to Z by running through ASCII codes 65-90 (the values for uppercase letters) and converting each code to its corresponding letter using the in-built PHP function chr().
<?php
for ($i=65; $i< =90; $i++) {
$x = chr($i); print $x;
}
?>
For lowercase letters, use the numbers 97-122 instead.
dodoupload 1.3
July 1st, 2005
worked most of today on releasing dodoupload version 1.3. if you never had problem with previous versions, you probably don’t need to upgrade. there is not much change from version 1.2. I rewrote the script mostly because some people have problems with http auth and i couldn’t figure out why. so now it’s cookie based login. i also got an email requesting to allow no login. so that’s an option now too.
amy from e-starr.com is now hosting regretless.com. i plan to reopen the registration for dodocounter
stay tune!

