Articles by Month
- July 2010 (2)
- June 2010 (3)
- May 2010 (5)
- February 2010 (4)
- September 2009 (1)
- July 2009 (2)
- June 2009 (2)
- April 2009 (8)
- January 2009 (3)
- November 2008 (6)
- June 2008 (1)
- May 2008 (5)
- April 2008 (1)
- March 2008 (3)
- February 2008 (5)
- January 2008 (10)
- June 2007 (1)
- May 2007 (1)
- April 2007 (2)
- October 2006 (2)
- September 2006 (4)
- August 2006 (2)
- February 2006 (1)
- December 2005 (1)
- September 2005 (4)
- August 2005 (5)
- July 2005 (2)
- June 2005 (2)
- May 2005 (5)
Links
-
Category Archives: Code
Making bp-events work on BuddyPress 1.2 (with invites working)
There is a lot of chatter about wanting the plugin creator to update bp-events to work with Buddypress version 1.2, and so far it hasn’t happened, however, this guy has ported it for us so kindly: http://codewarrior.getpaidfrom.us/2010/04/21/buddypress-event-plugin-for-1-2/ Share This Post … Continue reading
Hack to make vipers-video-quicktags detect iPad and use HTML5 Video Tag
I use this WordPress plugin, vipers-video-quicktag, in a couple sites I maintain. I use it to display FLV video. I’ve found if I create .mp4 videos with the H.262 video and AAC audio codecs, it’ll play in the Flash player, … Continue reading
Putting a Facebook share link on your site
Putting this up as an example of how to do a share link. It’s a share link to http://goshinkarate.com/intro_offer.html (my kids take Karate here – Great program!) Share The code for this is: <a name="fb_share" type="button" share_url="http://goshinkarate.com/intro_offer.html" href="http://www.facebook.com/sharer.php">Share</a><script … Continue reading
BP Events bp-events invites broken, workaround
bp-events version 1.1 on top of buddypress 1.1.3 isn’t working for invites, it’s broken. After hours and hours of combing the web looking for a solution, I couldn’t find one. I figured out a workaround. There were several other places … Continue reading
Expect script to print out IronPort config, showconfig
Logging this here for easy fetching later. #!/usr/bin/expect set timeout 30 spawn ssh USERNAME@HOSTNAME expect_after eof { exit 0 } ## interact with SSH expect { “yes/no” { send “yes\r” } -re “.assword:” { send “PASSWORD\r” } } expect “> … Continue reading
Parallel Distributed Computing Example
You may have seen article, Hadoop Example, AccessLogCountByHourOfDay. This is a distributed computing solution, using Hadoop. The purpose of this article is to dive into the theory behind this. To understand the power of distributed computing, we need to step … Continue reading
Hadoop Example, AccessLogCountByHourOfDay
Inspired by an article written by Tom White, AWS author and developer: “Running Hadoop MapReduce on Amazon EC2 and Amazon S3” Instead of minute of the week, this one does by Hour Of The Day. I just find this more … Continue reading
hadoop-0.18.3 Could not create the Java virtual machine
Installed hadoop on a VM, and needed to set the java heap size, -Xmx1000m, lower than the default 1000 to get it to work. I set the HADOOP_HEAPSIZE var in the conf/hadoop-env.sh dir to the lower value, but hadoop continued … Continue reading





















