How To Run Subscriber-Only Competitions on Your Blog

Image by catspyjamasnz via Flickr

A Guest Post by David Cleland from TotalApps.

In 2006 I proudly started my first blog, DigMo! It was technology, it was creativity, it was music and it was education. Despite it being a bit of blog soup I was pleased at how quick the site grew but within a few years it reached a critical point beyond which I really couldn’t get the traffic to grow. The site was frankly far too general to appeal to a specific community.

Read more @


Determine what process is listening on a port on Solaris, without lsof

Image by Metsuke iLife via Flickr

$ for x in `ptree | awk \'{print $1}\’`; do pfiles $x | grep ${PORT} > /dev/null 2>&1; if [ x\”$?\” == \”x0\” ]; then ps -ef | grep $x | grep -v grep; fi; done 2> /dev/null

Can use lsof, but since it\’s not part of the base OS, it\’s not always available.



The best in command line xml: XMLStarlet

Quite some time ago I wrote about using xsltproc to process xml on the command line. Thank fully someone pointed out XMLStarlet.? I now use XMLStarlet almost every day.? I work with a variety of REST based API\’s gather information. XMLStartlet along with a simple for loop or xargs gives …

If you are on fedora then you can use xmlstarlet in the following way. First install the package:

sudo yum install xmlstartlet

Now, you can replace xml with xmlstarlet in the examples given in the above post. You can try the script below: