Tag Info

Hot answers tagged


By default, if you are using the C# default profile, you can delete a line using Ctrl + Shift + L. You can customize this using Tools->Customize. Select "Keyboard". Look for the command Edit.LineDelete to assign it to whichever keyboard shortcut you like.


To reverse all the lines in a file, :g/^/m0 For an explanation see :help 12.4 which also shows how to reverse just a range of lines.


If you load a GIF image, you likely have a paletted image. Make sure to change it to RGB first with: Image → Mode → RGB. Changing colors (including resize operations) won't work very well with palettes because Gimp limits its selection of colors to the colors defined in the palette. I suggest rotating Hue in Colors → Hue-Saturation. Given an initial image ...


Use 3Y to yank 3 lines into the default register; "i3Y for yanking into register i. Also, my favorite way is not to count the lines I want to yank, but to select them in visual mode via V and moving commands, and then hit y to yank it or "_y to yank into a register. Also, I have just tried selecting multiple lines in Visual Line mode and yanking into ...


If you are using GIMP 2.8.2, you can simple use Colors -> Map -> Color Exchange. Source: How can I swap colors with GIMP?


Select the desired lines, hit !, and in the resulting prompt pipe the lines through tac a la :'<,'>!tac. See man tac for more details.


Go to View -> Word Wrap. Make sure that is checked.


You're looking for menu Colors, and especially the function Colorize.


Since you did not specify the OS: 'Paint.NET' (for Windows)


You should use the fill-paragraph command, normally bound to meta-q. (You can use ESC q if your keyboard doesn't have a meta key.) Paragraph filling only makes sense in free text modes or within comments in programming language modes. Programming language modes are usually setup around the TAB key to properly indent lines; line breaks are inserted ...


This issue was discussed and answered on Microsoft Office for Developers Forums on April 14, 2011. Question posted by Vershner: I originally posted this in the IT Professionals forum but they told me to post it here because the issue was by design. When I click undo in the quick access toolbar it undoes the last action in Excel, not the ...


The way 'around' it is to open multiple copies of Excel, one per worksheet. This is really annoying, but there is no other way. I have special shortcuts for my main spreadsheets, just to open them explicitly. To do this: Make a NEW shortcut - right-click on your desktop, New, Short cut. Browse to the excel program ( "C:\Program Files (x86)\Microsoft ...


On Mac OS X, tac does not exist, but you can use tail -r to the same effect: :%!tail -r This also works nicely for visual mode: :'<,'>!tail -r Excerpt from tail(1)'s manpage: The -r option causes the input to be displayed in reverse order, by line. Additionally, this option changes the meaning of the -b, -c and -n options. When the -r ...


One way is to use string-rectangle (C-x r t). Mark the block, then call string-rectangle and give ## as a string to insert.


For something small that can open, resize and save both IrfanView (windows) and xnView (cross platform) work well and if I remember rightly both have a batch processing mode which can resize and apply filters to the output images. Both viewers are quite compact, light on resources (by todays rather hungry and bloated standards) and have directory thumbnail ...


Try Paint.net http://www.getpaint.net/ Gimp http://www.gimp.org/ Picasa http://picasa.google.com/


You can do something like echo -ne \\xFF | dd conv=notrunc bs=1 count=1 of=YOURFILE, replacing FF with your hex value. Try it first though :)


This info might help, not sure what your skill set is or what roadblocks you may run into trying to edit the file. Source The user-specific dictionaries for a language, which hold the content for the Added, Excluded, and AutoCorrect word lists, are located under %AppData%\Microsoft\Spelling\. The filenames are default.dic (Added), default.exc (Excluded) ...


See the free Fix File Encoding extension : The free Fix File Encoding extension prevents Visual Studio 2012/2010 from adding BOM to UTF-8 files. Normally, when you edit a UTF-8 file in Visual Studio, it adds the byte order mark (BOM) sequence 0xEF, 0xBB, 0xBF to the beginning of the file. Sometimes it confuses other applications further ...


How about GIMP? However, if size matters, Photofiltre would be the way to go. You can hardly ask for more in 2 megabytes.


Got it. AltEnter


Select the cells, type the data and then press enter while keeping the alt key pressed. Works on my system (Mac, OO 3.2), maybe the modifier key is different on different systems. In Excel on Windows the modifier key is ctrl.


I've used Windows Live Movie Maker for a while, and am 99.99% sure that it doesn't provide the ability to crop frames in a movie. VirtualDub (here) I've heard is a decent free video editor that can be used to crop videos (e.g. to remove those black bars and to rotate frames).


Here are a handfull of answer from Super User: suggest-good-and-simple-wysiwyg-website-editor-and-hosting are-there-any-free-open-source-html-editors what-is-a-good-simple-and-free-html-editor-for-windows what-free-online-alternatives-are-there-to-frontpage free-html-editor-for-windows


That command will remove the partition table. If you want to remove the MBR and keep the partition table: dd if=/dev/zero of=/dev/hda bs=446 count=1 See Wikipedia's MBR page for the MBR layout. The primary partition table starts at byte 446 (counting from zero).


Skim is a free PDF reader and note-taker for OS X. It is designed to help you read and annotate scientific papers in PDF, but is also great for viewing any PDF file.


VLC also lets you add (or subtract) subtitle delay so you can sync them up while viewing. Ctrl-H and Ctrl-J shift the delay by 50ms in either direction. SRT files are basic text files, so once you've found an offset that looks right in VLC, use perl or sed (or your favorite scripting language) to add that offset to all the timecodes in the file. (Or try ...

Only top voted, non community-wiki answers of a minimum length are eligible