Multiple Git remotes repositories
Posted: February 14, 2016 Filed under: Trick | Tags: git, Tutorial Comments Off on Multiple Git remotes repositoriesLet 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 [email protected]:rained23/yosh.git
git remote set-url --add --push origin [email protected]: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
Posted: March 7, 2015 Filed under: Trick | Tags: Tips, Tutorial Comments Off on How to change app icon in OSXSo 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.

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

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.