Skip to content

Instantly share code, notes, and snippets.

View kinzhao's full-sized avatar
🎯
Focusing

Kin Z kinzhao

🎯
Focusing
View GitHub Profile
@kinzhao
kinzhao / README.md
Created July 24, 2018 19:16 — forked from vinicius-stutz/README.md
Google Chrome Favicons For Bookmarklets

Google Chrome Favicons For Bookmarklets

  1. Open the Bookmark Manager and export your bookmarks;
  2. Open the exported html file in your favorite editor and look for the bookmarklet you want a favicon applied to;
  3. Convert the 16x16 px (or greater) favicon you want to use into the BASE64 format (I used Base64 Image Encoder);
  4. Now you can add the favicon via adding the ICON="data:image/insert-your-base64-image-code-here" attribute in the link;
  5. Save the file and import it in the bookmark manager.

Done! If the favicon doesn’t show up, try clicking on the bookmarklet. Afterwards the changes should stick and you can delete the imported bookmarks folder. If you have sync activated the favicons on your bookmarklets will also show up on your other PC, Mac, smartphone etc.

@kinzhao
kinzhao / README.md
Created May 27, 2017 13:33 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@kinzhao
kinzhao / gist:b8bb5a4c45ee33134e163d29a1e41715
Created May 7, 2017 21:56 — forked from speric/gist:6096965
vimtutor Lesson Summaries
Lesson 1 SUMMARY
1. The cursor is moved using either the arrow keys or the hjkl keys.
h (left) j (down) k (up) l (right)
2. To start Vim from the shell prompt type: vim FILENAME <ENTER>
3. To exit Vim type: <ESC> :q! <ENTER> to trash all changes.
OR type: <ESC> :wq <ENTER> to save the changes.