posted @ 2024-03-16 00:44 shenyixin 阅读(297) 评论(0) 推荐(1) 编辑
摘要:
使用远程桌面办公的时候,有时候远程电脑没有掉网,但远程桌面因为一些问题始终起不来,这时候我们通常希望能够在连不上远程桌面的情况下重启远程电脑。 首先 cmd 命令 shutdown -m 是有重启/关闭远程电脑的功能的,但是它要求你现在组策略里设置好权限,单单靠这个是不行的。 这个时候需要先用 ne 阅读全文
摘要:
总算是跑起来了,看看效果吧 这是我的SQL 表里面插入数据 刷新下就可以看到已经查询出来了 canal报错nosuchmethod …bytebuffer 解决方法:更新jdk版本与es一致 cancal报错 config dir not found 替换classpath中间封号两边的值 cana 阅读全文
posted @ 2024-01-25 10:30 shenyixin 阅读(187) 评论(0) 推荐(0) 编辑
摘要:
<div class="n-blog__content p-relative" th:utext="${item.content}" > 阅读全文
posted @ 2024-01-18 19:38 shenyixin 阅读(42) 评论(0) 推荐(0) 编辑
摘要:
server { listen 80; server_name example.com; # HTTP重定向到HTTPS rewrite ^(.*)$ https://$host$1 permanent; } 阅读全文
posted @ 2023-12-27 14:02 shenyixin 阅读(3) 评论(0) 推荐(0) 编辑
摘要:
//复制到剪切板 function copyToClipboard(text) { var input = document.createElement('input'); input.setAttribute('readonly', 'readonly'); input.setAttribute( 阅读全文
posted @ 2023-12-23 21:41 shenyixin 阅读(156) 评论(0) 推荐(0) 编辑
摘要:
1、从某个commit拉取分支 git checkout -b <new branch name> <commit_id> 例:git checkout -b test_branch 1f0a24f01e5 2、推送到远程 git push -u origin 分支名 例:git push -u o 阅读全文
posted @ 2023-12-04 11:41 shenyixin 阅读(222) 评论(0) 推荐(0) 编辑
摘要:
0.查看所有的库 SHOW DATABASES; 1.设置客户端连接数据库的字符集 SET NAMES 'utf8'; 如果数据子的字符集是utf8,而客户端连接数据库的字符集是latin1,数据库中的中文就会出现乱码,类似????? 2.查看当前库下的所有表 show tables; SHOW F 阅读全文
posted @ 2023-11-01 12:07 shenyixin 阅读(46) 评论(0) 推荐(0) 编辑
摘要:
server { listen 8080; server_name localhost; location / { proxy_pass http://192.168.9.163:8899; } location /api/ { rewrite ^/api/(.*)$ /$1 break; prox 阅读全文
posted @ 2023-09-13 14:36 shenyixin 阅读(173) 评论(0) 推荐(0) 编辑