Archive for the ‘roller’ Category

Linux Joke

Tuesday, November 23rd, 2004

$ ls -l / | grep tmp
drwxr-xr-x 3 root root 4096 Nov 23 04:02 tmp

Organic Chocolate Chip Cookies

Saturday, October 16th, 2004

In a mixer mix:


1 stick butter (4 oz room temperature)


3/4 cup Rapadura


2 tsp vanilla


then add:


1 egg


In another bowl mix:


1/2 cup whole wheat flour


1/2 cup almond meal


2 tbsp unprocessed wheat bran


1/2 tsp salt


1/2 tsp baking soda


mix the wet and dry ingredients.


Add


1 cup / 12 oz chocolate chips / chunks (2 rapunzel chocolate bars will do)


Bake at 375 F for 9-11 minutes.

Snake Food

Sunday, August 1st, 2004

We went to the Science Museum and happened to go upstairs ot the labs just at the right time to see a corn snake eat a mouse.

WebSphere Install Update

Thursday, July 29th, 2004

I did a scripted install of ND 5.1 and BASE 5.1 on Linux last night.  I used some Java code to enable java security and set all the TCP/IP ports to the standard.  The whole process took 8 minutes and 10 seconds.  This included ND install, BASE install and federation.

Creating Web-based user interfaces: Using WebSphere Studio V5.1.2 to develop JavaServer Faces applications

Friday, July 2nd, 2004

From developerWorks


http://www.ibm.com/developerworks/edu/i-dw-wes-wesjsf-i.html?S_TACT=104AHW57&S_CMP=TNL&ca=dnt-526


Learn how to useJavaServer Faces (JSF) technology within WebSphere Studio V5.1.2. The tutorial walks you through a simple application example that makes use of JavaServer Faces in order to implement a simple messaging center. Using the WebSphere Studio tools, you will see how easy it is to build Web applications that are based on JavaServer Faces and how easy it is to support functions relating to event handling, validation and navigation using visual tools and declarations rather than having to write long tedious code.

Navy Joke

Thursday, July 1st, 2004

“Two battleships assigned to the training squadron had been at sea on manoeuvers in heavy weather for several days. I was serving on the lead battleship and was on watch on the bridge as night fell. The visibility was poor with patchy fog, so the Captain remained on the bridge keeping an eye on all activities. Shortly after dark, the lookout on the wing of the bridge reported, “Light, bearing on the starboard bow.”
“Is it steady or moving astern?” the Captain called out.
Lookout replied, “Steady, Captain,” Which meant we were on a dangerous collision course with that ship.
The Captain then called to the signalman, “Signal that ship: We are on a collisoon course, advise you change course 20 degrees.”
Back came the signal “Advisable for you to change course 20 degrees.”
In reply, the Captain said, “Send: I’m a captain, change course 20 degrees.”
“I’m a seaman second class,” Came the reply, “You had better change course 20 degrees.”
By that time, the Captain, was furious. He spat out, “Send: I’m a battleship, change course 20 degrees.”
Back came the flashing light: “I’m a lighthouse!”

We changed course.”

Linux Answering Machine

Tuesday, June 22nd, 2004

Simple setup for Linux answering machine: http://alpha.greenie.net/vgetty/readme_beginners.html


 


 

SquirrelMail is Nobody

Wednesday, June 2nd, 2004

http://linode.siwko.org/wordpress/?p=244

OK, this was an easy one.  I had two copies of apache running, one with the Red Hat /etc/httpd/conf install and one I compiled into /usr/local/apache2.  SSL was running on the /usr/local copy.  I don’t recall why I did this, but it is likely that I couldn’t do SSL with the Red Hat version.

It was time to add a virtual host and I decided to fix up everything and drag it into one server.  I decided to recompile and move up to the latest httpd (2.0.49).  Here’s the configure script I used:

export CPPFLAGS=-I/usr/kerberos/include
time bash configure –prefix=/usr/local/apache-2.0.49 –enable-ssl –enable-proxy –enable-so –disable-ipv6
time make
time make install

When I was trying to get the thing running I had to read some docs because my guesses were a bit off.  To confgure virtual hosts, the argument to NameVirtualHost has to match the attribute to the <VirtualHost> tag which processes it, not the server name.

If the SSLPassPhraseDialog fails, the server can fail with very little warning.  I had to strace the process before I saw that there were errors logged in the ssl log.  It turns out that I had a script returning the passphrase with the wrong security.

So, finally I got everything up and running, I tried both virtual hosts, the proxy through to Tomcat and the SSL virtual host.  From there I went on to SquirrelMail where I found I couldn’t get to my prefs.  I checked the data directory and it’s owned by nobody.  So, here’s the answer:  /usr/local/apache2 was running as user nobody while /etc/httpd was running as apache.  I had set the new server to run as apache while the old one was running as nobody.  The two servers before accessing the data directory as different users caused the original problem.

Ephemeral Ports

Monday, April 26th, 2004

Here’s a good description with instructions for changing the range: http://www.ncftpd.com/ncftpd/doc/misc/ephemeral_ports.html

Garage Door Torsion Spring Replaced

Wednesday, April 14th, 2004

My garage doors are 9′x7′ wooden single car garage doors.  Last week the torsion spring on one of them broke.


After reading about the effort involved in replacing a torsion spring (http://truetex.com/garage.htm) I called a few companies in the Richmond area for quotes.  The prices ranged from $150 to $189.  The $189 price included garage door opener service. 


Old Dominion Door Sales included door lubrication in their $150 and they could come out the next morning, so I chose them.  I was really pleased with the work.  The fellow was very nice.  He replaced the broken spring on one door, lubed both doors, and replaced the nuts.  He did this in about 30 minutes.