Put your tips and tricks online - Share your knowledge! Login | Register
 
 
  Search     Advanced search
 

Home | Ask Question | Add tip | My tips | Recent tips & tricks | Suggest a category | FAQ | Forums

h8dk97 : member's tip(s)


   Found 161 tips, Displaying 51 - 60 
 
Sort by 
 
 Insert a string at the start of line in vi
To insert something at the start of line (for all the lines in the file) when editing file (in this particular example the rm command) in vi do the following: :1,%s/^/rm /g
 More...
11/08/06
 
 
Category : Operating Systems > Unix > Editors > vi, view, vedit
 
 
 Disconnect a network drive from command prompt
To disconnect a network drive from a DOS prompt (in this case drive N:) run the following command (This will work on Windows NT and Windows XP, may also work on other windows but I'm not sure): net use N: /delete
     
More...

11/06/06
 
 
Category : Operating Systems > Windows
 
 
 How to disable Google Toolbar autoupdate
If you wish to stick to a particular version of Google Toolbar and do not want your toolbar to be automatically updated you can disable the auto-update by: 1. Blocking it in your firewall 2. Putting this line in your c:\windows\system32\drivers\etc\hosts file : 127.0.0.1 toolbar.google.com
     
More...

11/06/06
 
 
Category : Internet > Search Engines > Google
 
 
 Create standby controlfile
Syntax how to create Oracle control file for a standby database: $ sqlplus SQL*Plus: Release 10.1.0.4.0 - Production on Mon Nov 6 10:16:11 2006 Copyright (c) 1982, 2005, Oracle. All rights reserved. Enter user-name: / as sysdba Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - 64bit Production With the Partitioning and Data Mining options SQL> ...
     
More...

11/06/06
 
 
Category : Databases > Oracle > DR
 
 
 301 redirect from PHP script
If for some reason you cannot do 301 redirect (page moved permanently) from .htaccess you can do it from a PHP script:
 More...
11/05/06
 
 
Category : Programming > PHP > HTTP
 
 
 How to add a user to NIS (YP)
Some people may still be using NIS (Yellow Pages) despite the security issues associated with this service, so here’s how to create a new user on NIS master. 1. Go to the yp source directory. # cd /var/yp/src 2. Make a backup copy of password file, edit the passwd file and add new ...
 More...
11/03/06
 
 
Category : Networking > NIS
 
 
 Backup script for MySQL
#!/bin/bash # # This script will run in a loop for every database on the server and # create a backup file per db. DUMPOPTIONS currently works with MySQL 4.0.24 # change it if you are using a different version # # Customize the variables below to adjust this script for your environment # This should also ...
     
More...

10/28/06
 
 
Category : Databases > MySQL > Backup & Recovery
 
 
 Installing Oracle client 10.1.0.3 on Solaris 10 (x86)
When attempting to run Oracle installer for 10.1.0.3 (not sure about other versions), it fails and a message is returned, something about that it's only certified for Solaris 9 and below. Also, the installation manual only talks about the operating system patches for Solaris9, nothing about 10. What you have ...
 More...
10/27/06
 
 
Category : Databases > Oracle > Installation & Setup
 
 
 Display the HTTP referrer - which URL the user came from
Just a quick syntax reference for getting the HTTP referrer in PHP
 More...
10/27/06
 
 
Category : Programming > PHP > HTTP
 
 
 How to get visitor's IP address
To display the site visitor's IP address in php script do the following:
 More...
10/27/06
 
 
Category : Programming > PHP
 
 


<< 1 | 2 | 3 | 4 | 5 | Page 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 >>

Home |  FAQ |  Terms of Use |  Privacy Policy

© 2005 tiplib.com