Tag Info

Hot answers tagged

38

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.


36

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.


27

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 ...


22

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 ...


17

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


16

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


15

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


12

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


12

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


10

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 ...


10

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 ...


10

You can accomplish this with a stylesheet. First, define the following style: .thumb { max-width: 100px; max-height: 100px; width: expression(this.width > 100 ? "100px" : true); height: expression(this.height > 100 ? "100px" : true); } Then, add this style to your image tags, like so: <img class="thumb" ...> Do not include the ...


10

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


9

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.


9

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 ...


9

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) ...


8

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 ...


8

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


7

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 ...


6

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


6

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).


6

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.


6

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 ...


6

I heart IrfanView. Although for Gnome, I use gthumb as my Linux equivalent. It doesn't have the myriad of swiss-tools that IV has, but quality scaling, cropping and color adjustment suits me well enough. I do love how gthumb imports photos from my camera :D


6

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.


6

Picasa has a pretty good red-eye removal tool - it automatically detects red eyes in the photo and you just click "Apply". So you could ignore its organising capabilities and just use it as an editor.


6

Your computer more than adequate for editing video using Sony Vegas. Faster is always better. More RAM is always better. But I have edited quite complicated videos using a single-core PC with lower specs than yours. There are a lot of factors that can degrade your preview rates. The first thing to try is adjusting your preview quality. The setting is ...


6

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 :)



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