I hereby claim:
- I am chaserhkj on github.
- I am chaserhkj (https://keybase.io/chaserhkj) on keybase.
- I have a public key ASABTRJmAmTqcye0DInkWX6q29o-D2IWlcA_WI2VNfWEPQo
To claim this, I am signing this object:
Adds XOAUTH2 functionality for safer authentication. | |
Still needs a separate script/service to obtain and refresh OAUTH2 | |
access token for most mail providers. | |
Patch by Moriyoshi Koizumi <[email protected]> | |
Modified by Kangjing Huang <[email protected]> | |
diff --color -u ssmtp-2.64.orig/ssmtp.c ssmtp-2.64/ssmtp.c | |
--- ssmtp-2.64.orig/ssmtp.c 2023-10-21 00:39:18.895976193 -0400 |
#!/usr/bin/python | |
import sh | |
import os, sys | |
import time | |
shx = sh(_out=sys.stdout, _err=sys.stderr) | |
eprint = lambda p: print(p, file=sys.stderr) | |
# Masks are for configuring kernel writeback worker mask | |
# Full core usages | |
TOTAL_CORES_MASK="ffff" |
import os, sys | |
import hashlib | |
THRESHOLD = 100 | |
DRY=True | |
def main(d_path): | |
d_base = os.path.dirname(d_path) | |
d_name = os.path.basename(d_path) | |
h_path = d_path | |
if len(d_name.encode('utf8')) > THRESHOLD: |
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA256 | |
Wednesday, Jun 6 2018, 00:10, +0400 | |
For a number of reasons, I've recently set up a new PGP key | |
and will be transitioning away from my old one. | |
The old key will continue to be valid for a short period after | |
the posting of this message, but future signatures will be |
I hereby claim:
To claim this, I am signing this object:
% MplTplt - Yet another LaTeX template for Modern Physics Lab, PKU. | |
% Copyright (C) 2014 Huang Kangjing and contributors | |
% This work is completely rewritten basing on the work of Cao Chuanwu | |
% and Sun Sibai, with texts in the template originally coming from the | |
% Modren Phys. Lab. | |
% This file is released under the MIT license. | |
% | |
% Permission is hereby granted, free of charge, to any person obtaining a copy |
#!/usr/bin/env python2 | |
# | |
# Copyright (C) 2013 Chaserhkj | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |