Most Popular
1500 questions
89
votes
10 answers
How to make CTRL + / toggle a comment in Visual Studio
How can I make CTRL + / toggle a comment in Visual Studio, as it does with XCode and Eclipse?
Marc
- 993
- 1
- 6
- 5
89
votes
5 answers
How can I stop Mac OS X overriding my hostname when I receive a DHCP request on Snow Leopard?
Whenever I go on a network where the DHCP server assigns hostnames then it overrides the settings I've set for my hostname on my Mac in the "Sharing" section of System Preferences.
How do I stop this behaviour from occurring and always have the same…
Mike McQuaid
- 3,989
- 1
- 23
- 17
89
votes
4 answers
What does "Optimize Drives" do in Windows 8?
With Windows 8, there is an option to "optimize" a drive. This looks similar to the Defragment option of previous versions of Windows:
I have an SSD and I know that SSDs shouldn't be defragmented. However, Windows 8 recognizes that the drive is…
Ry-
- 2,144
- 2
- 16
- 23
89
votes
10 answers
What's the difference between cc and To fields in e-mail?
In most email clients you can send an e-mail to multiple recipients in the To: field by separating addresses by a semicolon.
You can also use CC to send a copy to other people. Is there any difference between the two? Do mail programs behave…
Jack
- 2,731
- 5
- 25
- 30
89
votes
3 answers
Go to specific row number in excel
Is there a way in Excel to go to a specific row number? For example I need to find an alternate way to not have to scroll but rather can immediately go to row # 3000
Shades
- 1,135
- 3
- 9
- 11
89
votes
7 answers
How to keep only every nth line of a file
I've got a rather sizable CSV file (75MB). I'm just trying to produce a graph of it, so I really don't need all of the data.
Rewording: I'd like to delete n lines, then keep one line, then delete n lines, and so on.
So if the file looked like…
Computerish
- 993
- 1
- 6
- 6
89
votes
9 answers
Force Chrome to open URLs as URLs, instead of searching
I have a local Apache server running, which is defined through /etc/hosts as "apache". So I often open pages like:
http://apache/website/
Normally, this works fine. However, since I am using a more recent Chrome browser, at odd moments the browser…
user95156
89
votes
1 answer
Terminal Command To Find What Version Of Git I Have Installed?
What is the terminal command to find the version of Git currently installed on my system?
zechdc
- 1,287
- 2
- 14
- 18
89
votes
11 answers
Display list of computers on a LAN in Linux
I'm a web dev who is trying to get a better handle on security. I'm trying to figure out a way (on Linux/Debian based distros) to list all computers on the same LAN my netbook is on. I tried "arp -n" but I don't feel it's a complete list, as my…
CaptSaltyJack
- 2,045
- 6
- 24
- 31
89
votes
11 answers
How to auto detect text file encoding?
There are many plain text files which were encoded in variant charsets.
I want to convert them all to UTF-8, but before running iconv, I need to know its original encoding. Most browsers have an Auto Detect option in encodings, however, I can't…
Xiè Jìléi
- 17,292
- 23
- 85
- 118
89
votes
4 answers
Re-enter interactive mode after Ctrl-z
In interactive mode (in Octave, gnuplot, R, etc.) I occasionally press Control + z by mistake. This pauses the program and kicks me back to the terminal.
Is it possible to re-enter the original interactive mode (with all the stored variables)?
To…
Tom
- 1,277
- 2
- 10
- 12
89
votes
5 answers
How to get list of dependencies of non-installed RPM package?
apt-cache show shows also it's dependencies.
yum info does not show dependencies, but it obviously know them.
How to ask yum for dependencies of specified package?
Vi.
- 16,055
- 28
- 105
- 184
89
votes
7 answers
Compress and then encrypt, or vice-versa?
I am writing a VPN system which encrypts (AES256) its traffic across the net (Why write my own when there are 1,000,001 others already out there? Well, mine is a special one for a specific task that none of the others fit).
Basically I want to run…
Majenko
- 31,394
- 4
- 60
- 80
89
votes
11 answers
Run command on startup / login (Mac OS X)
I was wondering which file I should place this bash command in so it will be run on startup.
# Start the MongoDB server
/Applications/MongoDB/bin/mongod --dbpath /usr/local/mongo/data --fork --logpath /usr/local/mongo/log
I have been scouring the…
Wolfy87
- 993
- 1
- 7
- 8
89
votes
4 answers
How do I delete previously entered items from Google Chrome Omnibox?
Chrome's Omnibox keeps sites that I most frequently visit - and this is good. However, one of my most visited pages has its URL changed, and I want to remove this from the Chrome Omnibox suggestions, how can I do so ?
Sathyajith Bhat
- 60,985
- 38
- 178
- 264