27 Commits

Author SHA1 Message Date
Hao Chen
bda5be13a5 fix the bug - tr: Illegal byte sequence 2019-03-25 14:31:02 +08:00
Hao Chen
66f4492a05 reformat the script 2019-03-25 14:29:49 +08:00
Hao Chen
07bae7072b optimized the scripts to generate the comments 2019-01-26 12:55:20 +08:00
Hao Chen
d3b883fd1c fix the bug with question title 2019-01-26 12:54:54 +08:00
Hao Chen
b5cfd2fa62 fix the graphQL API request payload body 2019-01-26 09:21:36 +08:00
Hao Chen
cea51e427d fix: using questionFrontendId instead of questionId 2018-06-27 18:31:15 +08:00
Hao Chen
79ee9680db [fix] - adopted the new leetcode GrapQL API 2018-06-23 15:35:40 +08:00
Hao Chen
dfc744c4e4 fix the comments.sh which use the new leetcode API to retrive problem description 2018-04-19 21:45:07 +08:00
Hao Chen
9c58217659 fix: the xidel rename the -q option to -s after 0.9.4 version, so we have to check the option automatically 2018-02-06 00:19:20 +08:00
Hao Chen
cef9491cb9 [Linux]fix the download link - xidel download link seems use different domain, and should use sudo install the xidel 2018-02-06 00:18:28 +08:00
Hao Chen
393e7b23b5 move the xidel installation script from comments.sh to lib/query_problem.sh, and update the lastest version of the xidel 2018-02-02 10:03:41 +08:00
Hao Chen
40188f9986 Leetcode changed the frontend to GraphQL API, the scripts need to adapt it. fix issue #138 2018-02-01 19:45:54 +08:00
Hao Chen
a684f4b9f2 add readme.sh script to help to generate the content in README.md for each problem 2016-09-08 01:11:56 +08:00
Hao Chen
776432d4ca make the script can detect the author name automatically 2016-05-29 15:58:40 +08:00
Hao Chen
cf00c58026 filter out the blank line 2016-01-16 21:02:16 +08:00
Hao Chen
fe2a44cea8 bug fix 2015-10-19 20:32:00 +08:00
Hao Chen
60ccf4804e Support the MacOS (To be compatible with MacOS, some of code really to 'sed' are really mass) 2015-10-19 16:12:50 +08:00
Hao Chen
70cdf5aa63 1)bug fixing: if a source is empty, the comments cannot be inserted, 2)automaticly wrap the comments if it is too long. 2015-07-05 00:41:16 +08:00
Hao Chen
ba577747fc Readme 2015-04-01 09:09:28 +08:00
Hao Chen
766f6c65b2 Adapting the new url and shell problems 2015-03-31 15:08:20 +08:00
Hao Chen
4b73a1dc26 fix the sytanx issue in README.md 2015-02-04 15:45:07 +08:00
Hao Chen
423ad37cd5 update scripts' readme and fix #50 2015-02-04 12:04:14 +08:00
Hao Chen
6a1d68cd2c support 32bits liunx 2015-02-04 11:59:43 +08:00
Hao Chen
859e312c9e Update README.md 2015-01-25 23:32:09 +08:00
Hao Chen
fe18df930c rewrite the script to fix issue#45 2015-01-25 23:23:56 +08:00
Hao Chen
6f0059ac0f remove copyright.sh 2014-11-17 11:12:21 +08:00
Hao Chen
3f656f1b21 some useful scripts 2014-11-17 11:10:35 +08:00