Saturday, May 29, 2010

Mysql - Changing password

mysql> use mysql;
mysql> update user set password=PASSWORD("NEWPASSWORD") where User='vivek';
mysql> flush privileges;
mysql> quit

Friday, May 14, 2010

Flex Builder - Deleting a single line

Ctrl-D

Wednesday, May 12, 2010

IntelliJ Idea For Flex - Class Outline

Ctrl-F12

IntelliJ Idea For Flex - Some cool features


1. Column Mode:  For copying and pasting vertical blocks of text

2. Ctrl-W : Successively selecting increasing portions of text.

3. Ctrl-Shift-Enter : Complete statement

4. Ctrl-/ Or Ctrl-Shift-/ For commenting/uncommenting selected text ( In Flex Builder, it's Ctrl-shift-c)

5. Go back to where I came from/ Go Forward : Ctrl-Alt-Right/Left Arrow (In Flex Builder It's Alt-Left/Right)

6. Finding subclasses of a class - Select class name and Ctrl-Alt-B




Others :
1. Highlight method exit points (Ctrl-Shift-F7)

IntelliJ Idea Ctrl Alt Left/Right working improperly

On my Windows XP, pressing Ctrl-Alt-Left/Right flipped the monitor's
current state. And this key combination conflicted with IntelliJ Idea's
shortcuts for navigating back/forward, here is a solution :

Source


The issue is caused because Intel(R) Extreme Graphics default installation.
To resolve it navigate to Control Panel and pres on  Intel(R) icon

image

Navigate to Hot Keys tab and remove the check from the box labeled Enable Hot Keys.

When set to enable the CTRL+ALT+Arrow function will flip your monitor

Moving to IntelliJ Idea from Flex Builder 3

Flex Builder to IntelliJ Idea (Old keyboard shortcut to new one)

Go to Symbol :  Ctrl-O  -> Ctrl-Alt-Shift-N
Go to Class:  Ctrl-Shift-R -> Ctrl-N

Moving to IntelliJ Idea from Flex Builder 3


Of late I have been trying to familiarize myself with IntelliJ Idea
as an alternative Flex IDE. I have heard a lot of good things
about it, that's why.

Just wanted to memorize few of the keyboard shortcuts,
which I often use in Flex Builder, while debugging.

Flex Builder
  • Step Into : F5
  • Step Over : F6
  • Resume till Next Break Point : F8
So, these commands are associated with an increasing numeric,
except that after F6, there is a jump, to F8.

IntelliJ Idea
  • Step Into : F7
  • Step Over : F8
  • Resume till Next Break Point : F9
So, in Idea, they are in strictly increasing order, and start with F7.

Tuesday, May 11, 2010

Deleting old workspaces in flex builder

Note for future reference: To clean up your Workspace list in Flex Builder, edit org.eclipse.ui.ide.prefs and remove the old workspaces.

You can find this in Documents/Flex Builder 3/configuration/.settings (Mac) or My Documents\Flex Builder 3\configuration\.settings (Windows)

source.

Blog Archive