Git says “Warning: Permanently added to the list of known hosts”

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

How to copy files across computers using SSH and MAC OS X Terminal [closed]

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

Sublime Text from Command Line

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)