Most Popular

1500 questions
96
votes
4 answers

An application to easily pick a color in Mac OS X and get the hex value

I'm looking for a way to easily pick a color from anywhere on the screen in Mac OS X and get the value as a hex code (like #ACC782 ). OS X has a built in system "color picker" and I found a standalone "app" that will just run that, but I don't see…
cwd
  • 18,148
96
votes
6 answers

How do I wrap lines in Notepad++ after N symbols?

I would like to have my lines in plain text in Notepad++ wrapped (soft wrapping for display, not insertion of line ends) after a reasonable amount of symbols (like 65 or 80). Is it possible? The only option I came across is wrapping at window width,…
xxzoid
  • 1,547
  • 2
  • 12
  • 14
96
votes
7 answers

Does a computer use fewer resources when programs are minimized?

When programs are minimized in Windows 7, do they use less memory and CPU than leaving them maximized?
jao
  • 1,930
96
votes
5 answers

How do I determine if my Windows is 32-bit or 64-bit using a command?

Possible Duplicates: How to tell if a computer has a 64-bit CPU or OS Detect Windows Server version 32/64-bit in CLI OS version: 32-bit or 64-bit? How do I determine if my Windows system is 32-bit or 64-bit from the commandline? I want to know…
Negative
  • 1,429
96
votes
14 answers

How to get git-completion.bash to work on Mac OS X?

I have followed http://blog.bitfluent.com/post/27983389/git-utilities-you-cant-live-without to add git-completion.bash to my /opt/local/etc/bash_completion.d/git-completion and I put PS1='\h:\W$(__git_ps1 "(%s)") \u\$ ' in my .bashrc_profile But…
n179911
  • 3,673
96
votes
9 answers

Can I disable continuation of comments to the next line in Vim?

In Vim, if I'm typing a comment in a code file, and I hit Enter, it automatically makes the newline a comment, too. For instance, in a Ruby file: # I manually typed the pound at the start of this line and hit enter. # This line formatted itself this…
Nathan Long
  • 26,565
96
votes
4 answers

Difference between "a=b" and "export a=b" in bash

What's the difference between: a=b and export a=b In bash? I understand that they both define environment variables, but I don't fully understand the difference.
Adam Matan
  • 8,390
96
votes
16 answers

How to start GUI linux programs from the command line, but separate from the command line?

I've searched for this before, but have never been able to find an answer. In Windows, if I have a console window open, type winmine, and press enter, Minesweeper will appear, completely separate from the cmd program. The Minesweeper instance is not…
Jason
  • 1,069
96
votes
19 answers

How can I delete all files/subfolders in a given folder via the command prompt?

I would like to delete all files and subfolders in a batch file in Windows 7 and keep the top folder. Basically emptying the folder. What's the command line instruction for that?
Tony_Henrich
  • 11,706
96
votes
11 answers

How to forbid keyboard shortcut stealing by websites in Firefox

Many websites, especially everything involving rich text editing (this site is guilty as well), steal keyboard shortcuts normally used to control Firefox and make them do something else instead. It is totally infuriating when I press something like…
taw
  • 1,947
96
votes
13 answers

What is the best way to remove 100% of a software that is not yet installed?

We will have proctored online exams because of COVID-19 for which we must install proctoring software (spyware) that will download and run additional software after installation and monitor everything on the computer. I know that I have to install…
Anne Maier
  • 1,069
96
votes
5 answers

How do I change the DNS settings for WSL2?

As far as I've been able to work out, the official process for changing which DNS server is used by WSL2 on Windows 10 is as detailed below. (WSL2 is the new release of the Windows Subsystem for Linux, which runs an actual Linux kernel in a…
Bevan
  • 2,673
96
votes
3 answers

How does Firefox know my ISP login page?

To access the Internet, I have to log in at my ISP-provided login page which is a private IPv4 address (192.168.xx.xx). If I open Firefox without logging in to that account, Firefox shows this notification saying "You must log in to this…
Biswapriyo
  • 11,179
96
votes
17 answers

SSH-Key authentication fails

I'm trying to ssh into a CentOS server which I have no control over.. the admin has added my public key to the server and insists the fault lies with me but I can't figure out what is wrong. Config in .ssh: tim@tim-UX31A:~$ cat ~/.ssh/config User…
Tim
  • 961
96
votes
2 answers

How can I filter out unique results from grep output?

In linux, I can grep a string from a file using grep mySearchString myFile.txt. How can I only get the result which are unique?
hap497
  • 2,959
  • 7
  • 32
  • 24