Most Popular

1500 questions
177
votes
9 answers

How to install npm in alpine linux

So I can't get to install npm in alpine linux. I thought perhaps I can just do a apk add npm but apparently apk search npm returns nothing, even after a apk update. I'm experimenting with all this from the nginx:alpine docker image, i.e. docker run…
Shadi
  • 2,015
176
votes
17 answers

What can I do if I forgot my Windows password?

I got a brand new Windows 7 machine, installed the operating system, created one account and forgot its password. What can I do? There is no external CD, the operating system is loaded from somewhere inside the machine. I already tried to remember…
flybywire
  • 4,110
176
votes
1 answer

How do I get Notepad++ to associate a file type with a language?

I have associated .wxs files with Notepad++. So far so good. However, it doesn't remember that it should use XML syntax highlighting. How do I associate a file-type with a Language?
fredley
  • 3,457
176
votes
4 answers

How to disable the screen orientation hotkeys in Windows (XP)?

I'm using Eclipse in Windows XP. One of my favorite shortcuts is CTRL+ALT+DOWN (or CTRL+ALT+UP) to duplicate a line. I just found that on this machine (XP ThinkPad, with NVIDIA graphics driver), this is has the effect of fliping the screen upside…
Eric Wilson
  • 8,068
176
votes
13 answers

How to disable Ctrl+Shift keyboard layout switch (for the same input language) in Windows?

In Windows (XP at least), when there are two or more keyboard layouts for the same input language, pressing Ctrl+Shift switches the keyboard layout. Where can this be disabled or changed to another keystroke combination? A similar feature is…
176
votes
10 answers

Two blue arrows at top right of icons

On some icons I am seeing a two blue arrows at the top the right pointing towards each other. I first noticed it on the icons on folders which I archived which happened randomly. I archived the folder and the text went blue as expected, then when…
175
votes
4 answers

How to match digits followed by a dot using sed?

I'm trying to use sed to substitute all the patterns with digits followed immediately by a dot (such as 3., 355.) by an empty string. So I try: sed 's/\d+\.//g' file.txt But it doesn't work. Why is that?
Mika H.
  • 1,939
174
votes
9 answers

How to avoid being asked "Enter passphrase for key" when I'm doing SSH operations on a remote host?

I'm SSH into a remote host (Linux, Fedora) and I want to do ssh operation (git with bitbucket) there. There is ssh-agent running on that machine: $ ps -e|grep sh-agent 2203 ? 00:00:00 ssh-agent But when I want to git, it requires me to…
lily
  • 2,015
174
votes
10 answers

How can a file size be zero?

Just something I ran into and couldn't think of a proper explanation. If I create an empty *.txt file on my PC and then look at its size, it shows 0. But how is that possible? I mean even if the file itself is empty, it still must have some size,…
Eugene S
  • 2,148
174
votes
9 answers

How to delete a keyboard layout in Windows 10

I installed Windows 10 on a physically German keyboard, then installed a Window English software keyboard and bought some little stickers to make my keyboard look OK. However, Windows shows 2 keyboards installed & occasionally toggles back to…
Mawg
  • 4,603
174
votes
8 answers

No USB devices available in VirtualBox

Oracle VirtualBox is unable to list/filter the USB devices attached to my system. As a result, the guest OS is not able to see any USB device either. This is my configuration: Host: VirtualBox 5.0.0 r101573 on Ubuntu 14.04, with Oracle…
mguassa
  • 1,954
174
votes
6 answers

How to retrieve video file information from command line under Linux?

I'd like to see from command line all informations pertaining to a given video file, including length, quality, bitrate, resolution, audio and video formats, number and language of audio streams and subtitles, and so on; the more, the best. Right…
Sekhemty
  • 9,916
174
votes
7 answers

How to prevent VLC from automatically resizing its window according to viewed content resolution?

In a case of mine a very high (compared to the video stream) resolution graphical frame (saying "access denied" (when my IP changes)) can appear instead of a video stream, which makes VLC window to resize, getting bigger than my screen is. This…
Ivan
  • 7,863
174
votes
10 answers

Is there a convenient way to edit PATH in Windows 7?

I do not understand why Windows 7 is still adopting this stuffy dialog box? I feel uncomfortable when editing and looking-up a path in this narrow text box. Is there a convenient way to edit PATH in Windows 7? One item per row for example.
Display Name
  • 2,229
174
votes
7 answers

How to uninstall Homebrew?

I’ve got some problems with the package manager, Homebrew. I can’t find how to remove it! Is it safe to remove whole /usr/local? Homebrew was installed somewhere in that directory.
holms
  • 3,317
  • 4
  • 29
  • 33