Skip to content

Instantly share code, notes, and snippets.

View han911976's full-sized avatar

Han Cheng han911976

  • Hong Kong
  • 17:49 (UTC +08:00)
View GitHub Profile
@Tosainu
Tosainu / cute_AA.txt
Last active November 23, 2025 04:09
ι‘”ζ–‡ε­—θ©°γ‚εˆγ‚γ›
あせ (・_・;) ι‘”ζ–‡ε­—
あせ (ο½₯βˆ€ο½₯οΌ›) ι‘”ζ–‡ε­—
あせ (οΌΎΟ‰οΌΎ;;) ι‘”ζ–‡ε­—
あせ (οΎŸβˆ€οΎŸ οΌ›) ι‘”ζ–‡ε­—
あせ (οΎŸβˆ€οΎŸ οΌ›)οΎ€οΎ—ο½° ι‘”ζ–‡ε­—
γ‚γŸγ΅γŸ ヽ(Β΄ο½₯Ο‰ο½₯`ヽ) ι‘”ζ–‡ε­—
あ぀い (q>﹏<) ι‘”ζ–‡ε­—
あ぀い (q>﹏<)γ‚γ„˜β€γ‚…γ„ ι‘”ζ–‡ε­—
あ぀い (>﹏<qΞq>﹏<) ι‘”ζ–‡ε­—
あ぀い ΞΉ(Β΄Π”ο½€Ο…) ι‘”ζ–‡ε­—
@nicktoumpelis
nicktoumpelis / git-make-empty-root.sh
Last active May 9, 2025 08:50
Create an empty initial commit
git checkout --orphan temp_master
git rm -rf .
git commit --allow-empty -m 'Make initial root commit'
git rebase --onto temp_master --root master
git branch -D temp_master
@protrolium
protrolium / YouTube API β€” getting video thumbnail
Created February 5, 2014 19:57
YouTube API β€” getting video thumbnail
Each YouTube video has 4 generated images. They are predictably formatted as follows:
http://img.youtube.com/vi/<insert-youtube-video-id-here>/0.jpg
http://img.youtube.com/vi/<insert-youtube-video-id-here>/1.jpg
http://img.youtube.com/vi/<insert-youtube-video-id-here>/2.jpg
http://img.youtube.com/vi/<insert-youtube-video-id-here>/3.jpg
The first one in the list is a full size image and others are thumbnail images. The default thumbnail image (ie. one of 1.jpg, 2.jpg, 3.jpg) is:
http://img.youtube.com/vi/<insert-youtube-video-id-here>/default.jpg