Opinions may not reflect my employment or other affiliations

Translate

Showing posts with label Tips. Show all posts
Showing posts with label Tips. Show all posts

Thursday, 30 January 2014

Pop a banner each time Windows Boots

To pop a banner which can contain any message you want to display just before a user is going to log on, go to the key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WinLogon
Now create a new string Value in the right pane named LegalNoticeCaption and enter the value that you want to see in the Menu Bar. Now create yet another new string value and name it: LegalNoticeText. Modify it and insert the message you want to display each time Windows boots. This can be effectively used to display the company's private policy each time the user logs on to his NT box. It's .reg file would be:

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Winlogon]

"LegalNoticeCaption"="Caption here."

Disabling Display of Drives in My Computer

This is yet another trick you can play on your geek friend. To disable the display of local or networked drives when you click My Computer go to :

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Now in the right pane create a new DWORD item and name it NoDrives. Now modify it's value and set it to 3FFFFFF (Hexadecimal) Now press F5 to refresh. When you click on My Computer, no drives will be shown. To enable display of drives in My Computer, simply delete this DWORD item. It's .reg file is as follows:

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

"NoDrives"=dword:03ffffff

Wednesday, 22 January 2014

14 Tips & Tricks To Get More Out Of Google Drive

There are many cloud storage services out there, one of which is Google Drive. We’ve pitted it against Dropbox and SkyDrive, another two crowd favorites and each cloud storage service have their strengths and limitations that would cater to a wide range of customer needs. But if you have decided on Google Drive, here are some handy tips to help you work better with them.
                                          The good thing about Google Drive is that it’s linked to your Gmail account and of course, the 5 GB free storage space. It also supports basic document editing through web browsers. But we have found 15 more tips and tricks that to get more out of Google Drive.
    
Google Drive Gmail
Attach files directly to your mail.

1. Attach Google Drive Files On Gmail

Because Google Drive is linked to your Google account, you can attach files stored in Google Drive directly to your Gmail.
Unlike traditional attachments where you first have to upload an attachment, attaching a file through Google Drive does not require you to re-upload the file. The filesize limit does not apply since a link is given for the email receiver to download.


Saturday, 18 January 2014

9 Ways To Sort Files In Linux Environment



Sorting files is important for meaningful output and is useful while dealing with DB files, CSV, xls, log files and text files. By default, the sort command will sort according to alpha-bates, sorting according to single character vertically. If it finds the same character in two lines, then it will move on to sort the second character.

There are 9 ways to do that according to www.linuxnix.com. You can mix and match them as per your requirement.

• 1:To sorting file names according to alpha-bates: sort filename.txt.

• 2: If you have a file with host names in the third column, to sort it according to the column, use K for sorting that. Like, sort k3 filename.txt.

• 3: To sort/ etc/password file according to home directories, sort will by default take space/tabs as field separators. In etc/passwd file, the field separator is : and this can be done with t option. sort -t: -k6 /etc/passwd 

• 4: To sort according to number, etc/passwd file according to UID, use -n option to do that. Sort will not understand numbers by default, so, use -n to make sure sort command understands it.sort -n -t: -k3 /etc/passwd. Without -n option sort will by default sort only first numerical char.