Skip to content

Commit

Permalink
update java learn.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdu committed Sep 27, 2021
1 parent 4c03427 commit 33764f0
Show file tree
Hide file tree
Showing 107 changed files with 12,610 additions and 31 deletions.
Binary file added .metals/metals.h2.db
Binary file not shown.
6 changes: 6 additions & 0 deletions .metals/metals.lock.db
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
71 changes: 71 additions & 0 deletions .metals/metals.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
2021.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.
2021.07.12 20:04:35 INFO time: initialize in 1.49s
2021.07.12 20:04:35 WARN Build server is not auto-connectable.
2021.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. 
���� 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
2021.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.
2021.07.19 16:52:03 INFO time: initialize in 6.07s
2021.07.19 16:52:04 WARN Build server is not auto-connectable.
2021.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. 
���� 19, 2021 4:52:39 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��Ϣ: Unsupported notification method: $/setTrace
2021.07.20 21:20:12 INFO shutting down Metals
2021.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.
2021.07.21 09:49:51 INFO time: initialize in 5.6s
2021.07.21 09:49:51 WARN Build server is not auto-connectable.
2021.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. 
���� 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
2021.07.22 17:45:44 INFO shutting down Metals
2021.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.
2021.08.02 11:38:43 INFO time: initialize in 8.22s
2021.08.02 11:38:44 WARN Build server is not auto-connectable.
2021.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. 
���� 02, 2021 2:10:29 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��Ϣ: Unsupported notification method: $/setTrace
2021.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.
2021.08.27 16:06:05 INFO time: initialize in 5.6s
2021.08.27 16:06:05 WARN Build server is not auto-connectable.
2021.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. 
2021.08.27 17:14:35 INFO shutting down Metals
2021.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.
2021.08.30 18:37:49 INFO time: initialize in 3.08s
2021.08.30 18:37:50 WARN Build server is not auto-connectable.
2021.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. 
���� 31, 2021 9:16:00 ���� org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
��Ϣ: Unsupported notification method: $/setTrace
2021.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.
2021.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.
2021.08.31 09:47:32 INFO time: initialize in 5.49s
2021.08.31 09:47:32 WARN Build server is not auto-connectable.
2021.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. 
2021.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.
2021.08.31 09:47:44 INFO time: initialize in 5.38s
2021.08.31 09:47:44 WARN Build server is not auto-connectable.
2021.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. 
2021.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.
2021.08.31 11:06:29 INFO time: initialize in 7.76s
2021.08.31 11:06:29 WARN Build server is not auto-connectable.
2021.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. 
2021.08.31 11:08:50 INFO shutting down Metals
2021.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.
2021.09.22 17:29:51 INFO time: initialize in 4.58s
2021.09.22 17:29:51 WARN Build server is not auto-connectable.
2021.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. 
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.watcherExclude": {
"**/target": true
}
}
27 changes: 27 additions & 0 deletions CDC数据变更通知/数据变更通知同步.md
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
17 changes: 14 additions & 3 deletions DevOps/docker开发/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,13 +236,24 @@ iptables -t nat -A DOCKER -p tcp --dport 2182 -j DNAT --to-destination 172.17.0


[docker logs日志记录](https://www.ibm.com/developerworks/community/blogs/132cfa78-44b0-4376-85d0-d3096cd30d3f/entry/Docker_%E5%A6%82%E4%BD%95%E6%94%AF%E6%8C%81%E5%A4%9A%E7%A7%8D%E6%97%A5%E5%BF%97%E6%96%B9%E6%A1%88_%E6%AF%8F%E5%A4%A95%E5%88%86%E9%92%9F%E7%8E%A9%E8%BD%AC_Docker_%E5%AE%B9%E5%99%A8%E6%8A%80%E6%9C%AF_88?lang=en)
<<<<<<< HEAD



# python docker

https://docs.google.com/presentation/d/10vFQfEUvpf7qYyksNqiy-bAxcy-bvF0OnUElCOtTTRc/edit#slide=id.p

https://github.com/Fewbytes/rubber-docker
=======
>>>>>>> c2a1203da667ebeb9f0cd68b9a536f88b9e69f7c


# docker 网络

https://docs.docker.com/compose/compose-file/compose-file-v3/#network_mode

https://docs.docker.com/compose/compose-file/compose-file-v3/#driver-1

## docker 设置静态ip

https://stackoverflow.com/questions/61949319/docker-compose-giving-static-ip-in-network-mode-bridge

https://blog.csdn.net/weixin_43931625/article/details/108059916
101 changes: 101 additions & 0 deletions 人工智能/NLP/多模态文档识别/pdf_handle.ipynb
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": []
}
]
}
Loading

0 comments on commit 33764f0

Please sign in to comment.