diff --git a/android-interact.sh b/android-interact.sh index 563c5f8..b581289 100755 --- a/android-interact.sh +++ b/android-interact.sh @@ -1,7 +1,7 @@ #!/bin/bash # File: android-interact.sh # Date: Wed Nov 29 02:19:00 2017 -0800 -# Author: Yuxin Wu +# Author: Yuxin Wu PROG_NAME=`python -c "import os, sys; print(os.path.realpath(sys.argv[1]))" "$0"` PROG_DIR=`dirname "$PROG_NAME"` diff --git a/common/progress.py b/common/progress.py index cdd9021..7af9989 100644 --- a/common/progress.py +++ b/common/progress.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: progress.py # Date: Wed Jun 17 23:59:52 2015 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu import time import sys diff --git a/common/textutil.py b/common/textutil.py index be71849..28e6f08 100644 --- a/common/textutil.py +++ b/common/textutil.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: utils.py # Date: Wed Jun 17 23:59:25 2015 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu import hashlib import base64 diff --git a/common/timer.py b/common/timer.py index 914d55d..d0d0da6 100644 --- a/common/timer.py +++ b/common/timer.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: timer.py # Date: Wed Jun 17 23:25:54 2015 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu import time, functools from collections import defaultdict diff --git a/dump-audio.py b/dump-audio.py index ddbcab6..dd4de3c 100755 --- a/dump-audio.py +++ b/dump-audio.py @@ -1,7 +1,7 @@ #!/usr/bin/env python2 # -*- coding: utf-8 -*- # File: dump-audio.py -# Author: Yuxin Wu +# Author: Yuxin Wu import sys import argparse diff --git a/dump-html.py b/dump-html.py index e1bcd7c..c60d3ad 100755 --- a/dump-html.py +++ b/dump-html.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: dump-html.py # Date: Wed Mar 25 17:44:20 2015 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu import sys import argparse diff --git a/dump-msg.py b/dump-msg.py index dd22cda..4f7da4b 100755 --- a/dump-msg.py +++ b/dump-msg.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: dump-msg.py # Date: Mon May 25 15:23:05 2015 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu from wechat.parser import WeChatDBParser from common.textutil import safe_filename diff --git a/emoji-cache-tool.py b/emoji-cache-tool.py index d917334..d9a55ae 100755 --- a/emoji-cache-tool.py +++ b/emoji-cache-tool.py @@ -1,7 +1,7 @@ #!/usr/bin/env python2 # -*- coding: utf-8 -*- # File: emoji-cache-tool.py -# Author: Yuxin Wu +# Author: Yuxin Wu import cPickle as pickle import sys diff --git a/libchat/create_db.py b/libchat/create_db.py index d1eef34..cefde8e 100755 --- a/libchat/create_db.py +++ b/libchat/create_db.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: create_table.py # Date: Wed Mar 25 16:43:22 2015 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu import sys import os diff --git a/libchat/libchat.py b/libchat/libchat.py index 7a401df..517acef 100644 --- a/libchat/libchat.py +++ b/libchat/libchat.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: libchat.py # Date: Sun Apr 12 21:08:51 2015 +0900 -# Author: Yuxin Wu +# Author: Yuxin Wu import sqlite3 import os from datetime import datetime diff --git a/plot-num-msg-by-time.py b/plot-num-msg-by-time.py index fc75d73..6dc6bba 100755 --- a/plot-num-msg-by-time.py +++ b/plot-num-msg-by-time.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: plot-num-msg-by-time.py # Date: Wed Mar 25 17:44:39 2015 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu from wechat.parser import WeChatDBParser from common.textutil import ensure_unicode diff --git a/third-party/compile_silk.sh b/third-party/compile_silk.sh index 87d2c06..349057b 100755 --- a/third-party/compile_silk.sh +++ b/third-party/compile_silk.sh @@ -1,7 +1,7 @@ #!/bin/bash -e # File: compile_silk.sh # Date: Tue Jun 16 22:26:49 2015 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu cd `dirname "$0"`/silk make diff --git a/wechat/audio.py b/wechat/audio.py index 8b9a8b4..d192616 100644 --- a/wechat/audio.py +++ b/wechat/audio.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: audio.py # Date: Fri Jun 26 10:42:41 2015 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu import os from subprocess import PIPE, Popen, call diff --git a/wechat/avatar.py b/wechat/avatar.py index a34ff35..023a81d 100644 --- a/wechat/avatar.py +++ b/wechat/avatar.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: avatar.py # Date: Wed Nov 29 03:27:16 2017 -0800 -# Author: Yuxin Wu +# Author: Yuxin Wu from PIL import Image import cStringIO diff --git a/wechat/libchathelper.py b/wechat/libchathelper.py index 9919203..4b2d53d 100644 --- a/wechat/libchathelper.py +++ b/wechat/libchathelper.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: libchathelper.py # Date: Wed Nov 29 03:44:54 2017 -0800 -# Author: Yuxin Wu +# Author: Yuxin Wu import base64 from pyquery import PyQuery diff --git a/wechat/msg.py b/wechat/msg.py index 1ec1782..96015e0 100644 --- a/wechat/msg.py +++ b/wechat/msg.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: msg.py # Date: Thu Jun 18 00:01:00 2015 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu TYPE_MSG = 1 TYPE_IMG = 3 TYPE_SPEAK = 34 diff --git a/wechat/msgslice.py b/wechat/msgslice.py index bb13c9b..c112a6a 100644 --- a/wechat/msgslice.py +++ b/wechat/msgslice.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: msgslice.py # Date: Thu Jan 08 00:15:49 2015 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu class MessageSlicerByTime(object): """ Separate messages into slices by time, diff --git a/wechat/parser.py b/wechat/parser.py index ed8a1f0..ac42315 100644 --- a/wechat/parser.py +++ b/wechat/parser.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: parser.py # Date: Thu Jun 18 00:03:53 2015 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu import sqlite3 from collections import defaultdict diff --git a/wechat/render.py b/wechat/render.py index 571afa1..6369a1a 100644 --- a/wechat/render.py +++ b/wechat/render.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: render.py # Date: Wed Nov 29 03:53:55 2017 -0800 -# Author: Yuxin Wu +# Author: Yuxin Wu import os import base64 diff --git a/wechat/res.py b/wechat/res.py index 74b96df..b4755cc 100644 --- a/wechat/res.py +++ b/wechat/res.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: res.py # Date: Wed Nov 29 03:43:50 2017 -0800 -# Author: Yuxin Wu +# Author: Yuxin Wu import glob import os diff --git a/wechat/smiley.py b/wechat/smiley.py index d58d911..ec9cdfa 100755 --- a/wechat/smiley.py +++ b/wechat/smiley.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: smiley.py # Date: Thu Jun 18 00:02:43 2015 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu import os import re diff --git a/wechat/static/main.js b/wechat/static/main.js index 56ae00e..fc3964e 100644 --- a/wechat/static/main.js +++ b/wechat/static/main.js @@ -1,6 +1,6 @@ //File: main.js //Date: Sun Jan 11 23:32:26 2015 +0800 -//Author: Yuxin Wu +//Author: Yuxin Wu var playVoice = function(event) { var target = event.target; diff --git a/wechat/static/parse_tencent_smiley.py b/wechat/static/parse_tencent_smiley.py index 1b3a7d8..84dd367 100755 --- a/wechat/static/parse_tencent_smiley.py +++ b/wechat/static/parse_tencent_smiley.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # File: parse_tencent_smiley.py # Date: Sat Dec 27 00:15:14 2014 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu import xml.etree.ElementTree as ET import os diff --git a/wechat/static/see_smiley_name.sh b/wechat/static/see_smiley_name.sh index 4232028..d87a9ab 100755 --- a/wechat/static/see_smiley_name.sh +++ b/wechat/static/see_smiley_name.sh @@ -1,6 +1,6 @@ #!/bin/bash -e # File: see_smiley_name.sh # Date: Sun Jan 11 21:37:06 2015 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu cat tencent-smiley.json | jq 'to_entries | group_by(.value) | .[] | "---------",.[].key' diff --git a/wechat/static/smileys/down1.sh b/wechat/static/smileys/down1.sh index a83d8c0..62dc527 100755 --- a/wechat/static/smileys/down1.sh +++ b/wechat/static/smileys/down1.sh @@ -1,7 +1,7 @@ #!/bin/zsh # File: down1.sh # Date: Sat Dec 20 17:53:23 2014 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu # Download 105 tencent smiley diff --git a/wechat/static/smileys/down2.sh b/wechat/static/smileys/down2.sh index 1ccdee6..62e9b57 100755 --- a/wechat/static/smileys/down2.sh +++ b/wechat/static/smileys/down2.sh @@ -1,7 +1,7 @@ #!/bin/bash -e # File: down2.sh # Date: Wed Dec 24 22:31:37 2014 +0800 -# Author: Yuxin Wu +# Author: Yuxin Wu # This script is used to download unicode emoji