Thursday, April 26, 2007
Wednesday, April 25, 2007
Here are the steps:
Right click on the icon in the upper left of the title bar
and select properties Under Options, select 'QuickEdit Mode',
hit ok Select 'Modify shortcut that started this window'
Tuesday, April 24, 2007
Here is how you select an element without a specific attribute:
B[@C=''] selects B that has no C attribute or has attributePlease refer to here.
with empty value.
B[not(@C)] seelcts b that don't have a C attribute
B[not(@*)] selects B that have no attribute.
Tuesday, April 17, 2007
Wednesday, April 11, 2007
Replace with regex group:
Vi simple tutorial
You have [admin, admin1, user3], and you would like to change it to ['admin','admin1','user3']; here your are:%s\(\w\+\)/'\1'/gc
Monday, April 09, 2007
- System.out.println("Dealer Caterpillar ciężkiego używanego wyposażenia i używanych części"); when you run it, the special character corrupted.
- After you safe the java file, restart the Intellij, the special character corrupted.
Thursday, April 05, 2007
You can reload a file using a different encoding if vim wasn't able to detect the correct encoding:
Choose a font type like Courier New.
You can achieve both of these by adding the following lines in your gvim startup configuration file .vimrc:
How to comment multiple lines in vim?
Place cursor at the beginning of the first line you want to change.Now all lines selected should show the inserted text.
Move the cursor down to the last line you want to change.
Press I (The capital letter after H and before J)
Type in the text you wish to insert
Want to insert new line in file?
try \r, like:
Tuesday, April 03, 2007
To prevent Windows XP from treating compressed Zip files as a folder, go to "Start > Run" and type the following:
regsvr32 /u zipfldr
If you wish to restore native Zip support in Windows, just go back to "Start > Run" and type the following:
Project Structure->Modules->XXXEJB module->Ejb Module Settings
check whether your EJB module deployment descriptor setting exists or not, if not, then Add it.
Monday, April 02, 2007
I found that the Web Developer extension of FireFox is perfect for this task, you can create/overwrite the cookie as you want:
Just go directly to Cookie->Add Cookie