Posts

Showing posts from February, 2011

Remember the path young Padawan

Always remember to use the complete path in your CRON scripts.  The script below will check to see if your server can ping a router, if it fails it will restart your network.  This scripts works on Red Hat based Linux systems like CentOS and Fedora.

#!/bin/bash

ROUTER_IP=XXX.XXX.XXX.XXX

( ! /bin/ping -c1 $ROUTER_IP >/dev/null 2>&1 ) && /etc/rc.d/init.d/./network restart

I am posting this to my blog as a reminder to myself (and others if this shows up in a search) to always use the full path to files when you use them in a CRON.  You can always run the script the command line as some user and it will work.  When you put it in the CRON it will fail.



What the heck is a Padawan?

Speed Test in Leesburg from 173.20.77.86

Image
[caption id="" align="alignnone" width="300" caption="Birchwood Speed Test"][/caption]

Really slow connection here at Leesburg, GA using Mediacom

[caption id="" align="alignnone" width="300" caption="Leesburg to Dallas Speed Test"][/caption]

Oracle® Database Backup and Recovery User's Guide 11g

Scripting RMAN Operations RMAN supports the use of command files to manage recurring tasks such as weekly

backups. A command file is a client-side text file containing RMAN commands,

exactly as you enter them at the RMAN prompt. You can use any file extension.The

RUN command provides a degree of flow-of-control in your scripts. To create and run a command file: 1.Use a text editor to create a command file. For example, create a command file with the following contents: # my_command_file.txt

CONNECT TARGET /

BACKUP DATABASE PLUS ARCHIVELOG;

LIST BACKUP;

EXIT;

2.Start RMAN and then execute the contents of a command file by running the@ command at the RMAN prompt: % rman RMAN> @/my_dir/my_command_file.txt # runs specified command file You can also launch RMAN with a command file to run, as shown here: % rman @/my_dir/my_command_file.txt Reporting on RMAN Operations The RMANLIST andREPORT commands generate reports on backup activities based on the RMAN repository. Use the SHOW ALL command to d…

Pandora Radio playing Dido's Thank-You

Image
[caption id="attachment_1877" align="alignleft" width="251" caption="Pandora Radio playing Dido's Thank-You"][/caption]



This song was on a CD of music that my wife gave to me.

Paragon Square Porcelain White Coupe Plate

Image
I have always admired restaurant quality construction and dinnerware. This afternoon when Sylvia and I were eating in a Ruby Tuesday's in Americas, GA I found myself admiring the square dinner plates. I have always noticed square dinner plates. So I decided to search them out on the Internet and post them on my blog as a reference for later shopping use.

This Paragon Square Coupe Plate is sure to enhance your tabletop and food presentations.  Also compliments the Dover, Bristol, Coupe and Quad lines and all our other shaped restaurant dinnerware lines. The Paragon Square Coupe white plate is sure to spice up any tabletop. Vitrified chinaware for commercial foodservice durability makes our restaurant dinnerware the top choice for restaurants. via Paragon Square Porcelain White Coupe Plate.

Linux Bugs

I was trying to restart my network on my Fedore14 box with a crontab. I got this error/etc/init.d/functions: line 51: /dev/stderr: Permission deniedApparently I have fallen prey to an official bugBug 650103 - /etc/init.d/functions: line 51: /dev/stderr: Permission deniedI like it when I discover that I am not doing anything wrong and it is the software that is at fault.

Pandora Radio

Image
Finally after over 20 years on the Internet I have paid for an Internet Radio service.

Introducing HTML5

I am reading this book with my Safari Books Online account.Introducing HTML5By: Bruce Lawson; Remy SharpPublisher: New RidersPub. Date: July 11, 2010Print ISBN-10: 0-321-68729-9Print ISBN-13: 978-0-321-68729-6Web ISBN-10: 0-321-71794-5Web ISBN-13: 978-0-321-71794-8Pages in Print Edition: 240I like reading books online because it allows me to have the books anywhere I have a computer. since these books are technical in nature I do not have to buy them and then lug them around back and forth to and from work. I can always have the latest version of the books. I have access to all 14,752 book titles.

HTML5

I am reading up on all of the new changes in HTML5. I am writing this post on a Fedora 14 bot using Blogilo. Thsi is my first time using a Linux Blogging editor to write a post to my blog.Doing this underscores how Blogging has changed how I work and create content. i started writing this Blog in Texas back in 2003 after resisting using the Internet for social purposes. Now it seems that I use the Internet socially as much as I do for business.So why write about HTML5, well HTML is what got me involved with the Internet way back in early 1990. I started learning HTML with NotePad on a Window$ NT box and later ran an Apache web server and used VI to edit my web site. A lot ahs changed since my early experences with Internet technology. I pretty much started using the Internet when browsers and HTML started back in 1989. It always seems that web browsers were always behind the curve when it came to keeping up with HTML standards. With HTML5 it looks like web browsers ahve finall…

Caterpillar Space Train with wings

Image
[caption id="" align="alignleft" width="415" caption="the caterpillar of the brown hooded owlet moth"][/caption]



Starting a new drawing today. I am going to work from an inspiration that has been in my head since my early twenties. I am also using a new approach to how I get inspiration to my drawing board. I am referencing the images in this blog post from the Internet and my own work. I will display this page on my iPAD and view the images to inspire my drawing. Normally artist print or draw small thumbnail sketches to use for reference. This time I will use digital material and display it digitally for reference.



[caption id="attachment_1828" align="alignleft" width="286" caption="EMD FT #103, blt 1939 Dan Dawdy (reversed)"][/caption]



I am going to publish this posting and add to it as I feel the need during the course of the drawing.



2



[caption id="" align="alignleft" width="3…