WordPress Thesis Theme…?

I’m looking into the WordPress Thesis theme today and finding many interesting articles on the business & politics behind the thesis theme:
http://successcreeations.com/1838/has-thesis-developer-chris-pearson-torpedoed-his-business/
http://trishussey.com/2010/07/15/wordpress-thesis-gpl-and-premium-themes/

Do I really want to do it? Well, I’m going to do some R&D over here and see how it goes…

Posted in Uncategorized | Leave a comment

Combatting drupal comment spam with mollom

Last night I deleted about 300 spam comments from a drupal site I maintain for a friend. If that had been a month’s worth I might not have minded, but those were all submitted yesterday, the vast majority by a user calling himself ‘cialis’. right.
So I installed Mollom and it seems to be helping.
The good: so far comment spams are at zero and counting.
The bad: every anonymous user gets the “Mollom” name & link under the comment box.
The ugly: every administrative user sees a “report to Mollom” link under every comment. Well since we are screening comments anyway, there should never be a need for such a link on that site. I wonder if there’s an option to turn this off or if it’s time to get the hacking gloves on?

Posted in Uncategorized | Leave a comment

Disable button onclick

I needed to disable a button onclick and used the code from this guy, Dave Taylor:

I wonder if this is any good?

Posted in Uncategorized | Leave a comment

USB Webcam on Linux Desktop

Seeing if I can get a USB webcam to work with my garage CentOS desktop. Maybe I need to install a kernel module for this GSPCA main driver business. Trying to follow this page
http://wiki.centos.org/HowTos/BuildingKernelModules
and getting into some kernel fun
rpmbuild -bp –target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log

Thanks to this blog for helping me get flash plugin on my CentOS box. Now I run the test and “Adobe Flash Player cannot find my camera”. On to the kernel module for GSPCA driver things.

Posted in Uncategorized | Leave a comment

linux firefox css issues

Just noticed omniweb.com is broken in firefox on linux… why?

Another challenge for another day: this is why.

So, based on what fonts are available, it seems like the character
widths of the fonts chosen when you specify ‘font-family:
Verdana,Arial,Helvetica,sans-serif; font-size: 10px’ differ between
platforms. The design is based around the assumption that those
character widths will be the same across platforms. This is not a safe
assumption, since different platforms tend to have different fonts
available and their font systems may even treat the same fonts slightly
differently.

Probably the best solution to this problem is to specify the width of
the input using CSS (e.g., ‘width: 100%’) rather than using the size
attribute

I wonder if the dropdown menu I’m using can even support this change… ahhhhhnother challenge for another day… live and learn 🙂

Posted in Uncategorized | 1 Comment

(re)Getting the drupal going

Last night I set up a drupal multi site installation:
Site1: drupal.omniweb.com
Site2. www.thousandoakswebhosting.com
Served from the same folder… pretty tricky.

Posted in Uncategorized | Leave a comment

Red5 installation – this could be it?

OK so back on the Red5 install issue; here we were with this error no matter what I try:
Target “build” does not exist in the project “RED5”

So this guy tells me to just run “ant” without “build” – something’s happening…!

hmmm one hurdle passed and another in front of us. Apparently something’s missing…

BUILD FAILED
/usr/local/src/red5/build.xml:146: The following error occurred while executing this line:
/usr/local/src/red5/build.xml:160: The following error occurred while executing this line:
/usr/local/src/red5/build.xml:115: impossible to resolve dependencies: resolve failed - see output for details

OK so that guy also tells me to check out this google code stuff
I did the following:
cd /opt
svn checkout http://red5.googlecode.com/svn/java/server/trunk/ red5-read-only
mv red5-read-only red5
cd red5
ant
"BUILD SUCCESSFUL"

WOO HOO!
Let’s see if this sucker works…

hmm nope….
Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/red5/dist/red5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/red5/dist/lib/logback-classic-0.9.24.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

Posted in Uncategorized | 1 Comment

Tomcat Yes Red5 No

Another day, another hurdle. I got Tomcat running on the development server, I see the development page and I was able to set up an admin account and log in…. but same exact result when I try to install red5

Target “build” does not exist in the project “RED5”.

argh, back to the google-board.

Posted in Uncategorized | Leave a comment

Hard Drives and CD Drives

OK Still no Red5 server running – i did not even try to install tomcat yet. I just need to figure out the correct java path, but for some reason I did not even get a chance to look at it today.
so anyway, today I worked on my desktop system(s) instead.
My CD writer and DVD Rom were both not showing up in Windows, and I was out of HD space.
I added a 320GB SATA disk that I pulled out of a broken “MyBook” drive, and found 180GB of free space on the “C” drive, formatted that as the “J” drive. Now I have 5 partitions on 3 drives with hundreds of GB of free space.
After messing around with the CD writer and DVD ROM, I concluded that I just needed to add one jumper in the right place and then both my CD writer and DVD Rom showed up / seem to work / haven’t disappeared yet.
woo hoo.
To celebrate, I installed Centos on 1 of the towers in my garage and now I’m running a unix desktop in the garage to type this through the pre-installed firefox. pretty easy and sweet. yum. yum update. woo hoo. 2 other towers wouldn’t even boot up. I think I’m going to scrap them for parts.
over and out.

Posted in Uncategorized | Leave a comment

Mission for the next day too

Red5 – getting this to work is quite a project http://www.red5server.org/content_red5installlinux_500006

got ant, tzupdater, jdk / sdk installed:
jdk-6u21-linux-x64.bin java_ee_sdk-6u1-unix.sh

did this rpmbuild --rebuild java-1.6.0-sun-1.6.0.21-1.0.cf.nosrc.rpm

and that yum --nogpgcheck localinstall java-1.6.0-sun*.rpm

now I’m stuck here;

# /opt/ant/bin/ant prepare
Buildfile: /usr/local/src/red5/build.xml
[echo] java.home is /usr/lib/jvm/java-1.6.0-sun-1.6.0.21.x86_64/jre and the target version is 1.6
prepare:
BUILD SUCCESSFUL
Total time: 1 second

# /opt/ant/bin/ant build
Buildfile: /usr/local/src/red5/build.xml
[echo] java.home is /usr/lib/jvm/java-1.6.0-sun-1.6.0.21.x86_64/jre and the target version is 1.6
BUILD FAILED
Target "build" does not exist in the project "RED5".

Guess I need to install tomcat next….
almost ready to install it but how to determine the JAVA_HOME environment variable…?

Posted in Uncategorized | Leave a comment