This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name show all contributions by year | |
// @namespace https://github.com/kang8 | |
// @version 0.0.1 | |
// @description 在 GitHub profile 页面以年份展示自用户创建以来所有的 contributions | |
// @description Show all contributions by year since the user was created in the GitHub profile page | |
// @author kang | |
// @match https://github.com/* | |
// @grant none | |
// @run-at document-end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBGFxf14BEACa2xUbHmjhZ61Bqzg7ZeqYusIg7KBilpahabXItKandSdMJPr8 | |
uDd5QOSxtbf0Z1IqoZLj6crLV+GLoPzM2XCv1zVurZEK/ezqt+RfgtpJ1zvwZQHT | |
N2pyzjsGInvNb8ZNDRO4+/RmfbTM6XA9bFTd9jtJyTnnpAv1MDjF6EUCX5AAqKqD | |
jD66lpNMsixJQvpPUrcrXAf52iK3iqXt3iZAaUnAaE0zz6VEOioZTL8o7KHB4rl8 | |
7+Nx+FY8UhvC9hDqzLc9jkEGIVg175e0s74oBeP3Yv7hP93hzrA80YiGlesrRT6m | |
dcvpMmEqZbGdl1+AGzOZBjCjjMRHMu3VpAnCVOuESrjWgMRA2fSImYvdaHc7n7XI | |
kGfASPBciLEoJl/5SEtDuFyjHduwkVW7SiJPfJbr8OzhRxN+9INzminBEJXrK+XD | |
vw/qsKpXA3d7zJXsWrYPoP4F9N+s1pWrTS0BSgFaxuRsH5JmY/apTeNSz8icnST1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import calendar | |
import time | |
import json | |
import hashlib | |
import requests | |
def md5(s): | |
m = hashlib.md5(s.encode(encoding="utf-8")) | |
return m.hexdigest() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.mail.*; | |
import javax.mail.internet.InternetAddress; | |
import javax.mail.internet.MimeMessage; | |
import java.nio.charset.StandardCharsets; | |
import java.util.List; | |
import java.util.Properties; | |
public class SMPTUtils { | |
/** | |
* 使用 163 举例 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
api.mapkey('<Ctrl-y>', 'Show me the money', function() { | |
Front.showPopup('a well-known phrase uttered by characters in the 1996 film kang8 (Escape to close).'); | |
}); | |
api.iunmap('<Ctrl-e>') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
------------------------------ | |
topic_id: 207 | |
sort: monday | |
------------------------------ | |
topic_id: 444 | |
sort: tuesday | |
------------------------------ | |
""" | |
topic_id = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
dis = {} | |
str = set([]) | |
with open('./assets/yikang.csv', encoding='utf-8') as f: | |
f_csv = csv.reader(f) | |
header = next(f_csv) # 获取当前指针指向的列并使指针下移一步 | |
# 遍历剩下的文件 |