Site Sponsors:
Project Csv9000 - A Minimalist CSV Reader / Writer in Java 
There I was working on an export from AboutTime. Because I was using Microsoft Windows on a client-provided laptop, that ever-present copy of (what has become) darth-Excel was also 'empesterd upon it. (How be it that by adding more graphical coolness, that the Microsoft tools are actually becoming far, far less usable?)

While - before it was outsourced - Excel worked as rationally as WYSIWYG has always demanded, like many other formerly-great products "Microsoft" Excel now makes allot of arrogant & ignorant assumptions. -The most annoying of which last week was to assume that the superior, ever sort-able data format of 'YYYY/MM/DD' was not what any user could *possibly* want to preserve. --So Excel automatically detected & changed the date format to 'DD/MM/YYYY' for each and every one of my hundred-plus log / blog entries.

How enlightened ... (Not!)

Oh well, what does not kill us makes us stronger...

After noting yet another case of ESL under-think (we always get what we pay for folks!), I decided to create a new CSV-Parsing Project. --One designed to survive the assumptions of both the hopelessly under-paid, as well as tenured.

Shortly available on Sourceforge, the goal of this project is to remain the most reliable & robust CSV Reader / Writer available ... brought to us in as few lines of code as possible.

[ view entry ] ( 1054 views )   |  permalink  |  related link
Training Videos: Learn Java Today! 
Learning how to speak Java is a lot easier that learning how to speak a foreign language!

Designed for the complete beginner, you will find that our new Introductory & Advanced Java Training Videos are the prefect way to start learning Java.

Both educational offerings are available either in-person as well as on-line for immediate learning.

If you are new to Java then you can learn more about what makes Java the new-programmers language-of-choice here.


By splitting our original "Object Oriented Java Software Development" training into two different classes, both an Introductory and Advanced video training class are now available for immediate career-advancement.


[ view entry ] ( 2253 views )   |  permalink  |  related link
Linux: Quick & Easy Backup 
The default way of backing-up files on Linux has left many a new 'sysadmin needing to restore file dates and times. The problem only becomes worse when several sources are to be backed-up.

Here is a little ditty I use when backing-up multiple directories to POSIX-aware (ctime, mtime, atime) file systems:

#! /bin/bash
mkdir -p "./logs"
#EXAMPLE: How to perform any temp-file cleanup
#find "/d_drive/USR/code/" -type f -name "*.class" -exec rm "{}" ";"
zdate=`date +%j@%H_%M_%S`
echo "$zdate"
date > "./logs/nsync.$zdate"
for arg in "/a_drive" "/b_drive" "/c_drive"
do
cp -r -u -v --preserve $arg "./" >> "./logs/nsync.$zdate"
done
date >> "./logs/nsync.$zdate"

To use the above, simply:

(1) Copy and paste the above script into a file.

(2) Replace the *_drive folders with a full pathing to whatever rooted folders you want to back up.

(3) Place the script-file wherever you want your set of folders copied.

(4) Add the executable bit (chmod +x or otherwise mark the file as executable in Nautilus (etc.)).

(5) Run the results.

Details over what has been backed-up will be placed into the ./logs directory.


Enjoy,

-Rn

Note: If your are using a file system that does *NOT* support /usr/group (POSIX) attributes, then using `tar` as described here can also save the day(s).


Before any backup strategy however, don't forget to watch for, as well as kill those Zombies!

[ view entry ] ( 1060 views )   |  permalink  |  related link

<<First <Back | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | Next> Last>>