原先我是想衝刺寫哩扣,為後續找工作提升錄取率等等,然後找有沒有現成資源讓履歷有農題紀錄,但沒看過有人做這玩意兒;時間往後一拉我已找到工作,而寫哩扣的動力當然就大幅下降,後來想到我或許可以藉此激勵自己,每天農題把紀錄提升上來 lol,於是自己瞎搞一個。
| 事件 | 敘述 | 時間 |
|---|---|---|
| v1.0 | Graphics Interchange Format | 2024/01/27 |
| v1.1 | 新增陰影顏色、進度條顯示 | 2024/01/30 |
| - | 擴增 PDF 來展現內容 | - |
| - | 最初想像這位大神的方法動態更新數據,但顯然俺不會... | - |
git clone https://github.com/Junwu0615/LeetCode-Record-Sharing-Method.gitpip install -r requirements.txtpython Entry.py -h-hHelp : Show this help message and exit.-iUser ID : Give a LeetCode user-id.-nUser Name : Give your name.-fFont : Give a font type. Default : "AniMeMatrix-MB_EN.ttf"-bcBackground Color : Give a background color. Default : "#3C3C3C"-fcFont Color : Give a font color. Default : "255,255,255"-fsFont Shadow : Give a font shadow. Default : "39,39,39"-pCustomize Path : If you want to customize the picture, please give the path. Default : "None"
範例是從 LeetCode 看到的幾位解題達人 Sithis、numb3r5、uwi 之數據來呈現,他們數據比較豐富 www。
運行完畢後會產出 gif 檔。
-iSithis-n"Sithis"-f"AniMeMatrix-MB_EN.ttf"-bc#FFFFFF-fc"64,64,64"-fs"39,64,64"-p"None"
python Entry.py -i Sithis -n "Sithis" -f "AniMeMatrix-MB_EN.ttf" -bc #FFFFFF -fc "64,64,64" -fs "190,190,190" -p "None"-inumb3r5-n"numb3r5"-f"AniMeMatrix-MB_EN.ttf"-bc#3C3C3C-fc"255,255,255"-fs"39,39,39"-p"None"
python Entry.py -i numb3r5 -n "numb3r5" -f "AniMeMatrix-MB_EN.ttf" -bc #3C3C3C -fc "255,255,255" -fs "39,39,39" -p "None"-iuwi-n"uwi"-f"AniMeMatrix-MB_EN.ttf"-bc#3C3C3C-fc"255,255,255"-fs"39,39,39"-p"None"
python Entry.py -i uwi -n "uwi" -f "AniMeMatrix-MB_EN.ttf" -bc #3C3C3C -fc "255,255,255" -fs "39,39,39" -p "None"加入自定義的圖片,路徑放置於 ./sample/xxx 。
-iSithis-n"Sithis"-f"AniMeMatrix-MB_EN.ttf"-bcNone-fc"64,64,64"-p"./sample/pexels-pixabay-235985.jpg"
python Entry.py -i Sithis -n "Sithis" -f "AniMeMatrix-MB_EN.ttf" -bc None -fc "39,39,39" -fs "157,157,157" -p "./sample/pexels-pixabay-235985.jpg"python Entry.py -i numb3r5 -n "numb3r5" -f "AniMeMatrix-MB_EN.ttf" -bc None -fc "255,255,255" -fs "39,39,39" -p "./sample/pexels-pixabay-164175.jpg"python Entry.py -i uwi -n "uwi" -f "SHOWG.TTF" -bc None -fc "255,250,250" -fs "39,39,39" -p "./sample/pexels-pixabay-531880.jpg"







