I've been looking for some simple solution to sync Google Contacts & Calendar with my iPhone on the air (without syncing with my notebook). Finally I found a solution that seems to be working like a charm.
Wednesday, December 3, 2008
How to sync Google Contacts and Calendar with iPhone
Posted by Unknown at 2:33 PM 0 comments
Labels: iPhone
Friday, August 22, 2008
cfmenu and cfgrid overlap
If you are using <cfmenu> and <cfgrid> and you have an overlapping of the menu items by cfgrid header (a part of menu is hidden behind cfgrid header) you must add to your CSS a following style:
Posted by Unknown at 5:47 PM 2 comments
Labels: ColdFusion
Friday, July 25, 2008
ESX host not connecting to Virtual Center
We got following problem some days ago:
- Restart management service on ESX host
- Restart Virtual Center service on Virtual Center server (stop/start on service VMware Virtual Center in Services)
Posted by Unknown at 12:31 PM 0 comments
Labels: VMware
Wednesday, June 25, 2008
Creating a copy of the disk (vmdk) in VMware
When you need to have the a copy of the disk from one VM on the other:
- Power off source VM, copy your .vmdk files to destination VM (probably you would like to change disk name and flat name - just rename your files and edit smaller .vmdk file to set correct name for flat file).
- Set new UUID for your copy of your original .vmdk file
- Add new disk to your destination VM (using "Use an existing virtual disk" option)
- Start your VMs (source and destination)
- Mount new drive on your destination machine
Posted by Unknown at 4:19 PM 0 comments
Monday, June 16, 2008
Oracle analog of MySQL GROUP_CONCAT function
I was looking for Oracle analog of MySQL GROUP_CONCAT function. There is a solution on Ask Tom site. So here it is:
Posted by Unknown at 4:07 PM 0 comments
Tuesday, May 13, 2008
List number of file handles (open files) for each process
Here is a simple script that will show you a number of file handles (open files) used by each process on your Linux system:
Posted by Unknown at 10:40 AM 2 comments
Labels: Linux
Monday, April 28, 2008
& in Oracle insert or update statements
If you have & or % in your Oracle insert or update statements - you probably would like to do the following:
Posted by Unknown at 11:02 AM 0 comments
Labels: Oracle
Wednesday, April 23, 2008
Export from Oracle table to CSV file
Sometimes you need to export result of the query to CSV file. Here is a nice example of how to do this kind of operations.
Posted by Unknown at 7:27 PM 2 comments
Labels: Oracle
Tuesday, April 8, 2008
Cent OS 5.1 + Oracle 10g
Apart of modifying /etc/redhat-release to "redhat-4", there are a couple of packages that you will need to install in order to make Oracle 10g work with Cent OS 5.1:
Posted by Unknown at 10:12 AM 1 comments
Wednesday, February 20, 2008
Mac OS & Database development
Since switching to Mac I was looking for good DB modeling/editing tool that will support Oracle and MySQL databases. Finally I got one...
Posted by Unknown at 6:51 PM 0 comments
Wednesday, February 13, 2008
Leopard terminal and Midnight Commander
If you use mc while connected to some linux server and you need to select some files - use Ctrl+T
Posted by Unknown at 7:03 PM 0 comments
Thursday, January 31, 2008
Perl: CPAN or RPM packages?
Posted by Unknown at 1:20 AM 0 comments
Labels: Linux
Tuesday, January 22, 2008
Manually configure Enterprise Manager Console
Run emca -config dbcontrol db and follow the instructions.
Posted by Unknown at 1:26 PM 0 comments
Labels: Oracle
Monday, January 21, 2008
Redo log size & performance
We got a performance issue with our Oracle 10g. Suddenly the performance was going down and we was getting a significant increase on wait times. After sniffing around and asking a friend we found that:
- All our performance pick were related with time when our Oracle was writing the archive log.
- There is a direct relationship between log_buffer, redo log file size and performance.
Posted by Unknown at 9:07 AM 0 comments
Labels: Oracle
Wednesday, January 16, 2008
Ctrl+click with two fingers
Enable Ctrl+click with two fingers click in System Preferences -> Keyboard & Mouse -> Trackpad -> Tap trackpad using two fingers for secondary click. Believe me, it's quite comfortable.
Posted by Unknown at 10:51 PM 0 comments
Labels: Mac
List of all Max OS X keyboard shortcuts
Will be useful for all Mac users. A kind of 'print-it-and-put-in-front-of-you-until-you-remember'.
Posted by Unknown at 9:15 PM 0 comments
Labels: Mac
Taking screenshots in Leopard
To take a screenshot in Leopard just press Cmd + Shif + 3 if you want to take a full screen or Cmd + Shift + 4 if you want to take a screenshot of some region.
- Spacebar - to take a screenshot of window (active or background)
- Shift - to lock your region horizontally or vertically
- Option - to resize your region proportionally
Posted by Unknown at 8:38 PM 0 comments
Labels: Mac
Reverse tunnel with SSH
When you need to create a reverse tunnel with SSH, just use the following:
Posted by Unknown at 8:33 PM 0 comments
Labels: Linux
Sun to acquire MySQL
There is a bunch of people who thinks that MySQL is a kind of database that is being used just for small projects. For those of you - take a look here. 1 billion USD for a small projects database solution? And if you still don't consider MySQL as possible database solution for your "serious" project - take a look here and here.
Posted by Unknown at 7:59 PM 0 comments
Labels: News
More comfortable environment
After installing new Linux or Unix system I like to edit /etc/profile or $HOME/.bash_profile and add following lines:
Posted by Unknown at 3:55 PM 0 comments
Labels: Linux
Show archive logfiles sequence
Posted by Unknown at 2:04 PM 0 comments
Labels: Oracle
Manually register new archive log
If you need to register archive log in Oracle by hand:
Posted by Unknown at 2:02 PM 1 comments
Labels: Oracle
Rebooting linux without reboot command
Just a sample of how you can reboot or shutdown linux without issuing reboot command, so called hard reboot. That means that system will just make a reset as if you pressed a reset button, without running any shutdown scripts, etc. A kind of dangerous staff, but can be helpful in some occasions.
Posted by Unknown at 1:52 PM 3 comments
Labels: Linux
Perl inline replacement
Sometimes you need to replace something in a bunch of files. And this something is quite complex, so you can describe it only with regular expressions, or, by some other reason you need to use perl in your replacement string. Here is a small sample I'm using:
Posted by Unknown at 11:39 AM 1 comments
Labels: Perl