Skip to content

Instantly share code, notes, and snippets.

View sorrycc's full-sized avatar
🌻
Working on UmiJS

chencheng (云谦) sorrycc

🌻
Working on UmiJS
View GitHub Profile
@sorrycc
sorrycc / st2icon.sh
Created March 18, 2012 08:03
Shell script to replace the Sublime Text 2 icon with a custom icon
#!/bin/bash
# Change this to the path to your icns file
ICON="$HOME/Sublime Text 2.icns"
cp -f "$ICON" "/Applications/Sublime Text 2.app"/Contents/Resources
cp -r "/Applications/Sublime Text 2.app" "/Applications/Sublime Text 2 copy.app"
rm -rf "/Applications/Sublime Text 2.app"
mv "/Applications/Sublime Text 2 copy.app" "/Applications/Sublime Text 2.app"
@sorrycc
sorrycc / 0_reuse_code.js
Created February 17, 2016 12:12
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@sorrycc
sorrycc / introrx.md
Created June 3, 2016 14:00 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing