Saturday, December 29, 2007

Simmered Thai Chicken With Ginger

4 chicken thighs (three of us ate 5)
1 sm. piece of ginger root (I used crystallized ginger)
1 tbsp. plus 1 tsp. of sugar
5 tbsp. of fish sauce (I used Worcestershire sauce)
Pepper to taste (generous)
1 tsp. vegetable oil
1 clove of garlic, chopped
2 tbsp. of caramelized sugar

Bone the chicken and cut it into 1 inch squares. In a bowl sprinkle the chicken with ginger, sugar, fish sauce, and pepper. Heat the toil, fry the garlic in it. Add the chicken mixture and stir well; cover; reduce heat to medium and cook 10 minutes. Add caramelized sugar, cook 10 minutes and serve over rice. Serves 4.

Tuesday, November 27, 2007

Waffle Recipy

Ingredients
2 eggs
250 g all-purpose flour
415 ml milk
120 ml vegetable oil
10 g white sugar
15 g baking powder
2 g salt
3 ml vanilla extract

Directions
Preheat waffle iron. Beat eggs in large bowl with hand beater until fluffy. Beat in flour, milk, vegetable oil, sugar, baking powder, salt and vanilla, just until smooth. Spray preheated waffle iron with non-stick cooking spray. Pour mix onto hot waffle iron. Cook until golden brown. Serve hot.

Wednesday, November 21, 2007

Kastrolpoeding

Bestanddele:
1 k. Appelkooskonfyt gemeng met 1 D. Koeksoda
1/2 k. Margarien, gement met 2 k. Meel en 'n knippie sout

Metode:
Voeg nou die twee mengsels saam. Skep in kastrol met stroop en kook vir 1 uur stadig op stoof.

Stroop:
1/2 k Suiker, gekook saam met 4 k. water .

Friday, October 26, 2007

KAMMA KREEF

Kamma Kreef

Bestanddele:

3 pd. Stokvis

1 ½ t. Asyn

¼ k. Water

Sout

I groot Ui (gekap)

Metode:

Stoom vis, ui, sout, asyn en water in 'n bak met deksel in 350° vir 30 min of langer tot gaar. Wanneer koud, verwyder veIle en grate van vis en vlok vis.

Sous:

2 t. Suiker

1 bot. Mayonnaise

1 SuurJemoen se sap

Sout en Peper

2 ½ t. Tobasco sous

2 ½ E. Tamatie sous

I ½ t. Peperwortel (horse radish)

Meng vis en sous liggies. Laat 'n paar uur in yskas staan voor bediening.

Pretend Crayfish

Ingredients:

3 pd. Hake (White Fish)

1 ½ t. Vinegar

¼ k. Water

Salt

I large onion (chopped)

Metode:

Steam fish, onion, salt, vinegar and water in caserole with lid at 350° for 30 minus or longer untill cooked. When cold, remove bones and flake.

Sauce:

2 t. Sugar

1 bottle Mayonnaise

1 Lemon’s juice

Salt and pepper to taste

2 ½ t. Tabasco sauce

2 ½ E. Tamatie sauce

I ½ t. pepper carrot (horse radish)

Mix fish and sauce gently. Leave for couple of hours in fridge before serving.

Thursday, March 29, 2007

www.google.com/linux

If you know about this:  www.google.com/linux, shame on you for not sharing the knowledge.
 
If you did'nt thank me for being so kind and sharing to show you how to be "clever".
 
I've been trying to figure out how to add to tha path variable in Ubuntu. Uisng the search link above and just searching for edit $PATH gave me exactly what I was looking for in the first hit and believe me, I've been reading a lot over the last two days.
 
Also check out google's notebook if you have time. No really dont come back complaining later, really check untill you get the plugin installed. http://www.google.com/notebook
 
 
 
 

Linux Command Quick Reference

The following list describes some of the most useful and popular Linux commands. Consult the man page for each command to learn about additional arguments and details of operation.

adduser userid

Creates a new userid, prompting for necessary information (requires root privileges).

apropos keyword

Searches the manual pages for occurrences of the specified keyword and prints short descriptions from the beginning of matching manual pages.

at time
at -f file time

Executes commands entered via stdin (or, by using the alternative form, the specified file) at the specified time. The time can be specified in a variety of ways; for example, in hour and minute format hh: mm or in hour, minute, month, day, and year format hh: mm mm/ dd/ yy.

atq

Prints descriptions of jobs pending via the at command.

atrm job

Cancels execution of a job scheduled via the at command. Use the atq command to discover the identities of scheduled jobs.

bg
bg jobs

Places the current job (or, by using the alternative form, the specified jobs) in the background, suspending its execution so that a new user prompt appears immediately. Use the jobs command to discover the identities of background jobs.

cal month year

Prints a calendar for the specified month of the specified year.

cat files

Prints the contents of the specified files.

cd
cd directory

Changes the current working directory to the user's home directory or the specified directory.

chgrp group files
chgrp -R group files

Changes the group of the specified files to the specified group. The alternative form of the command operates recursively, changing the group of subdirectories and files beneath a specified directory. The group must be named in the /etc/groups file, maintained by the newgroup command.

chmod mode files
chmod -R mode files

Changes the access mode of the specified files to the specified mode. The alternative form of the command operates recursively, changing the mode of subdirectories and files beneath a specified directory.

chown userid files
chown -R userid files

Changes the owner of the specified files to the specified userid. The alternative form of the command operates recursively, changing the owner of subdirectories and files beneath a specified directory

clear

Clears the terminal screen.

cmp file1 file2

Compares two files, reporting all discrepancies. Similar to the diff command, though the output format differs.

cp file1 file2
cp files directory
cp -R files directory

Copies a file to another file or directory, or copies a subdirectory and all its files to another directory.

date
date date

Displays the current date and time or changes the system date and time to the specified value, of the form MMddhhmmyy or MMddhhmmyyyy.

df

Prints the amount of free disk space on each mounted filesystem.

diff file1 file2

Compares two files, reporting all discrepancies. Similar to the cmp command, though the output format differs.

dmesg

Prints the messages resulting from the most recent system boot.

du
du directories

Prints the amount of disk space used by the current directory (or the specified directories) and its (their) subdirectories.

echo string
echo -n string

Prints the specified text on the standard output stream. The -n option causes omission of the trailing newline character.

fdformat device

Formats the media inserted in the specified floppy disk drive. The command performs a low-level format only; it does not create a filesystem. To create a filesystem, issue the mkfs command after formatting the media.

fdisk device

Edits the partition table of the specified hard disk.

fg
fg jobs

Brings the current job (or the specified jobs) to the foreground.

file files

Determines and prints a description of the type of each specified file.

find path -name pattern -print

Searches the specified path for files with names matching the specified pattern (usually enclosed in single quotes) and prints their names. The find command has many other arguments and functions; see the online documentation.

finger users

Prints descriptions of the specified users.

free

Displays the amount of used and free system memory.

ftp hostname

Opens an FTP connection to the specified host, allowing files to be transferred. The FTP program provides subcommands for accomplishing file transfers; see the online documentation.

grep pattern files
grep -i pattern files
grep -n pattern files
grep -v pattern files

Search the specified files for text matching the specified pattern (usually enclosed in single quotes) and print matching lines. The -i option specifies that matching is performed without regard to case. The -n option specifies that each line of output is preceded by the file name and line number. The -v option reverses the matching, causing non-matched lines to be printed.

gzip files
gunzip files

Compress (or expand) the specified files. Generally, a compressed file has the same name as the original file, followed by . gz.

head files

Prints the first several lines of each specified file.

hostname
hostname name

Displays (or sets) the name of the host.

info

Launches the GNU Texinfo help system.

init run_level

Changes the system run level to the specified value (requires root privileges).

insmod module

Dynamically loads the specified module (requires root privileges).

jobs

Displays all background jobs.

ispell files

Checks the spelling of the contents of the specified files.

kill process_ids
kill - signal process_ids
kill -l

Kills the specified processes, sends the specified processes the specified signal (given as a number or name), or prints a list of available signals.

killall program
killall - signal program

Kills all processes that are instances of the specified program or sends the specified signal to all processes that are instances of the specified program.

ln old new
ln -s old new

Creates a hard (or soft) link associating a new name with an existing file or directory.

locate pattern

Locates files with names containing the specified pattern. Uses the database maintained by the updatedb command.

lpq

Prints the entries of the print queue.

lpr files

Prints the specified files.

lprm job

Cancels printing of the specified print queue entries. Use lpq to determine the contents of the print queue.

ls
ls files
ls -a files
ls -l files
ls -lR files

Lists (non-hidden) files in the current directory or the specified files or directories. The -a option lists hidden files as well has non-hidden files. The -l option causes the list to include descriptive information, such as file size and modification date. The -R option recursively lists the subdirectories of the specified directories.

mail

Launches a simple mail client that permits sending and receiving email messages.

man title
man section title

Prints the specified man page.

mkdir directories
mkdir -p directories

Creates the specified directories. The -p option causes creation of any parent directories needed to create a specified directory.

mkfs -t type device

Creates a file system of the specified type (such as ext2 or msdos) on the specified device (requires root privileges).

mkswap device

Creates a Linux swap space on the specified hard disk partition (requires root privileges).

more file

Lets the user peruse a file too large to be displayed as a single screen (page) of output. The more command provides many subcommands that let the user navigate the file. For example, the Space key moves forward one page, the b key moves back one page, and the q key exits the program.

mount
mount device directory
mount -o option -t type device directory

Prints the mounted devices or mounts the specified device at the specified mount point (generally a subdirectory of /mnt). The mount command consults /etc/fstab to determine standard options associated with a device. The command generally requires root privileges. The -o option allows specification of a variety of options; for example, ro for read-only access. The -t option allows specification of the filesystem type (for example, ext2, msdos, or iso9660, the filesystem type generally used for CD-ROMs).

mv paths target

Moves the specified files or directories to the specified target.

newgroup group

Creates the specified group.

passwd
passwd user

Changes the current user's password, or that of the specified user (requires root privileges). The command prompts for the new password.

ping host

Sends an echo request via TCP/IP to the specified host. A response confirms that the host is operational.

pr files

Formats the specified files for printing, by inserting page breaks and so on. The command provides many arguments and functions.

ps
ps -Aux

Displays the processes associated with the current userid or displays a description of each process.

pwd

Prints the absolute path corresponding to the current working directory.

reboot

Reboots the system (requires root privileges).

reset

Clears the terminal screen and resets the terminal status.

rm files
rm -i files
rm -f files
rm -if files
rm -rf files

Deletes the specified files or (when the -r option is specified) recursively deletes all subdirectories of the specified files and directories. The -i option causes the command to prompt for confirmation; the -f option suppresses confirmation. Because deleted files cannot generally be recovered, the -f option should be used only with extreme care, particularly when used by the root user.

rmdir directories
rmdir -p directories

Deletes the specified empty directories or (when the -p option is specified) the empty directories along the specified path.

shutdown minutes
shutdown -r minutes

Shuts down the system after the specified number of minutes elapses (requires root privileges). The -r option causes the system to be rebooted once it has shut down.

sleep time

Causes the command interpreter to pause for the specified number of seconds.

sort files

Sorts the specified files. The command has many useful arguments; see the online documentation.

split file

Splits a file into several smaller files. The command has many arguments; see the online documentation.

su
su user
su -
su - user

Changes the current userid to root or to the specified userid (the latter requires root privileges). The - option establishes a default environment for the new userid.

swapon device

Enables use of the specified device for swapping (requires root privileges).

swapoff device

Disables use of the specified device for swapping (requires root privileges).

sync

Completes all pending input/output operations (requires root privileges).

tail file
tail - n file
tail -f file

Prints the last several lines of the specified files. The -n option specifies the number of lines to be printed. The -f option causes the command to continuously print additional lines as they are written to the file.

talk user

Launches a program that allows a chat-like dialog with the specified user.

tar cvf tar_file files
tar zcvf tar_file files

Creates a tar file with the specified name, containing the specified files and their subdirectories. The z option specified that the tar file will be compressed.

tar xvf tar_file
tar zxvf tar_file

Extracts the contents of the specified tar file. The z option specified that the tar file has been compressed.

telnet host

Opens a login session on the specified host.

top

Prints a display of system processes that's continually updated until the user presses the q key.

traceroute host

Uses echo requests to determine and print a network path to the host.

umount device

Unmounts the specified filesystem (generally requires root privileges).

uptime

Prints the system uptime.

w

Prints the current system users.

wall

Prints a message to each user except those who've disabled message reception. Type Ctrl-D to end the message.

wc files

Prints the number of characters, words, and lines in the specified files.

Table E.1 identifies Linux commands that perform functions similar to MS-DOS commands. The operation of the Linux command is not generally identical to that of the corresponding MS-DOS command. See the index to this book or the Linux online documentation for further information about Linux commands.


Table E.1: MS-DOS Commands and Related Linux Commands

MS-DOS

Linux

ATTRIB

chmod

CD

cd

CHKDSK

df, du

DELTREE

rm -R

DIR

ls -l

DOSKEY

(built-in; no need to launch separately)

EDIT

ae, vi, and so on

EXTRACT

tar

FC

cmp, diff

FDISK

fdisk

FIND

grep

FORMAT

fdformat

MORE

more

MOVE

mv

SORT

sort

START

at, bg

XCOPY, XCOPY32

cp

Ukelele

[28/03/2007 19:40:43] CP van der Linde says:

http://www.youtube.com/watch?v=N_QNrG


Wednesday, March 28, 2007

Installing NXServer (.deb) on Ubuntu

Download all the packages you will need. (/root/packages)

Tip: use Wget
 
nxclient_2.1.0-17_i386.deb 
nxnode_2.1.0-22_i386.deb   
nxmanager_2.1.0-6_i386.deb 
nxserver_2.1.0-22_i386.deb
cd /root/packages
sudo apt-get install build-essential
dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
 
- Once that is done, you need to add that folder to your source.list
sudo nano /etc/apt/sources.list
 
- Then add this line
deb file:///root/packages ./
 
- Again refresh the repositories
sudo apt-get update

- Now we install from the downloaded packages
 
sudo apt-get install linux-headers-2.6.12-9-386
 
 

Sunday, February 25, 2007

Who is Moriarty?

Let me start at the beginning. I’ve made a habit the past year of missing everyone birthdays, the big ones and even my own. I was on a business trip to California when I missed my own 40’th birthday and I was on another trip to San Jose when I missed Cathy’s 40’th and CP’s 19’th. So this time round a remembered and I scheduled a week trip out to Minneapolis between Philip and John’s birthdays so I won’t miss them as well. The week or rather six days over there was going to be rough, because I was trying to resolve all the issues that I scheduled to complete over 8 working days in four and on top of that I had to accommodate customer schedules to run wafers between software testing.

So Saturday morning, the day of my return arrived, and my flight was to depart at 12:00 and since I woke every other morning well before 07:00 I did not set my alarm. So at almost quarter to nine a woke up with a bang and flew out of the bed, skipped breakfast, checked out of my hotel and when I walked out the front door, I saw that the whole area was covered in fresh snow and layers of ice. The car windows were iced up and I literally had to use a scraper to get the ice off the car windows. Ten minutes later I crawled at five miles an hour to the plant to make sure that the two automated test runs completed successfully to verify that I left the tool in a workable and reliable state after all the software updates. The runs completed successfully and I was ready to be on my way.

Eddy, my colleague, missed his return flight two days before by not checking in two hours in advance of the flight and was forced to stay over another day, so I was not going to make the same mistake and with the roads covered in snow and ice this will be a slow process. Minnesota State is much better equipped to deal with these extreme weather conditions and once I hit the main roads I was well on my way to the airport. All the roads were cleared, snowploughs were busy through the night and salt and grit was strewn all over the icy patches and secondary roads and progress went unhampered. I had to refuel the rental car, return it to the drop zone and take the airport train service to my departure terminal.

Once again I was “randomly” selected for extra screening and once cleared after my shoes, belt, coat, laptop computer and every little piece of kit in the carry case was scrutinised and tested for any form of explosive material residue I was released and I could relax and enjoy a nice breakfast. Breakfast too did not go by without its peculiarities. In America you get options on everything. Whatever you order, there’s a choice. If you order coke, you can have various flavoured option, like vanilla, cherry or lemon, with or without caffeine, with or without sugar, so to just get a coke you have to go through a combination of about ten choices. If you ask for tea, you have to ask for hot tea, otherwise you get unsweetened iced tea. So I ordered my hot tea when asked if I wanted coffee, and I was brought some camomile tea. I then asked if I can just get some simple black tea and was offered about ten other varieties of tea but black tea. My colleague, Ian Symington introduced me to Dajeerling tea and I eventually settled for that since that was the closest I could get to plain black tea.

After breakfast I proceeded to the departure area and killed the remaining time in the waiting area by hooking the laptop to the wireless network and using Skype to speak to Cathy and the kids in Dublin and my parents in South Africa and soon it was time to board.

Once on board we eventually started pushing back 30 minutes late after waiting for a special truck to come by and de-ice the plane. We taxied out to the runway and fell into the departure queue and while on the runway snow and rain started falling very hard again. The runways were opened and closed twice and all the time we were waiting in the queue to depart. Eventually the captain announced that our de-icing now expired and we had to head back to the terminal to de-ice again and on our way to do that he announced again that the taxiways are now closed. Five hours later we were de-iced again and when the plane lifted off the runway everyone started applauding and clapping spontaneously and my new friend across the isle, who works in Leather supply business and on their way visit toll suppliers in Italy, reached over and gave me a high five.

It’s amazing how friendly people become under such conditions. You would spend and eight-hour flight across the Atlantic in total silence with the guy in the seat next to you, but spending time on a runway change the rules.

Next to me sat an elderly couple and during this time I slowly learned about the elderly gentlemen who sat next to me. He looked quite old and my experience during the day was a bit like Groundhog Day, except that it occurred about every half an hour. But it’s not every day that you get to talk an 89-year-old man who in fact will be 90 in less than two months. He must’ve asked me the same questions on average about five times and even explained to me that at his age he sometimes drives the car and forgets where he is and where he’s heading and that he is frustrated with the fact that he cannot get himself to remember things, but by repeating them he eventually does. So over time I noticed that some things he would remember that somehow his brain finds outstanding and I can tell that he remembers from the follow up question, but he must’ve asked me about my kids about 20 times. “So you have two kids?” And I would response with, “No, four”, holding out my four fingers, and he’d go, “Wow!” and turns to the second wife with her nose in her book and says: “Honey, he lives in Ireland and he has four kids.” And turns back to me and ask their ages again or if they’re all at school and then proceeds through the cycle of jobs and what I do and what we sell and telling me about his experiences and life.

Every cycle I learned more. The one thing he did remember was that I lived in Ireland, and he almost embraced me for living in Ireland, reached over and shook my hand as if to congratulate me on that and that he remembered that fact for the duration of our time together. His grandfather was Irish and came to the US in 1840 and he was part of a B45 bomber crew in the Second World War and he flew 18 missions and was released after that. They were based somewhere in the UK and had some run-ins with Irish soldiers and was in a fistfight, so much that his shirt was torn off his back. He tells that with a smile on his face and a sparkle in his old eyes behind round gold rimmed spectacles.

After the war he came back to the US and studied law and practised law all his life. He then invested in a TV production venture with a partner that made them a fortune and that company is now called Sesame Street Productions. Have I heard of that before, he asked? It is amazing whom you meet in life, but this last piece of information only transpired in the last half an hour. If I didn’t make the time and the conscious effort to spend time and patiently repeating the answers to his questions I would’ve never learned to know Moriarty, the co-owner of Sesame street productions.

The highlight of this experience for me was this man with a lifetime worth of experience behind him, the knowledge of life and the sharp witty humour, more money than he can handle and trying to see the world before his time is over, but no one to listen to all his ramblings. His second wife, obviously annoyed with his behaviour and repetitive conversations, but very interested in his financial status. I felt cheated, walking away from what I perceived as a fountain of experience and I realised that we are surrounded by people, just like that, every day, but somehow we just don’t bother. We’re like high tech sports cars engaged in a high gear behind a vintage car impatient to overtake charging to reach our next destination and conclude the next important event of the day and no time to slow down and enjoy the beauty of life right in front of our noses. Not only do we lose out on valuable input into our lives, but we rob someone of treasured company.

The captain announce our descent after circling a couple of times until a slot was available for landing on the over congested runway and we fell into another queue to wait for an open slot on a docking bay. Moriarty shook my hand and wishes me well on my onward journey and sends his regards to my family and I promised to educate the world, or at least those I speak to, about who Moriarty is.

Then once docked and on the ground the airline customer service agent came on board and announced that all flights are cancelled and everyone will only be rebooked on Tuesday. The mood on the airplane changed and everyone started departing into a very congested terminal full of chaos and stressed people.

Everywhere I went I landed in long queues and decided that I might make more progress by heading to the Aerlingus desk to find out what the status is on my connections to Ireland. I hopped onto the airport terminal train service and got off at terminal five to find the desk deserted. The listed phone number rang through to a voice message service announcing that the desk will open at 2:30pm the next day or to use the online service. I the headed back to terminal one, fell into the queue at the United airline desks and tried to resolve my bookings. After queuing for what felt like hours I was informed that they cannot change the booking and I had to go to the Aerlingus desk. It was getting late and I made no progress, the snow was piling up and I had to make a plan, so I found myself a corner, set up my laptop, hooked up the power cable to a wall socket and set up my floor office, searched the web, found my travel agent office in the UK, with a 24 hour service and connect via the VoIP service back to my mobile phone and fell into another queue to be helped over the phone. Ten minutes later I was rebooked on the flight out for the next day at 18:00 and now I could start planning for the next 18 hours.

I then found a hotel through the airline booking service, again availing of the great VoIP service to dial back to my mobile phone to improve the voice quality over the over congested airport wireless web service competing with others using the same approach as myself to find a bed for the night. The alternative is a cold hard terminal floor and a laptop bag as a pillow and I’m definitely getting too old for so much adventure on one day. I found a room and then tried to get a taxi and with demand being higher than supply the taxi operators were caching in on the queue that went around the block. I enquired on the fee and opted for a rental car instead and climbed on a Hertz shuttle bus, fell into a slightly shorter queue and rented a car with a GPS device fitted, punched in the hotel address and took on the bad weather on the snow and ice drenched Chicago highways. At this point the snow was pelting down and everyone was slowly crawling down highways at 30mph and snow flying everywhere.

The windscreen wipers was on full blast flicking snow and ice off the front screen and the heaters fans pumping hot air onto the window to stop the ice from sticking to it. I saw several cars ran off the road into ditches filled with snow and tow trucks trying to get them out, big yellow snowploughs with flashing lights, battling to keep the roads cleared.

Strained and exhausted from the long day I arrive at my confirmed hotel to be informed that the place is overbooked and they cannot help me with a bed for the night. The receptionist referred me to another hotel 2 miles down the road and I was met at a reception desk buy a grumpy looking night porter who gave me a room with a king size bed and I fell into my bed at 01:41 and turned and tossed for the next 20 minutes trying to wind down from the events of the day and eventually drifted off to sleep.

I wake up before my alarm goes of that I’ve set for 09:00. I phone John to wish him a happy birthday and apologise for having missed it. He shares his excitement about Mr. Potatohead with interchangeable facial features. I’ve missed another birthday, not a good way to start a year.

Overnight the mechanisms of Chicago kicked in. There is only evidence of snow next to the roads and sidewalks, even the sidewalks are cleared, with mountains of snow next to the roads and the city is buzzing and alive as if nothing has happened. It is truly amazing what one can do when people work together.

I make my way back to O’Hare airport in 20 minutes, return the rental car, and get dropped with the courtesy shuttle bus back to my departure terminal, confirmed my flights with Aerlingus and ready to try again. It’s still snowing, but at least we’re above freezing point today. Snow can be handled, ice seems to be the issue. It’s ten minutes to departure, we’ll have to celebrate Johns birthday for Monday as well. I hope my kids will listen to me when I start repeating my stories.