Docker-Compose can’t connect to Docker Daemon
I had the same error, after 15 min of debugging. Turns out all it needs is a sudo 🙂 Check out Manage Docker as a non-root user to get rid of the sudo prefix.
I had the same error, after 15 min of debugging. Turns out all it needs is a sudo 🙂 Check out Manage Docker as a non-root user to get rid of the sudo prefix.
Create a ~/.ssh/config file and insert the line: UserKnownHostsFile ~/.ssh/known_hosts You will then see the message the next time you access Github, but after that you’ll not see it anymore because the host is added to the known_hosts file. This fixes the issue, rather than just hiding the log message. This problem was bugging me … Read more
I had a similar issue on macOS Big Sur (11.0.1). In my case homebrew was saved in /opt/homebrew/, and not in /usr/local/…. So I added export PATH=/opt/homebrew/bin:$PATH to .zshrc file in my home directory, and the ZSH shell was able to find the brew command.
You can do this with the scp command, which uses the ssh protocol to copy files across machines. It extends the syntax of cp to allow references to other systems: scp username1@hostname1:/path/to/file username2@hostname2:/path/to/other/file Copy something from this machine to some other machine: scp /path/to/local/file username@hostname:/path/to/remote/file Copy something from another machine to this machine: scp username@hostname:/path/to/remote/file … Read more
Windows Command Prompt For Windows cmd.exe you could just add the sublime text installation directory to your PATH environment variable, this would allow you to type: sublime_text file.rb Personally, I add a doskey (in a .bat file set to autorun with cmd) so I can type subl file.rb: > doskey subl=”C:\Program Files\Sublime Text 2\sublime_text.exe” $* … Read more
Found a similar issue and solution in google groups I opened a windows command prompt and ran the command $ tasklist It looks as though the ssh connections I had made in my git bash shells weren’t being closed when those windows were closed and were hanging the available git bash shell windows. This may … Read more
1. sudo nano /etc/shells 2. add /usr/local/bin/fish to your list of shells 3. chsh -s /usr/local/bin/fish
Just keep it simple 🙂 grep + echo should suffice: grep -qxF ‘include “/configs/projectname.conf”‘ foo.bar || echo ‘include “/configs/projectname.conf”‘ >> foo.bar -q be quiet -x match the whole line -F pattern is a plain string https://linux.die.net/man/1/grep Edit: incorporated @cerin and @thijs-wouters suggestions.
System Preferences => Keyboard => increase Key Repeat Rate
To save your work and exit press Esc and then :wq (w for write and q for quit). Alternatively, you could both save and exit by pressing Esc and then 😡 To set another editor run export EDITOR=myFavoriteEdioron your terminal, where myFavoriteEdior can be vi, gedit, subl(for sublime) etc.