How to move the Relay role to another node in a Composite Tungsten Cluster
How to move the Relay role to another node in a Composite Tungsten Cluster
How to move the Relay role to another node in a Composite Tungsten Cluster
h Shows you a screenful of message headers (a “header” being the number, sender, date, size and subject). h with no message number shows the current screenful of messages (the number that make up a screenful is set with the screen variable, described below). h$ shows you the last screenful of messages — which is […]
h move one character left j move one row down k move one row up l move one character right w move to beginning of next word b move to previous beginning of word e move to end of word W move to beginning of next word after a whitespace B move to beginning of […]
Press Option+Space and the cursor will change to the grab hand move tool. Roll your mouse wheel for vertical scrolling, hold down shift to switch to horizontal scroll mode.
As per MS Support page: “My arrow keys don’t move from cell to cell” Press SHIFT+F14 to toggle the Scroll Lock to the off position. Applies To: Excel for Mac 2011 Cause: Scroll Lock is turned on and causing the arrow keys to scroll the workbook area. Solution: Turn off Scroll Lock. Typically, when a […]
Safely move a file in PHP:
1 2 3 |
if (copy("/your/source/file","/your/destination/newfile")) { unlink("/your/source/file"); } |
Stop MySQL and move the existing database files to the EBS volume.
1 2 3 |
service mysqld stop mkdir /data/mysql mv /var/lib/mysql/ /data/mysql/lib/ |
Use the bind option to the mount command in the /etc/fstab file to direct MySQL to the correct files, then restart:
1 2 3 4 |
mkdir /var/lib/mysql echo "/data/mysql/lib /var/lib/mysql none bind" | tee -a /etc/fstab mount /var/lib/mysql service mysqld start |