Most Popular

1500 questions
119
votes
7 answers

IP address that is the equivalent of /dev/null

Is there an IP address that would result in any packet sent to be ignored (blackholed)? I know I can always set up a router with an IP address and then just have it ignore all packets sent to it, but does such a thing exist to save me the trouble?
Tyler Durden
  • 6,121
119
votes
13 answers

Typing the tab character in browser text boxes

A lot of the time, when I want to format text within a web page's text box I'll hit the Tab key. Unfortunately, that doesn't insert the tab character but instead moves the control to the next form element (like a button or a check box). For…
Rohit
  • 1,609
119
votes
4 answers

What is the purpose of the tiny ruler that I've just pulled out of the side of my Dell Latitude E6430?

On the side of my Dell Latitude laptop, above the DVD drive, is a slot marked 'EC'. Pulling on it revealed a strangely shaped ruler with a temperature converter tool on the back. What is this? Why is it there?
119
votes
7 answers

Change ConEmu's default start directory

How do I change ConEmu settings such that always when I open it, it will start the cmd in a directory of my choosing instead of the default ConEmu folder?
Nick Ginanto
  • 1,405
  • 3
  • 11
  • 13
119
votes
11 answers

How do I open the directory of the current open file?

If I open a file with vim dir/to/my/file.c how can I easily open the directory dir/to/my in vim's filebrowser?
JtR
  • 1,899
119
votes
10 answers

Make Windows 7 ignore WiFi when ethernet is available

When I dock my Windows 7 laptop, I want it to prefer the wired ethernet connection over WiFi. This is a pretty straightforward thing to do on my Mac - I just reorder my network preferences, and it "does the right thing." I just can't figure out how…
jkooker
  • 1,357
119
votes
17 answers

Copy UNC network path (not drive letter) for paths on mapped drives from Windows Explorer

I frequently want to share Windows network paths to files with other folks on my team via email or chat. We have a lot of mapped drives here, both ones we set up ourselves and ones set up by our IT overlords. What I'd like to be able to do is to…
119
votes
5 answers

How do I get that nice inline-quote indicator in Outlook 2010 when replying to emails?

Outlook 2010 (beta). I like responding to email inline-style, where there is an indicator (typically a gray vertical bar, |) denoting the quoted content. Not sure if I can attach an image, but will give text example: This is some email…
Matt
  • 2,577
119
votes
12 answers

How to sort first directories then files etc… when using “ls” in Unix

I would like to use the ls command to first show directories and then files. I tried: ls -la | sort -k 1 But I got a wrong order.
atricapilla
  • 1,317
118
votes
4 answers

How to add a command in vim editor?

If suppose my source code file name is "foo.c". While editing and debugging i always execute this command:- :!gcc -g foo.c -o foo;gdb foo Can I add a custom command to Vim such that If i type ":debug" then the above command executes? How do I…
118
votes
7 answers

Re-enable extensions not coming from Chrome Web Store on Chrome v35+ (with enhanced security)

Does anybody know how to re-enable your own extensions after they were disabled by the Chrome v35 update? (Mostly greasemonkey scripts in my case, thus simple .js files previously drag-n-dropped in to the extension windows. ) When I started up…
AardVark71
  • 1,367
118
votes
5 answers

Where are the shortcuts for the Windows 7 Taskbar stored on disk?

Where, in the Windows 7 file system, are the taskbar shortcuts stored (per user)?
Jake McGraw
  • 1,449
118
votes
2 answers

How to search for ? (question mark) in Excel

When I try to find the question mark character (?) in an Excel sheet, Excel cannot locate the cells containing them. How can I search for ? in Excel?
118
votes
12 answers

How can I find the short path of a Windows directory/file?

I need to use shortened path names for an application that I am using. For example I need C:\PROGRA~1\ as opposed to C:\Program Files. The program can't handle spaces and won't accept quoted paths (e.g. "C:\Program Files"). If it helps, I am using…
somehume
  • 1,317
118
votes
5 answers

How do I refresh the hosts file on OS X?

I'm trying to develop using subdomains on OSX but don't want to reboot the computer to refresh the hosts file. Normally on linux I'd do /etc/init.d/networking restart but I can't figure out how to do this on OSX.
chrism2671
  • 1,579