Month: June 2012

Sudo Plus X11 Forwarding

I originally published this script on my PeopleSoft Blog, but since it is as much Linux related, I thought it should go here, too.

The problem was that I was trying to install the Oracle Database via SSH using the GUI installer.  The sudo command was breaking my X11 forwarding.

I found the answer on the “Bag of Tricks” blog:

Bag of Tricks: x forwarding and sudo for oracle installs

Here’s my version:


if [ -z "$user" ]; then
 user=<default user>

displayNum=`echo $DISPLAY | sed -e 's/^.*://' -e 's/\.[0123456789]*//'`
echo "Display # = $displayNum"
cookie=`xauth list | grep ":$displayNum"`
echo "Cookie = $cookie"
cookiename=`echo $cookie | sed 's/\s*MIT-MAGIC.*$//'`
echo "Cookie Name: $cookiename"
echo "user = $user"
sudo -u $user bash -c "xauth list; xauth add $cookie; bash; xauth remove $cookiename"


Eclipse + JavaFX

I just ran across a couple of encouraging comments on the Net…

Here’s the first link:

Announcing JavaFX Scene Builder Public Beta

I found this in the comments:

 Is Scene Builder going to be integrated with Netbeans and Eclipse in future?

Ya, we designed it so that the SceneBuilder could be embedded in IDEA, Eclipse, and NetBeans. Obviously we’ll be doing the work on NetBeans and hopefully Thomas or somebody in the community will plug it into Eclipse

I also found this ticket.  (Maybe something to watch?) Trac:Ticket #120 (new enhancement)

That project has an installation page.  I’ll have to try that out.  For now, let me just write it down…

efxclipse Installation page

I did find a nice tutorial for using JavaFX with Eclipse (its a little old because it doesn’t list Linux):

Java FX for Eclipse

The Linux files are here:

Index of /general/javafx/eclipse/

And, while I am at it, I want to use Swing with JavaFX, and this tutorial looks like a great place to start:

JavaFX for Swing Developers

Website Detector

Jake pointed out this cool little tool that inspects a website:


So, I thought I would test a few sites that I have visited in the past:

Here are some CMS platforms that I tried (from the List of CMS’s):

This is a very simple test and not thorough at all.  Just playing with curiosity.

If I had one suggestion, I think it would be cool to detect Advertising providers (like AdSense, etc).  I would love to know what others are using.

Traffic Travis on Linux

Recently, a friend told me about this program called Traffic Travis that could help with SEO.  It has some free features and you can pay for PRO features.  Since it had a free version, I decided to try to see if I could get it running under Linux.

Here’s the description from Traffic Travis:

Best Free SEO Software for all your SEO & PPC Management needs. Use Traffic Travis for both on and off page analysis as well as spying on your competitors.

Traffic Travis doesn’t support Linux as far as I could see, so this is an exercise in Wine.  Here’s what I did to get it installed:

Read More