| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Dec | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
- ESX Server (1)
- Installation (1)
- Linux (3)
- Mac World (5)
- MythTV (1)
- Oracle (1)
- PHP (1)
- Tools (1)
- 8. December 2009: How to Change Screenshot Format in Mac OS X
- 2. September 2009: Replace A String In The File Using Perl
- 31. August 2009: TNS-03505: Failed to resolve name
- 4. August 2009: How to login to VMware ESX Server 3i with SSH?
- 31. July 2009: My unqualified host name - Sendmail is slow
- 29. July 2009: How to install linux-header in Ubuntu
- 24. June 2009: Watch TV does not work - ERROR when trying to delete file
- 7. June 2009: How to enable error reporting in PHP?
- 7. January 2009: How to Flush DNS Cache in Mac OSX 10.5 Leopard?
- 8. October 2008: Software to Burn CD/DVD for Mac
How to Change Screenshot Format in Mac OS X
8. December 2009 by VK.
Run the following command from the terminal.# defaults write com.apple.screencapture type image_formate.g. for JPG, use the following.# defaults write com.apple.screencapture type jpg# killall SystemUIServerThis is it..-Vigyan
Posted in Mac World | No Comments »
Replace A String In The File Using Perl
2. September 2009 by VK.
It is easier to use perl than sed to replace a string using perl.Try this.perl -pi -e ’s/existing_string/new_string/g’ file_name-Vigyan
Posted in Linux | No Comments »
TNS-03505: Failed to resolve name
31. August 2009 by VK.
If you are getting this error “TNS-03505: Failed to resolve name” in the Windows environment and you have checked sqlnet.ora and tnsnames.ora files then most likely it is becuase of the wrong environment variable settings.The best way to find which tnsping.exe you are running is “where” command.c:> where tnspingIt will show you if you are using a wrong tnsping.-Vigyan
Posted in Oracle | No Comments »
How to login to VMware ESX Server 3i with SSH?
4. August 2009 by VK.
Below are the steps, in order to login to VMware ESX Server as root from remote network.
Below are the steps, in order to login to VMware ESX Server as root from remote network.
1. Open the service control and type “unsupported”.
2. Login as root password.
3. Edit the file /etc/inetd.conf and uncomment like which start with SSH in standard service section.
4. Restart the service SSH using “service sshd restart”.
Posted in ESX Server | No Comments »
My unqualified host name - Sendmail is slow
31. July 2009 by VK.
If you are getting this error, most likely it is due to your /etc/hosts entry.
Make sure you have:
127.0.0.1 localhost.localdomain localhost
127.0.1.1 TESTSRV01.localdomain TESTSRV01
The TESTSRV01 is my test machine name.
Posted in Linux | No Comments »
How to install linux-header in Ubuntu
29. July 2009 by VK.
Use:
$ sudo apt-get install linux-headers-$(uname -r)
Posted in Linux | No Comments »
Watch TV does not work - ERROR when trying to delete file
24. June 2009 by VK.
Just want to share..I noticed in one of my Mythtv box, I can not watch TV and mythtvbackend log shows following error.
ERROR when trying to delete file: myth://127.0.0.1:6543/1031_20090308215852.mpg
This error indicates that the metadata in the database exists for a non-existing recording. Well, the solution is to remove the data. There is a cool perl script myth.find_orphans.pl that can fix this problem for you. I use MythDora so for me, this file is /usr/share/doc/mythtv-docs-0.21/contrib/ location.
Try it if have similar issue.
-Vigyan
Posted in MythTV | No Comments »
How to enable error reporting in PHP?
7. June 2009 by VK.
You can turn it on in the by including following in the file.
error_reporting(E_ALL);
Vigyan
Posted in PHP | No Comments »
How to Flush DNS Cache in Mac OSX 10.5 Leopard?
7. January 2009 by VK.
It is easy. Just type following command from your terminal.
dscacheutil -flushcache
-Vigyan
Posted in Mac World | 1 Comment »
Software to Burn CD/DVD for Mac
8. October 2008 by VK.
I miss my favorite software Nero to burn CD/DVD but no worries, I found another cool software that works pretty well.
Here is what I found.
http://burn-osx.sourceforge.net/
It is very easy.
-VK
Posted in Mac World | No Comments »