UPDATE: following whatever is typed below the horizontal line will convert your entire file into uppercase. The better way for just a word is to use
gUw
Yep - no funny colons or commands - just get your cursor under the word and type gUw.
If you are a vim user and want to change some whole config to lower case, here is the quick shortcut:
:%s/[A-Z]/\l\0/g
That's a backslash-el, backslash-zero, by the way.
Tuesday, April 28, 2009
Thursday, April 23, 2009
Annoying right clicks on the google talk icon in your taskbar
It can be annoying when you want to right click and exit or sign out of google talk and you right click on the icon on the taskbar. Not always, but sometimes it shows this menu instead of the one you want:
So the way out is to just left-click somewhere empty on the bottom taskbar. This will hide the menu above. Then you right-click on the google talk icon again...
and voila - you can exit!! :)
So the way out is to just left-click somewhere empty on the bottom taskbar. This will hide the menu above. Then you right-click on the google talk icon again...
and voila - you can exit!! :)
Thursday, April 9, 2009
Cygwin ls command not found
If you are a linux enthusiast and really miss those greps and sed/awks on the windows box, you've probably installed cygwin. You tried running it either by double-clicking the cygwin icon on your desktop or the cygwin.bat file in your "C:\cygwin" directory and got the bash-3.X$ prompt. However, although the pwd or cd commands work, if you try ls, it says:"ls: command not found".
Here is what you need to do to fix it:
Here is what you need to do to fix it:
- Right click on "My Computer" -> Properties -> Advanced -> Environment Variables
- Add a new environment variable, called CYGWIN_HOME and set its value to C:\cygwin
- Edit the PATH environment variable and add C:\cygwin\bin to it (usually separated by a ';').
- Just click okay, exit any command prompts or bash shells (over cygwin) you may have open, and open it again - it'll work!
Subscribe to:
Posts (Atom)