Most Popular

1500 questions
191
votes
10 answers

How to measure disk-performance under Windows?

I'm trying to find out why my application is very slow on a certain machine (runs fine everywhere else). I think i have traced the performance-problems to hard-disk reads and writes and i think it's simply the very slow disk. What tool could i use…
Alphager
190
votes
3 answers

Why is there a percent sign '%' in the IPv6 address?

I am using the .NET Framework classes to get the IP addresses for my machine: Dns.GetHostAddresses(Dns.GetHostName()) I have a VirtualBox adapter which has both an IPv4 and IPv6 address. Using the .NET code, I am getting the IPv6 address as…
Amith George
  • 2,013
190
votes
18 answers

How to syntax highlight via Less

is there a way to syntax highlight a file I see in Less? actually I'm using this command to open an xml file (and sometimes a series of them) less htmleditors/htmleditors_config.xml or less [multiple files] I'd like to stay in Less (to learn that…
190
votes
24 answers

What are some options for transferring large files without using the Internet?

My employer's Internet connection is extremely slow. It's $6,000 a month, 9 Mb, bonded T1, shared by over 150 users. It's not untypical to see regular file transfer speeds of 20-100 KBps. And that was after I convinced upper management to upgrade…
Kyle Lowry
  • 1,916
  • 3
  • 14
  • 13
190
votes
18 answers

How do I delete a folder that's in use?

Sometimes when I'm working in Windows I'll get this prompt when I try to delete a directory: Folder In Use The action can't be completed because the folder is open in another program Close the folder and try again. However, the folder isn't "in…
Factor Mystic
  • 13,015
190
votes
6 answers

How to run Unix commands from within Vim?

How can I run Unix commands while I'm inside vim?
funk-shun
  • 2,753
190
votes
26 answers

Is there a way to move the current window to another desktop without using a mouse in OS X?

In OS X as I'm aware to move the current window to the next desktop, I'd click down on the title bar of the window to have it in move mode, and then while keeping the mouse button down, press Ctrl+← or Ctrl+→. If you don't have a laptop, this may…
aryeh
189
votes
9 answers

How to download a complete website from the Internet Archive’s Wayback Machine?

I want to get all the files for a given website at the Internet Archive’s Wayback Machine. Reasons might include: The original author did not archived his own website and it is now offline, I want to make a public cache from it. I am the original…
user36520
  • 3,171
  • 3
  • 24
  • 19
188
votes
5 answers

Where is the .zshrc file on Mac?

I’m using iTerm and wanted to customize the look of my terminal window using Oh My ZSH!. And according to the documentation I need to change the ~/.zshrc file and add a ZSH_THEME value: Once you find a theme that you want to use, you will need to…
Leon Gaban
  • 2,855
188
votes
11 answers

Can Windows tell me what is using my USB drive?

Being the good citizen I am, I left-click on the "Safely Remove Hardware" icon in my taskbar, and select my USB drive to dismount. Then I get the message: Windows can't stop your Generic volume device because it is in use. Close any programs or…
PP.
  • 2,885
188
votes
20 answers

Run a batch file in a completely hidden way

I'm looking for some way to run a batch file (.bat) without anything visible to the user (no window, no taskbar name, .etc..). I don't want to use some program to do that, I'm looking for something cleaner. I've found a solution that uses VBScript,…
188
votes
15 answers

Is the performance of a CPU affected as it ages?

This is a hypothetical question about how a CPU operates. If I purchase two identical CPUs, and use one long term (say one year), will it be identical in speed to the unused CPU? Will the number of clock cycles, latency of requests, etc on the used…
187
votes
10 answers

How to easily reorder rows in excel with drag and drop or move-up or move-down?

I have to do some manual reordering or rows in Excel and cut/paste is too hard to use. I'm looking for something that would enable me to use drag'n'drop or to add some buttons to move-up/down move-top/bottom.
sorin
  • 12,189
187
votes
2 answers

Why does an uppercase "M" at the right of window name in tmux?

For some reason, occasionally, an uppercase “M” appears at the right side of the window name, so the window name looks like this: 1:bash*M I'm pretty sure is because I'm pressing some combination that causes this. What is it and what does it means?
186
votes
12 answers

Create .zip folder from the command line - (Windows)

Is it possible to create a .zip file from a folder in the command line, I don't want to use any third party executable. I was thinking something like 'send to compressed folder' but I don't know how to do it...
user466047