Most Popular

1500 questions
84
votes
5 answers

How to comment out multiple lines at once in Notepad++?

In Eclipse it is possible to comment out multiple lines at once by selecting them and executing CTRL + /: // helloworld Is this possible in Notepad++ as well instead of typing /+/ in front of each individual line?
030
  • 2,457
  • 8
  • 25
  • 40
84
votes
8 answers

Does Firefox still have the 3D DOM viewer?

I can't seem to make out this little feature that was once there in Firefox. The 3D button that was there in an earlier version of the dev tools is gone and I can't seem to find any trace of this feature anywhere. If it's still there, how do I…
MildlyInteresting
  • 943
  • 1
  • 6
  • 6
84
votes
5 answers

Removing dead thunderflies stuck inside an LCD monitor

This summer my flat was "attacked" by hundreds of tiny thunderflies, some of which managed to get behind the screen of my LCD. A few of the cursed creatures went and died right in the middle of the display:  And yes, this is real. Imagine my…
Mike Weller
  • 823
  • 1
  • 7
  • 9
84
votes
4 answers

Why is piping 'dd' through gzip so much faster than a direct copy?

I wanted to backup a path from a computer in my network to another computer in the same network over a 100 Mbit/s line. For this I did dd if=/local/path of=/remote/path/in/local/network/backup.img which gave me a very low network transfer speed of…
Foo Bar
  • 1,380
  • 2
  • 12
  • 25
84
votes
10 answers

How to destroy a CD/DVD rom safely?

I have old CDs/DVDs which have some backups, these backups have some work and personal files. I always had problems when I needed to physically destroy them to make sure no one will reuse them. Breaking them is dangerous, pieces could fly fast and…
user165733
84
votes
8 answers

Compose key on Windows

On Linux, the Compose key is a great way to enter many symbols. E.g. em-dash — by pressing Compose then - - - ö by pressing Compose then : o Euro € by pressing Compose then C = (The Compose key function can be assigned to various keyboard keys,…
Craig McQueen
  • 1,189
  • 1
  • 8
  • 19
84
votes
12 answers

Can I restore closed tabs after quitting Chrome?

I closed Chrome by accident. Now all the tabs I had open are presumably gone. I don't want to risk anything by starting Chrome now before asking for help. I fear that they will be permanently lost (overwritten files) if I do that. I know from past…
Samir
  • 19,919
  • 72
  • 165
  • 225
84
votes
5 answers

Can I use an excel formula to extract the link location of a hyperlink in a cell?

I have a spreadsheet with a large number of cells containing hyperlinks with display text different than the hyperlink location ie: cell location: A1 display text = "Site Info" hyperlink location = "http://www.mylocation.com" Is there an excel…
Gigamosh57
  • 945
  • 1
  • 5
  • 7
84
votes
10 answers

How do I disable "you need to format this disk" message in Windows Vista/7?

I've started using TrueCrypt to encrypt a partition on an external USB hard drive. I've opted for using a raw partition as opposed to a file container. But here's the annoyance. Whenever I connect this drive to a computer running Vista or Windows 7,…
Joe Attardi
  • 943
  • 1
  • 7
  • 6
84
votes
10 answers

How do I switch between Java 7 and Java 6 on OS X 10.8.2?

I am using Java SE 7 to program simple games for windows and mac, but I have to switch to java 6 to run games such as Minecraft on my computer. This used to work just fine before I updated to Mac OS X 10.8.2 Build 12C60. Before this update I used…
Nikita Jerschow
  • 943
  • 1
  • 7
  • 6
84
votes
3 answers

Command Line SSH restart Mac OSX Mountain Lion

How can I restart the SSH service via the command line on Mac OSX Mountain Lion please? Using ps aux | grep 'ssh', I was able to deduce that the process is most likely /usr/sbin/sshd. From here I searched the sshd documentation for references to…
James Webster
  • 1,011
  • 1
  • 9
  • 15
84
votes
6 answers

How can I check a system's current NTP configuration?

I need to verify the current NTP configuration on some Windows systems. Ideally, I'd like to be able to do this via command line instead of navigating through configuration screens. (I'm working on several different OS versions, and configuration…
Iszi
  • 13,265
  • 42
  • 112
  • 175
84
votes
11 answers

When to use Bash and when to use Perl/Python/Ruby?

We are doing all our scripting with Bash so far, but I'm starting to feel a bit silly about it. While we can of course do everything we want with Bash (it's quite powerful), I'm starting to wonder if we shouldn't use a proper scripting language (in…
futlib
  • 1,219
  • 2
  • 11
  • 12
84
votes
5 answers

How to convert an Inkscape SVG file into a Microsoft Word drawing?

How can I convert or insert an Inkscape SVG file to a Microsoft Word document? Note: It has to be editable. The resulting exported PDF has selectable text.
monksy
  • 1,731
  • 6
  • 21
  • 29
84
votes
2 answers

du only for directories

In C-Shell, how can I get the same output as du -sh ./* but without listing the files in the root dir, i.e. just a list of subdirectories in ./ and the sizes of all their contents?
foglerit
  • 955
  • 1
  • 8
  • 6