| | How to add a column to PostgreSQL table
Below example adds a new column of type varchar and length 10 characters to a PostgreSQL database table:
psql> ALTER TABLE [table_name] ADD COLUMN [column_name] VARCHAR(10);
You can run it from psql, phpPgAdmin or any other admin tool
| | More... 01/19/07 | | | | | | | | |
|
| | Resize or add datafiles using brspace
This is a quick reference for SAP brspace utility.
To add a new file to tablespace (to keep the same size as the previous file and keep the same location) run:
brspace -c force -f tsextend -t [tablespace name]
The file properties such as size, autoextend, filesystem will default to the file that ... | |  More... 01/09/07 | | | | | | | | |
|
|
| | How to clean a dirty keyboard
Have you ever spilled coffee on your keyboard and some of the keys are getting stuck when you press them? Or have you been using it for a while, and a lot of dust and dirt got between the keys? It's very easy to clean your keyboard.
1. Shutdown your computer, ... | | More... 12/21/06 | | | | | | | | |
|
| | Change permissions only for directories
A quck tip on how to change permissions for directories under a directory tree without changing permissions for files.
In this example all sub directories under the current directory will have execute bit set for owner, group and everyone else:
find . -type d -exec chmod a+x {} \;
| |  More... 12/16/06 | | | | | | | | |
|
| | Registering .au (Australian) domain name
These are just some tips (from personal experience) on how to register Australian .com.au domain names.
1. Business name
Having an ABN (Australian Business Number) is sufficient to register .au domain name. The reason why I mention this is because I was under the impression you need to spend $70 (or whatever ... | |  More... 12/01/06 | | | | | | | | |
|
| | How to hide / disable Windows Security Center
Follow these steps to hide / disable Windows XP Security Center:
1. Start -> Settings -> Control Pannel -> Administrative Tools -> Services
2. Locate "Security Center", double click on it and choose "Disabled" in "Startup type" dropdown box
3. Click on "Apply"
That's it, next time you reboot your PC security center will ... | |  More... 11/29/06 | | | | | | | | |
|
| | How to get previous commands at DOS prompt
To enable history (get the old commands, the ones you've typed before in the current session) at the DOS prompt use command doskey, just type it at the prompt:
doskey
After that you will be able to retreive the previous commands with Up and Down keys. | | More... 11/29/06 | | | | | | | | |
|
| | Hide IP addresses in comments using user_level variable
In current version of Wordpress (2.0.5) IP and e-mail address of poster are displayed to other registered users (not only the poster of comment but anybody who's logged in). This customization will hide IP address and email. Edit file wp-admin/edit-comments.php and place this line somewhere at the top, with other ... | |  More... 11/16/06 | | | | | | | | |
|
| | RemoveType in .htaccess
If you have multiple users' pages sitting under one directory you can make it more secure with RemoveType directive, just place .htaccess in the top level directory. For example:
/www is the web server root
/www/users is the directory where user directories are
/www/users/dummy is the directory where user named dummy keeps his/her ... | | More... 11/16/06 | | | | | | | | |
|
<< 1 | 2 | 3 | 4 | Page 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 >> |