-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jsdu
committed
Sep 27, 2021
1 parent
4c03427
commit 33764f0
Showing
107 changed files
with
12,610 additions
and
31 deletions.
There are no files selected for viewing
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#FileLock | ||
#Wed Sep 22 17:29:49 CST 2021 | ||
hostName=localhost | ||
id=17c0cd700a0b5142aab4b66f0afdeb6b2a9be99e1c8 | ||
method=file | ||
server=localhost\:64459 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
[0m2021.07.12 20:04:33 INFO Started: Metals version 0.10.4 in workspace 'D:\projects\funny\JsDu.io' for client Visual Studio Code 1.58.0.[0m | ||
[0m2021.07.12 20:04:35 INFO time: initialize in 1.49s[0m | ||
[0m2021.07.12 20:04:35 WARN Build server is not auto-connectable.[0m | ||
[0m2021.07.12 20:04:35 WARN no build tool detected in workspace 'D:\projects\funny\JsDu.io'. The most common cause for this problem is that the editor was opened in the wrong working directory, for example if you use sbt then the workspace directory should contain build.sbt. [0m | ||
���� 13, 2021 11:01:10 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify | ||
��Ϣ: Unsupported notification method: $/setTrace | ||
���� 13, 2021 11:12:05 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify | ||
��Ϣ: Unsupported notification method: $/setTrace | ||
���� 13, 2021 11:16:20 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify | ||
��Ϣ: Unsupported notification method: $/setTrace | ||
���� 13, 2021 2:41:54 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify | ||
��Ϣ: Unsupported notification method: $/setTrace | ||
���� 13, 2021 7:40:12 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify | ||
��Ϣ: Unsupported notification method: $/setTrace | ||
[0m2021.07.19 16:51:57 INFO Started: Metals version 0.10.4 in workspace 'D:\projects\funny\JsDu.io' for client Visual Studio Code 1.58.2.[0m | ||
[0m2021.07.19 16:52:03 INFO time: initialize in 6.07s[0m | ||
[0m2021.07.19 16:52:04 WARN Build server is not auto-connectable.[0m | ||
[0m2021.07.19 16:52:04 WARN no build tool detected in workspace 'D:\projects\funny\JsDu.io'. The most common cause for this problem is that the editor was opened in the wrong working directory, for example if you use sbt then the workspace directory should contain build.sbt. [0m | ||
���� 19, 2021 4:52:39 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify | ||
��Ϣ: Unsupported notification method: $/setTrace | ||
[0m2021.07.20 21:20:12 INFO shutting down Metals[0m | ||
[0m2021.07.21 09:49:45 INFO Started: Metals version 0.10.4 in workspace 'D:\projects\funny\JsDu.io' for client Visual Studio Code 1.58.2.[0m | ||
[0m2021.07.21 09:49:51 INFO time: initialize in 5.6s[0m | ||
[0m2021.07.21 09:49:51 WARN Build server is not auto-connectable.[0m | ||
[0m2021.07.21 09:49:51 WARN no build tool detected in workspace 'D:\projects\funny\JsDu.io'. The most common cause for this problem is that the editor was opened in the wrong working directory, for example if you use sbt then the workspace directory should contain build.sbt. [0m | ||
���� 21, 2021 10:20:47 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify | ||
��Ϣ: Unsupported notification method: $/setTrace | ||
���� 21, 2021 10:20:57 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify | ||
��Ϣ: Unsupported notification method: $/setTrace | ||
���� 22, 2021 1:28:27 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify | ||
��Ϣ: Unsupported notification method: $/setTrace | ||
���� 22, 2021 2:58:09 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify | ||
��Ϣ: Unsupported notification method: $/setTrace | ||
���� 22, 2021 2:58:52 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify | ||
��Ϣ: Unsupported notification method: $/setTrace | ||
[0m2021.07.22 17:45:44 INFO shutting down Metals[0m | ||
[0m2021.08.02 11:38:35 INFO Started: Metals version 0.10.4 in workspace 'D:\projects\funny\JsDu.io' for client Visual Studio Code 1.58.2.[0m | ||
[0m2021.08.02 11:38:43 INFO time: initialize in 8.22s[0m | ||
[0m2021.08.02 11:38:44 WARN Build server is not auto-connectable.[0m | ||
[0m2021.08.02 11:38:44 WARN no build tool detected in workspace 'D:\projects\funny\JsDu.io'. The most common cause for this problem is that the editor was opened in the wrong working directory, for example if you use sbt then the workspace directory should contain build.sbt. [0m | ||
���� 02, 2021 2:10:29 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify | ||
��Ϣ: Unsupported notification method: $/setTrace | ||
[0m2021.08.27 16:06:00 INFO Started: Metals version 0.10.4 in workspace 'D:\projects\funny\JsDu.io' for client Visual Studio Code 1.59.0.[0m | ||
[0m2021.08.27 16:06:05 INFO time: initialize in 5.6s[0m | ||
[0m2021.08.27 16:06:05 WARN Build server is not auto-connectable.[0m | ||
[0m2021.08.27 16:06:05 WARN no build tool detected in workspace 'D:\projects\funny\JsDu.io'. The most common cause for this problem is that the editor was opened in the wrong working directory, for example if you use sbt then the workspace directory should contain build.sbt. [0m | ||
[0m2021.08.27 17:14:35 INFO shutting down Metals[0m | ||
[0m2021.08.30 18:37:46 INFO Started: Metals version 0.10.4 in workspace 'D:\projects\funny\JsDu.io' for client Visual Studio Code 1.59.1.[0m | ||
[0m2021.08.30 18:37:49 INFO time: initialize in 3.08s[0m | ||
[0m2021.08.30 18:37:50 WARN Build server is not auto-connectable.[0m | ||
[0m2021.08.30 18:37:50 WARN no build tool detected in workspace 'D:\projects\funny\JsDu.io'. The most common cause for this problem is that the editor was opened in the wrong working directory, for example if you use sbt then the workspace directory should contain build.sbt. [0m | ||
���� 31, 2021 9:16:00 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify | ||
��Ϣ: Unsupported notification method: $/setTrace | ||
[0m2021.08.31 09:47:21 INFO Started: Metals version 0.10.4 in workspace 'D:\projects\funny\JsDu.io' for client Visual Studio Code 1.59.1.[0m | ||
[0m2021.08.31 09:47:26 INFO Started: Metals version 0.10.4 in workspace 'D:\projects\funny\JsDu.io' for client Visual Studio Code 1.59.1.[0m | ||
[0m2021.08.31 09:47:32 INFO time: initialize in 5.49s[0m | ||
[0m2021.08.31 09:47:32 WARN Build server is not auto-connectable.[0m | ||
[0m2021.08.31 09:47:32 WARN no build tool detected in workspace 'D:\projects\funny\JsDu.io'. The most common cause for this problem is that the editor was opened in the wrong working directory, for example if you use sbt then the workspace directory should contain build.sbt. [0m | ||
[0m2021.08.31 09:47:39 INFO Started: Metals version 0.10.4 in workspace 'D:\projects\funny\JsDu.io' for client Visual Studio Code 1.59.1.[0m | ||
[0m2021.08.31 09:47:44 INFO time: initialize in 5.38s[0m | ||
[0m2021.08.31 09:47:44 WARN Build server is not auto-connectable.[0m | ||
[0m2021.08.31 09:47:44 WARN no build tool detected in workspace 'D:\projects\funny\JsDu.io'. The most common cause for this problem is that the editor was opened in the wrong working directory, for example if you use sbt then the workspace directory should contain build.sbt. [0m | ||
[0m2021.08.31 11:06:21 INFO Started: Metals version 0.10.4 in workspace 'D:\projects\funny\JsDu.io' for client Visual Studio Code 1.59.1.[0m | ||
[0m2021.08.31 11:06:29 INFO time: initialize in 7.76s[0m | ||
[0m2021.08.31 11:06:29 WARN Build server is not auto-connectable.[0m | ||
[0m2021.08.31 11:06:29 WARN no build tool detected in workspace 'D:\projects\funny\JsDu.io'. The most common cause for this problem is that the editor was opened in the wrong working directory, for example if you use sbt then the workspace directory should contain build.sbt. [0m | ||
[0m2021.08.31 11:08:50 INFO shutting down Metals[0m | ||
[0m2021.09.22 17:29:46 INFO Started: Metals version 0.10.4 in workspace 'D:\projects\funny\JsDu.io' for client Visual Studio Code 1.60.1.[0m | ||
[0m2021.09.22 17:29:51 INFO time: initialize in 4.58s[0m | ||
[0m2021.09.22 17:29:51 WARN Build server is not auto-connectable.[0m | ||
[0m2021.09.22 17:29:51 WARN no build tool detected in workspace 'D:\projects\funny\JsDu.io'. The most common cause for this problem is that the editor was opened in the wrong working directory, for example if you use sbt then the workspace directory should contain build.sbt. [0m |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"files.watcherExclude": { | ||
"**/target": true | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# CDC工具 CHANGE DATA CAPTURE | ||
|
||
https://github.com/topics/change-data-capture | ||
|
||
https://en.wikipedia.org/wiki/Change_data_capture | ||
|
||
https://actiontech.github.io/dtle-docs-cn/0/0_overview.html | ||
|
||
# Debezium | ||
|
||
https://xixuebin.github.io/2019-05-30-141229-ch.html | ||
|
||
https://www.gisup.cn/2020/03/04/%E4%BD%BF%E7%94%A8Debezium%E5%92%8CKafka%E4%B8%BAMySQL%E6%95%B0%E6%8D%AE%E5%BA%93%E8%AE%BE%E7%BD%AE%E5%8F%98%E5%8C%96%E6%95%B0%E6%8D%AE%E6%8D%95%E6%8D%89CDC/ | ||
|
||
# debezium docker examples | ||
|
||
https://github.com/debezium/debezium-examples/blob/master/tutorial/docker-compose-mysql.yaml | ||
|
||
|
||
https://zhuanlan.zhihu.com/p/350218903 | ||
|
||
https://aleiwu.com/post/vimur.cn/ | ||
|
||
|
||
# canal | ||
|
||
https://github.com/alibaba/canal |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
{ | ||
"metadata": { | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.7.6" | ||
}, | ||
"orig_nbformat": 2, | ||
"kernelspec": { | ||
"name": "python376jvsc74a57bd0fe51acb14fb5a3e7fdf825e26e97e32fb192dc37b97c9776356565e3a06b4392", | ||
"display_name": "Python 3.7.6 64-bit" | ||
}, | ||
"metadata": { | ||
"interpreter": { | ||
"hash": "fe51acb14fb5a3e7fdf825e26e97e32fb192dc37b97c9776356565e3a06b4392" | ||
} | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 2, | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 2, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"output_type": "error", | ||
"ename": "ModuleNotFoundError", | ||
"evalue": "No module named 'pdfplumber'", | ||
"traceback": [ | ||
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m", | ||
"\u001b[1;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)", | ||
"\u001b[1;32m<ipython-input-2-7496105922c8>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m\u001b[0m\n\u001b[1;32m----> 1\u001b[1;33m \u001b[1;32mimport\u001b[0m \u001b[0mpdfplumber\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 2\u001b[0m \u001b[1;32mimport\u001b[0m \u001b[0mos\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0msys\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 3\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 4\u001b[0m \u001b[0mpdf_pth\u001b[0m \u001b[1;33m=\u001b[0m \u001b[1;34m'./'\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 5\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n", | ||
"\u001b[1;31mModuleNotFoundError\u001b[0m: No module named 'pdfplumber'" | ||
] | ||
} | ||
], | ||
"source": [ | ||
"import pdfplumber\n", | ||
"import os, sys\n", | ||
"\n", | ||
"pdf_pth = './'\n", | ||
"\n", | ||
"\n", | ||
"class PlumberTask:\n", | ||
" def __init__(self, fpth):\n", | ||
" self.fpth = fpth\n", | ||
" \n", | ||
" def get_page_objs(self):\n", | ||
" with pdfplumber.open(self.fpth) as pdfobj:\n", | ||
" print(pdfobj.pages)\n", | ||
" for page in pdfobj.pages:\n", | ||
" # objects\n", | ||
" print(\"objects ==>\", page.objects)\n", | ||
" print(\"chars ==>\", page.chars)\n", | ||
" print(\"lines ==>\", page.lines)\n", | ||
" print(\"rects ==>\", page.rects)\n", | ||
" print(\"curves ==>\", page.curves)\n", | ||
" print(\"images ==>\", page.images)\n", | ||
"\n", | ||
" tbs = page.extract_table()\n", | ||
" print(\"tbs ==>\", tbs)\n", | ||
" page.to_image(resolution=150)\n", | ||
"\n", | ||
"\n", | ||
"for root, dir_names, fnames in os.walk(pdf_pth):\n", | ||
" for fname in fnames:\n", | ||
" if not fname.endswith(\"pdf\"):\n", | ||
" continue\n", | ||
" tmp_fpth = os.path.join(root, fname)\n", | ||
" task = PlumberTask(tmp_fpth)\n", | ||
" task.get_page_objs()\n", | ||
" break" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"pip install pdfplumber" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [] | ||
} | ||
] | ||
} |
Oops, something went wrong.