Wednesday, December 31, 2008
Installing software using yum
Synergy on fedora
/usr/bin/killall synergyc sleep 1 /usr/bin/synergyc ip_of_my_server
/usr/bin/killall synergyc sleep 1/usr/bin/killall synergyc sleep 1 /usr/bin/synergyc ip_of_my_server
Tuesday, December 30, 2008
Linux network connection not found
Monday, December 22, 2008
Sigiriya trip
Wednesday, December 17, 2008
Load an environment variable to build file
Monday, December 8, 2008
Refresh my knowledge
One of my school friends came to my home and asks me to teach him basic sql and Java SWT application programming. I had done them in the university but I have lost my memory since I haven't been involved on those areas for sometime. Some of the areas included, connecting the database through the java program, granting database permissions, using suitable database driver classes, applying SWT layouts, add look and feels, etc.
Finally, I refreshed my knowledge and my friend was happy as he learnt the basics. This tutorial helped me lot in teaching him the above stuff,
Thursday, December 4, 2008
Useful Linux commands
When I was installing Oracle 11g database I found some useful Linux commands. I here summarized what I learnt there. For further details refer to Oracle 11g database Linux installation guide.
To determine physical RAM size
grep MemTotal /proc/meminfo
To get the system architecture
grep "model name" /proc/cpuinfo
To determine the size of the configured swap space
grep SwapTotal /proc/meminfo
To get available ram and swap space
free
Determine the distribution and version
cat /proc/version
To find the kernel version
uname -r
du -h
To determine required packages are installed
rpm -q package_name
To find free disk space of the system
df -k
If it need to extend the search to a directory
df -k /path_to_folder_name
Tuesday, October 28, 2008
change tomcat port integrated in eclipse
Sunday, October 26, 2008
Oracle impdp/ expdp
ORA-39070: Unable to open the log file.
ORA-39087: directory name exp_dir is invalid
create directory exp_dir as 'D:directory';
Tuesday, September 23, 2008
cron jobs in linux
Tuesday, June 3, 2008
Laptop
Now I can work in any place, in thunderings, in power cuts.
Friday, May 30, 2008
First Class!!!
By the time, I learn how to restore a database using a dump file. Here is the command for Oracle,
imp username/password file="filepath"
And I learn how to create public and private key pair in a Unix machine. It is very easy, here is the command,
ssh-keygen -t dsa
Tuesday, April 22, 2008
Application accepted!!!!!
Monday, March 31, 2008
Google Summer Of Code
I learned lot of open source products and developing organizations with in this period. It is interesting to chat in IRC channels. Since there are many skilled developers(Mentors) answer our questions I learned lot of things.
I specifically experience how to emphasis a person that his belief is wrong, in a cool manner. It would be nice to do the developments, I need to be selected!!!!
Thursday, January 17, 2008
Interesting week
I add lot of things to my life during this week. University was started after three weeks break due to a students fight. After the vacation we were given a assignment on various topics regarding this incident. So we had to write a report and present it in front of the staff. We had to complete a survey and figure out the reasons for this fight and how the background sets for this violence.
As from the survey summered most of the student thought all most all should be responsible for this situation. As I think if a person did some violation he should be punished. But if the people understand their weaknesses and apologies for the mistakes, they should give some chance.
For an example prisoners are used in social works. If a person kill another and goes to the prison, there is some chance that he will kill another guy even when engaged in these social works. But most of the time they learn and tend to be a good person. If he is keep aside thinking of this risk there is high probability to become a worse person.
As human we do mistake most of the time accidentally, but there should be a guidance to people who learn from the mistakes.