Multiple Git remotes repositories

Let say, you would like to make back up code to multiple repositories. For the example; one is Github and another is self hosted Gitlab.

git remote set-url --add --push origin git@git.nazreen.my:rained23/yosh.git
git remote set-url --add --push origin git@github.com:invoture/yosh.git

So when you push to origin, it will push to both repositories.

A git remote -v should reveal the actual URLs for all remotes.

git remote set-url --add --push all git://another/repo.git

How to change app icon in OSX

So I changed my Scrivener app icon. I found Scrivener icon is heavy and emotionally absurb to me, in which put mental state which I don’t fancy to get starting to write.

So how do we change an icon in OS X?

First, you need the icon file or image that you would like to use as logo. Apple have it own standard for icon, they called it as Apple Icon Image format or .icns.

I used an online converter to convert the icon into specific format; http://iconverticons.com/online/

Right click and Get info on the application (you have to do this on the Applications directory).

Drag the icon to the top left of the Window.

Change icon Scrinever OSX app.

Restart the application, or you can killall Dock with Terminal. The new icon will the there.

After change icon

How to restore the original icon? If you found this as mistake, you can click and delete the icon in Get Info.

Disclaimer; I found the icon online, on DeviantArt specifically. Credit icon to Smyf.