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
one line ver | |
[{"week": "預備週", "events": ["(2/1)107 學年度第二學期開始/開學日前休退學,免繳學雜費 ", "(2/4-2/7)除夕及春節假期 ", "(2/8)春節假期彈性放假一天 ", "(2/15)前一學期研究所畢業生離校手續截止日 "]}, {"week": "第一週", "events": ["(2/18)第二學期註冊日、開始上課 ", "(2/18 日前)休退學,學雜費全額退費 ", "(2/18 日起)研究生申請學位考試 ", "(2/18-2/22)學分數抵免/輔系、雙主修申請 ", "(2/19 日起)休退學,學雜費退還三分之二 ", "(2/23)和平紀念日彈性放假補行上班上課 "]}, {"week": "第二週", "events": ["(2/26-3/4)第二學期課程加退選 ", "(2/28)和平紀念日(放假一天) ", "(3/1)和平紀念日彈性放假一天 "]}, {"week": "第三週", "events": ["(3/4-3/15)轉部申請 "]}, {"week": "第六週", "events": ["(3/25-6/6)申請課程停修 ", "(3/29 日前)申請休退學者,學雜費退還三分之二 "]}, {"week": "第七週", "events": ["(4/1 日起)申請休退學者,學雜費退還三分之一 ", "(4/4)兒童節(放假一天) ", "(4/5)民族掃墓節(放假一天) ", "(4/3-5/6)第二學期期中預警調查 "]}, {"week": "第八週", "events": ["(4/8)校運會補假一天 "]}, {"week": "第九週", "events": ["(4/15-19)第二學期期中考試 ", "(4/15-28)教師期中成績登錄 "]}, {"week": "第十一週", "events": ["(4/29-5/10)轉系申請 "]}, {"week": "第十二週", "events": ["(5/10 日前)申請休退學者,學雜費退還三分之一 "]}, {"week": "第十三週", "events": ["(5/13 日起)申請休退學者,所繳各費均不退還 "]}, {"week": "第十六週", "events": ["(6/7)端午節(放假一天) "]}, {"week": |
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
{ | |
"status": 200, | |
"messages": "", | |
"leaves": [{ | |
"leave_sheet_id": "B260089", | |
"date": "107/10/24", | |
"instructors_comment": "導師意見:核准", | |
"leave_sections": [{ | |
"section": "5", | |
"reason": "事" |
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
{ | |
"success": true, | |
"message": "", | |
"count": 2, | |
"data": { | |
"smesterScore": [{ | |
"smesterName": "107學年度第2學期", | |
"courseScore": [{ | |
"courseName": "英語聽講訓練(二)", | |
"courseCredit": "1", |
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
# need pip install pytz | |
import pytz | |
def _get_real_time(timestamp): | |
ts = timestamp/10000000 - 62135596800 | |
utc_dt = datetime.utcfromtimestamp(ts) | |
aware_utc_dt = utc_dt.replace(tzinfo=pytz.utc) | |
tz = pytz.timezone('Asia/Taipei') |
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
from apiclient import discovery | |
from oauth2client import client | |
from oauth2client import tools | |
from oauth2client.file import Storage | |
try: | |
import argparse | |
flags = argparse.ArgumentParser(parents=[tools.argparser]).parse_args() | |
except ImportError: | |
flags = 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
mkdir /tmp/python_dir | |
cd /tmp/Python-3.6.7/ | |
./configure --prefix=/tmp/python_dir | |
make | |
make install |
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
# for verystream | |
from bs4 import BeautifulSoup | |
import requests | |
import sys | |
if __name__ == "__main__": | |
try: | |
if sys.argv[1]: | |
url = sys.argv[1] | |
except: |
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 execjs | |
import hashlib | |
import base64 | |
# import md5 | |
def test(): | |
load_js = execjs.compile(open("md5.js", 'r').read()) | |
test_string = "abcdefg" | |
js_function_text = load_js.call('base64_md5', test_string) |
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
[{"week":"暑","events":["(6/30)研究生申請學位考試截止日 ","(7/1-8/31)暑期上課期間 ","(7/1-7/12)四技應屆畢業生符合成績優異提前畢業申請 ","(7/31)107 學年度第二學期結束/研究生學位考試截止日 ","(8/1)108 學年度第一學期開始/開學日前完成休退學,免繳學雜費 ","(8/3 ~ 8/4)第一校區高壓停電保養 ","(8/10 ~ 8/11)楠梓旗津校區高壓停電保養 ","(8/10 ~ 8/11)建工燕巢校區高壓停電保養 "]},{"week":"第六週","events":["(9/2 ~ 9/4)新生始業活動 ","(10/18 前)申請休退學者,學雜費退還三分之二 ","(10/14 ~ 12/27) 申請課程停修 "]},{"week":"第十週","events":["(10/5)補行上班(補 10/11 之彈性放假) "]},{"week":"第一週","events":["(9/9)第一學期開學日 ","(9/13)中秋節(放假一天) ","(9/6)前一學期研究所畢業生離校手續截止日 ","(9/9 前)休退學,學雜費全額退費 ","(9/9 起)研究生申請學位考試 ","(9/9 ~ 12)學分抵免 ","(9/10 ~ 10/18)休退學,學雜費退還三分之二 "]},{"week":"第三週","events":["(9/23 ~ 10/4)轉部申請 "]},{"week":"第五週","events":["(10/10)國慶日(放假一天) ","(10/11) 國慶日彈性放假一天 "]},{"week":"第七週","events":["(10/21 ~ 11/29)申請休退學者,學雜費退還三分之一 "]},{"week":"第十一週","events":["(11/18 ~ 11/29)轉系申請 "]},{"week":"第十二週","events":["(11/29 前)申請休退學者,學雜費退還三分之一 "]},{"week":"第九週","events":["(11/4 ~ 8)第一學期期中考試 "]},{"week":"第十三週","events":["(12/7)校慶活動日 ","(12/2 起)申請休退學者,所繳各費均不退還 "]},{"week":"第十四週","events":["(12/ |
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
要看我 麻煩到變更紀錄內看 | |
太長ㄌ |
OlderNewer