Create your own cross-platform backup server

14 02 2008

Here’s an interesting read and how-to on LifeHacker.com showing you how to build a backup server that supports multiple OSes using Restore, which is open source and one that features a web admin-like page for backup management.

image



Learning Python, Linux, Java, Ruby and more with Tutorial Videos

29 08 2007

I’m kicking off my Python journey once more, hopefully, now with depth.  And came across this website - thanks to Anton Sipos - called ShowMeDo, that I believe can enhance your learning through videos.

Take it easy.



Read a file with bash

16 08 2007

I had to test our download servers at work right away, i.e., HTTP vs HTTPS, which required downloading a large number of files.  A file list was given to me to work with, like so:

/download/integrations/file1.exe
/download/us/update/patch/file1.exe
/download/us/cab/file1.exe

So I decided to use the bash shell to read each line and run wget quick and dirty.  Here’s the script:

cat c:\\test.txt | while read line; do wget “URL/${line}”; done

While running it I just used the Windows clock to get an approximate time difference.

That’s it!  Hope this helps. 



Run Linux apps on Windows or OS X with Lina

7 07 2007

This month a California-based startup plans to release an application that will allow Windows, Mac, and Linux users to run Linux binaries without any modifications.  Lina is a Linux virtual machine that allows users to run applications with the native look of their host operating system.  It also lets you install applications with a mouse-click, no need to compile software from source code.

The idea is that developers will be able to create programs for one platform, and they’ll be able to run on three different operating systems.  This could both expand the market for open source Linux applications, and cut down work for developers.  Lina will be free for open source developers, while a licensing fee will apply to commercial developers.

Lina is still a work in progress, with no support for GTK+ or USB peripherals yet.  The virtual machine takes up less than 40MB when installed.

Cool!



VI global search and replace

29 06 2007

In case you need to search and replace text globally within vi, here’s the command to do so:

:1,$s/old/new

vi is a free software screen-oriented text editor computer program written by Bill Joy in 1976 for an early BSD release.

Peace!  \m/