Most Popular

1500 questions
239
votes
9 answers

How do I set system environment variables in Windows 10?

How do I set a system environment variable in Windows 10 (without using the registry editor)? (Note: Other answers don't specifically address Windows 10 - at least not yet - and they leave off important steps - like how to open the control panel -…
Jared
  • 2,669
239
votes
15 answers

Does it make sense to keep different SSIDs for 2.4GHz and 5GHz wireless networks?

My router can have different SSIDs for 2.4 and 5 GHz and I'm not sure if it's better to have the same SSID or not. Initially I put the same network but I got confused when the MacBook Pro displayed me two networks with the same name, an I was not…
sorin
  • 12,189
238
votes
3 answers

How can I remove outdated installed versions of Homebrew packages?

How can I remove outdated versions of Homebrew packages that are installed side-by-side with current versions?
aknuds1
  • 9,538
238
votes
4 answers

Move pane to a new window in tmux

I know that it's possible in tmux to join a window as a pane, but is it possible to move a pane to it's own window (tab)? I tried searching it up the man page but couldn't find it. I guess it is possible doing it through a shell script, but is there…
Mikey S.
  • 2,729
237
votes
5 answers

Difference between OTF (Open Type) or TTF (True Type) font formats?

On a Mac, when I'm downloading fonts am often given the choice between OTF (OpenType Format) and TTF (TrueType Format). Is there any difference in the way ligatures work or anything between the two formats?
237
votes
7 answers

How to specify level of compression when using tar -zcvf?

I gzip directories very often at work. What I normally do is tar -zcvf file.tar.gz /path/to/directory Is there a way to specify the compression level here? I want to use the best compression possible even if it takes more time to compress.
Lazer
  • 18,407
237
votes
6 answers

Should laptops remain plugged in when their battery is 100% charged?

When your laptop's battery is 100% charged, should you leave it plugged in so any battery power doesn't get used, or will that cause overcharging, overheating, etc.? Should the laptop be unplugged when the battery level is 100%? I'm asking because…
235
votes
9 answers

Purpose of a "mystery key" on an IBM PC 3270 keyboard

A colleague has just come into possession of a large number of IBM PC 3270 keyboards (don't ask!). These keyboards have a number of very interesting looking keys, but the one that most intrigued us is the one at the bottom right of the block…
Cowan
  • 1,601
234
votes
4 answers

Copy JSON from console.log in developer tool to clipboard?

Using Chrome Developer Tools, i have printed a JSON object with console.log. is there a way that I can copy it to the clipboard?
Anagio
  • 3,168
  • 5
  • 24
  • 29
234
votes
13 answers

How can I make tmux use my default shell?

On a new setup, tmux is using bash instead of my default (zsh). How can I force it to use zsh?
re5et
  • 2,453
234
votes
4 answers

What is “__MACOSX” folder I keep seeing in Zip files made by people on OS X?

What are these __MACOSX folders I keep seeing in Zip files made by people on OS X? Some take as much as 30% of the file. What program are producing these __MACOSX folder and how can mac users avoid this mistake?
Yada
  • 2,581
233
votes
19 answers

How to compare the differences between two PDF files on Windows?

Do you know a good way to compare PDF files side-by-side and show the modifications between the two? I'm looking for Windows software to accomplish this. It would be great if you can post both free and not-free products.
233
votes
18 answers

How to supress "Terminate batch job (Y/N)" confirmation?

In cmd, when we press Ctrl+C we get the target application terminated but if the target application is called from a batch file, we get this "Terminate batch job (Y/N)" confirmation. I can never remember an instance where I chose not to terminate…
Srikanth
  • 5,219
233
votes
8 answers

How can I change Outlook "Mark As Read" behavior so that Outlook marks a message as read as soon as it appears in the viewing pane?

Can someone describe to me, step by step, what I would need to do in order to change the default Outlook "Mark as Read" behavior? Default Behavior: Outlook marks a message as read when it has appeared in the viewing pane and I move to another…
user18771
  • 2,411
231
votes
5 answers

Git - List all files currently under source control?

Is there a way to list all files currently under source control in git? (Not just those that have been modified).
Anonymous
  • 2,751