Skip to content

Instantly share code, notes, and snippets.

View DenKey's full-sized avatar
:shipit:

Den DenKey

:shipit:
  • Ukraine
  • 23:22 (UTC +03:00)
View GitHub Profile
@padi
padi / kill_rubies.sh
Created August 17, 2017 02:46
Script to kill all spring and rogue ruby processes
#!/bin/sh
ps aux | grep ruby | grep -v grep | awk '{print $2}' | xargs kill
@hofnerb
hofnerb / remote_url.md
Last active October 16, 2023 05:43
git remote set-url

Review and Change Remote URL

git remote -v
# View existing remotes

git remote set-url origin https://github.com/user/repo2.git
# Change the 'origin' remote's URL

git remote -v
@jexchan
jexchan / multiple_ssh_setting.md
Created April 10, 2012 15:00
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"