Thursday, December 9, 2010

Chrome OS Cr-48 Caps Lock Key Not Missing After All

When the news broke that Google would be replacing the Caps Lock key for its new Chrome OS-based Cr-48 notebook with a Search function, many folks, including us here, were left scratching our heads at the move. Sure, it changed the seldom used (unless you were an internet troll) key to something that's used more often, but there may be occasions (admittedly few) that would require the use of the key. Thankfully it seems like the option is there to switch it back from being the Search key. We do wonder however, if getting used to a Search key may be a better idea in the long run after all.

pcmag.com - But wait, the ability to type in "ALL CAPS" is not entirely missing from the Cr-48 or Google Chrome OS. We found it during the laptops' built in tutorial. Here's how Google snarkily explains it: 

If you really need Caps Locks so you can post an INSIGHTFUL COMMENT ON YOUTUBE, click the wrench, click Settings, and then go to the System section for change the Modifier Key from a Search key to a Caps Lock key."

Full article here.


Regards,
darshana

Every Action has a Reaction !

Thursday, November 18, 2010

Foreign Key:

A foreign key is a field (or fields) that points to the primary key of another table. The purpose of the foreign key is to ensure referential integrity of the data. In other words, only values that are supposed to appear in the database are permitted.

Below are some examples of how to specify the foreign key when creating the ORDERS table:

MySQL:

CREATE TABLE ORDERS
(Order_ID integer,
Order_Date date,
Customer_SID integer,
Amount double,
Primary Key (Order_ID),
Foreign Key (Customer_SID) references CUSTOMER(SID));

Oracle:

CREATE TABLE ORDERS
(Order_ID integer primary key,
Order_Date date,
Customer_SID integer references CUSTOMER(SID),
Amount double);

SQL Server:

CREATE TABLE ORDERS
(Order_ID integer primary key,
Order_Date datetime,
Customer_SID integer references CUSTOMER(SID),
Amount double);

Monday, September 27, 2010

Find Linux installed date...

rpm -qi basesystem

Name        : basesystem                   Relocations: (not relocatable)
Version     : 8.0                               Vendor: Red Hat, Inc.
Release     : 5.1.1                         Build Date: Wed 12 Jul 2006 12:38:04 PM IST
Install Date: Mon 03 May 2010 03:05:35 PM IST      Build Host: ls20-bc2-14.build.redhat.com
Group       : System Environment/Base       Source RPM: basesystem-8.0-5.1.1.src.rpm
Size        : 0                                License: public domain
Signature   : DSA/SHA1, Thu 18 Jan 2007 09:03:57 PM IST, Key ID 5326810137017186
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary     : The skeleton package which defines a simple Red Hat Linux system.
Description :
Basesystem defines the components of a basic Red Hat Linux system (for
example, the package installation order to use during bootstrapping).
Basesystem should be the first package installed on a system, and it
should never be removed.

Sunday, September 26, 2010

HAPPY BIRTHDAY GOOGLE

Wish you Happy Birth Day GOOGLE. My total IT career dependent with you. :D

 

THERE IS NO ME WITHOUT YOU!

 

Thanks

 

Wednesday, September 22, 2010

Active RSS feeds in MS outlook to read posts in mislanka blog

01.   Got o RSS feeds in Microsoft Outlook

02.   Right click and select “Add a New RSS feed”
03.    

04.   Type http://mislanka.blogspot.com/feeds/posts/default and press Add button.
05.   If you use proxy to browse internet please set proxy settings in Internet Explorer.
06.   Then it will download new post when we update the blog.



Tuesday, September 14, 2010

Disk space not updating in linux df -h after deleted files

If the partition used space increase in to 100%, we had to delete unnecessary file to have more space.

But after deleting the files df –h command not updating the actual space details and we are unable to create any file.

So solve this issue we need to follow following trick.

 

ls -ld /proc/*/fd/* 2>&1 | fgrep '(deleted)'

 

It shows the files that are deleted but  still in use by a running process.
 
lrwx------ 1 root root 64 Sep 15 10:45 /proc/2958/fd/12 -> /tmp/ibSAlc0V (deleted)
lrwx------ 1 root root 64 Sep 15 10:45 /proc/2958/fd/5 -> /tmp/ibUpZrp7 (deleted)
lrwx------ 1 root root 64 Sep 15 10:45 /proc/2958/fd/6 -> /tmp/ibUmDSgz (deleted)
lrwx------ 1 root root 64 Sep 15 10:45 /proc/2958/fd/7 -> /tmp/ibcLKj80 (deleted)
lrwx------ 1 root root 64 Sep 15 10:45 /proc/2958/fd/8 -> /tmp/ibubhw0s (deleted)
lrwx------ 1 root root 64 Sep 15 10:45 /proc/32645/fd/0 -> /dev/pts/1 (deleted)
lrwx------ 1 root root 64 Sep 15 10:45 /proc/32645/fd/1 -> /dev/pts/1 (deleted)
lrwx------ 1 root root 64 Sep 15 10:45 /proc/32645/fd/2 -> /dev/pts/1 (deleted)
lrwx------ 1 root root 64 Sep 15 10:45 /proc/32645/fd/255 -> /dev/pts/1 (deleted)
lrwx------ 1 root root 64 Sep 15 10:44 /proc/6788/fd/0 -> /dev/pts/38 (deleted)
lrwx------ 1 root root 64 Sep 15 10:44 /proc/6788/fd/1 -> /dev/pts/38 (deleted)
lrwx------ 1 root root 64 Sep 15 10:44 /proc/6788/fd/2 -> /dev/pts/38 (deleted)
 
so we need to stop or restart that process to update the disk space.
 
 

ps ax | grep 2958

 

kill -9 2958

 

 

Sunday, September 5, 2010

Add date and time to Linux command history ..

Add following line to /etc/bashrc

01.     Vim /etc/bashrc

02. export HISTTIMEFORMAT="%h/%d - %H:%M:%S "

03. save and quit

04. logout and login

05. history

  995  Sep/06 - 10:46:24 w

  996  Sep/06 - 10:46:24 w

  997  Sep/06 - 10:46:24 top -c

  998  Sep/06 - 10:46:30 date

  999  Sep/06 - 10:46:34 history