Archive for December, 2008

Securing WiFi: Good Article Link

Posted in Uncategorized with tags , , on December 18, 2008 by saffrongeek

Hats of to these guys to present the vast repository of knowledge well indexed and addressed.
I think, It would be really a treat for others to read and know secure our space as recent times, we have news from media reporting how risky elements of society could exploit our ignorance.

Thanks Mahalo


ubuntu: Project Management with planner

Posted in Linux, Technical, Uncategorized with tags , , on December 11, 2008 by saffrongeek

Set up your machine to help you have some nice project management application. Somewhere in Add / Remove I had seen a description of this planner.

Its cool one and serves a lot of tasks in PM domain.

how to set it in your machine : ubuntu

type at command prompt:

sudo apt-get install planner

Wow, now you are done and you could find the planner in Application->Office->Planner

difference between char and varchar data types

Posted in mysql, Technical with tags , , on December 10, 2008 by saffrongeek

The storage size of the char value is equal to the maximum size for this column.the storage size of the varchar value is the actual length of the data entered, not the maximum size for this column.

In short, char is a fixed-length character data type, the varchar is a variable-length character data type.

Ubuntu: handy commands that helps

Posted in Linux, Technical with tags , , , on December 5, 2008 by saffrongeek

sudo wget –output-document=/etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
sudo apt-get install mysql-admin
sudo apt-get install mysql-query-browser

sudo apt-get install kate

sudo apt-get install libdvdcss2

sudo apt-get install w32codecs

sudo apt-get install skype

sudo apt-get install acroread

sudo apt-get install vlc

sudo apt-get install flashplugin-nonfree

sudo apt-get install putty
sudo apt-get install audacious

echo ‘deb intrepid main’ >> /etc/apt/sources.list.d/openoffice.sources.list && sudo apt-get update
wget && chmod +x GoogleEarthLinux.bin && ./GoogleEarthLinux.bin
sudo echo ‘deb stable non-free’ >> /etc/apt/sources.list && sudo apt-get update && sudo apt-get install picasa

sudo apt-get install dctrl-tools

Eclipse: Could not initialize the application’s security component

Posted in Linux, Technical with tags , , on December 3, 2008 by saffrongeek

“Could not initialize the application’s security component. The most likely cause is problems with files in your application’s profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the application and fix the problem. If you continue to use this session, you might see incorrect application behaviour when accessing security features”

—————————– Solution suggested—————————————

#let me check the home variable
harish@harish:~/.mozilla/eclipse$ echo $HOME;

#ok that is cool and right place to go ahead
#mkdir as below
harish@harish:~$ mkdir $HOME/.mozilla/eclipse

#doubting whether my commandline was right
#so let me move to the created folder he he
harish@harish:~$ cd $HOME/.mozilla/eclipse

##so yes indeed it created a directory i planned
harish@harish:~/.mozilla/eclipse$ pwd



API – Part 1

Posted in Linux, Technical with tags , on December 2, 2008 by saffrongeek

When you have scripts to read, write filesystems from or to machine and could go countless, it is always best to manage the directory structure nested and each sub tree go recursively nested to accomadate at that level. The benefit is that it helps in not also specific lookup, but precise write up and added broader search. We appreciate performance boost also by this structure of nested files – directory structure.

$type = type of user identifier
$handle = some seed sort, say

///////////////// handle the logic as below ///////////////////////////
$handle = strtolower($handle);
$hash = 0;
for($i=0; $i < strlen($handle) ; $i++)
$value = substr($handle, $i, 1);
$hash = $hash*23 + ord($value);
$hash %= 8000;
if ($type ==”user”)
$home .=SERVER_PATH.(1+($hash % 8));
$hash >>=3;
$hash %=1000;
if ($type ==”user”)
$home .= “/$hash/$handle”;
$home .= “/$hash/”;
return $home;
}    #    end function.

%d bloggers like this: