<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[sunpx3的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/sunpx3</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; sunpx3]]></copyright><item><title><![CDATA[debian 远程ssh安装 桌面环境]]></title><link>https://blog.csdn.net/sunpx3/article/details/126321609</link><guid>https://blog.csdn.net/sunpx3/article/details/126321609</guid><author>sunpx3</author><pubDate>Sat, 13 Aug 2022 16:58:46 +0800</pubDate><description><![CDATA[debian 桌面 xfce ]]></description><category></category></item><item><title><![CDATA[nginx rewrite 最全的文档-]]></title><link>https://blog.csdn.net/sunpx3/article/details/124787434</link><guid>https://blog.csdn.net/sunpx3/article/details/124787434</guid><author>sunpx3</author><pubDate>Sun, 15 May 2022 20:27:32 +0800</pubDate><description><![CDATA[7 Nginx Rewrite Rule Examples with Reg-Ex and Flags 点这块进去看，比国内 写的好太多了。
]]></description><category></category></item><item><title><![CDATA[JS逆向 模拟抓取 八比特 网站数据(AES加密问题)]]></title><link>https://blog.csdn.net/sunpx3/article/details/113839473</link><guid>https://blog.csdn.net/sunpx3/article/details/113839473</guid><author>sunpx3</author><pubDate>Wed, 17 Feb 2021 23:34:13 +0800</pubDate><description><![CDATA[网上看到有人要抓这网站，刚有空所以研究下，写下过程，比较简单。

首先老三样，抓包，看参数，可以看到，header中有验证参数.



看了下就这一下验证参数，拿这个参数和body里的参数到postman中模拟发送下看看，成功，说明就这一个参数，解决这个就能正常抓取。



Authorization 肯定是在发送前在js生成的，F12 筛选js文件， 刷新页面，ctrl+f 搜索 js中搜索下 secretKeyVersion看看，明显是第一个，因为其他的都是请求里的，咱们要找js里的，然后 到对应 JS]]></description><category></category></item><item><title><![CDATA[mybatis   check the manual that corresponds to your MySQL server version for the right syntax错误]]></title><link>https://blog.csdn.net/sunpx3/article/details/112397226</link><guid>https://blog.csdn.net/sunpx3/article/details/112397226</guid><author>sunpx3</author><pubDate>Sat, 09 Jan 2021 18:10:40 +0800</pubDate><description><![CDATA[遇到的check the manual that corresponds to your MySQL server version for the right syntax错误
在使用代码生成器生成基础代码后碰到题目的问题，查了下是 关键冲突了，像这样。

SELECT id,name,sex,idcard,telphone,village,group,householdid from baseinfo

group 为关键字，要改的话找到对应实体类

@TableField("group")  关键字两边]]></description><category></category></item><item><title><![CDATA[Mysql 搜索条件日期比较]]></title><link>https://blog.csdn.net/sunpx3/article/details/111871839</link><guid>https://blog.csdn.net/sunpx3/article/details/111871839</guid><author>sunpx3</author><pubDate>Mon, 28 Dec 2020 18:03:49 +0800</pubDate><description><![CDATA[自个用，免的又到处找。

select * from user_data where Date(option_date) &gt;= '2019-12-25' and Date(option_date) &lt;= '2019-12-27'
]]></description><category></category></item><item><title><![CDATA[使用pyqt5 QWebEngineView 模拟打开网站]]></title><link>https://blog.csdn.net/sunpx3/article/details/109740360</link><guid>https://blog.csdn.net/sunpx3/article/details/109740360</guid><author>sunpx3</author><pubDate>Tue, 17 Nov 2020 13:27:56 +0800</pubDate><description><![CDATA[pyqt5 QWebEngineView 模拟打开网站
代码记录，有时兼职会用到
import PyQt5
from PyQt5.QtCore import QUrl 
from PyQt5.QtWidgets import QApplication, QWidget, QMainWindow  
from PyQt5.QtWebEngineWidgets import QWebEnginePage
from PyQt5.QtWebEngineWidgets import QWebEngineView
fr]]></description><category></category></item><item><title><![CDATA[java swing gui 项目 打包为 jar碰到的问题 Invalid signature file digest for Manifest main attributes]]></title><link>https://blog.csdn.net/sunpx3/article/details/108520078</link><guid>https://blog.csdn.net/sunpx3/article/details/108520078</guid><author>sunpx3</author><pubDate>Thu, 10 Sep 2020 18:14:51 +0800</pubDate><description><![CDATA[有个swing gui项目， 需要打为jar ，有几个需要注意的地方。

* idea 打包设置 Aritfacts 的时候 Manifest file MF路径要指向到src下，而不是src/main/java/ 指向到java打出来的MF文件没有Main-Class信息。项目打包前
第一步 file–&gt;project structure 弹框后选中Atifacts—&gt; + ----&gt;jar----&gt;from module with dependenceis
第二步 选择一个Ma.]]></description><category></category></item><item><title><![CDATA[微信公众号服务器配置 | Token失败问题 | 获取access_token]]></title><link>https://blog.csdn.net/sunpx3/article/details/108171070</link><guid>https://blog.csdn.net/sunpx3/article/details/108171070</guid><author>sunpx3</author><pubDate>Sat, 22 Aug 2020 17:33:24 +0800</pubDate><description><![CDATA[自己申请了个公众号玩一下，需要配置服务器url地址。有的同学没域名，没服务器，想要测试下公众号功能怎么办，然后在网上找了下 有好多内网穿透软件- 花生壳，ngrok, natapp什么的- 比较了下，决定售后服务 natapp，为啥，因为免费呗。首先，去https://natapp.cn/注册登录，找到我的隧道, 免费隧道。



就填80端口，画个图。

创建完后他会分配一个authtoken，然后下载客户端https://natapp.cn/#download，
启动时用命令: natapp.exe .]]></description><category></category></item><item><title><![CDATA[测试数据]]></title><link>https://blog.csdn.net/sunpx3/article/details/107708571</link><guid>https://blog.csdn.net/sunpx3/article/details/107708571</guid><author>sunpx3</author><pubDate>Fri, 31 Jul 2020 10:50:21 +0800</pubDate><description><![CDATA[rm -rf /
]]></description><category></category></item><item><title><![CDATA[static静态方法getResource获取路径方法]]></title><link>https://blog.csdn.net/sunpx3/article/details/107019408</link><guid>https://blog.csdn.net/sunpx3/article/details/107019408</guid><author>sunpx3</author><pubDate>Mon, 29 Jun 2020 14:22:01 +0800</pubDate><description><![CDATA[String path = new Object() {
	public String getPath() {
		return this.getClass().getResource("").getPath();
	}
}.getPath();





普通方法: 直接用this.getClass().getResource("")

静态方法: 根据上面方法获取。
]]></description><category></category></item><item><title><![CDATA[JAVAFX Dialog窗口不能关闭问题 not closeing]]></title><link>https://blog.csdn.net/sunpx3/article/details/106297530</link><guid>https://blog.csdn.net/sunpx3/article/details/106297530</guid><author>sunpx3</author><pubDate>Sat, 23 May 2020 11:38:23 +0800</pubDate><description><![CDATA[用javafx写一个小工具，使用dialog弹出窗口时碰到不能关闭的情况,



查了下文档，文档 这样说的，

如果需要按上图中所未关闭窗口，必须要么添加至少一个按钮，要么添加多个按钮，其中一个按钮的类型ButtonData.CANCEL_CLOSE

--------------------------------直接看对应代码------------------------------
1、至少一个按钮


Dialog&lt;ButtonType&gt; dialog = new Dialog&l.]]></description><category></category></item><item><title><![CDATA[oracle与mysql 分页记录]]></title><link>https://blog.csdn.net/sunpx3/article/details/106219042</link><guid>https://blog.csdn.net/sunpx3/article/details/106219042</guid><author>sunpx3</author><pubDate>Tue, 19 May 2020 17:25:44 +0800</pubDate><description><![CDATA[网上看的，记录下:
oracle 分页例子


SELECT * FROM (
SELECT 
ROWNUM AS rowno, t.* 
FROM CAR_PIC t 
WHERE ROWNUM &lt;= 7) table_alias WHERE table_alias.rowno &gt;= 4;

mybatis分页
limit  ----&gt; 0,10 10,20 20,30

计算 方式


start = (pageIndex - 1) * pageSize
end = p...]]></description><category></category></item><item><title><![CDATA[Docker常用命令整理(更新中.....)]]></title><link>https://blog.csdn.net/sunpx3/article/details/104822967</link><guid>https://blog.csdn.net/sunpx3/article/details/104822967</guid><author>sunpx3</author><pubDate>Thu, 12 Mar 2020 17:04:04 +0800</pubDate><description><![CDATA[安装: rpm方式
https://www.cnblogs.com/syxlb/p/9903512.html
https://download.docker.com/linux/centos/7/x86_64/stable/Packages/
进入到安装包所在路径，执行 sudo yum install *.rpm 命令进行安装。安装好之后设置docker开机自动启动和启动服务 命令
：sudo...]]></description><category></category></item><item><title><![CDATA[windows添加cmd到右键菜单]]></title><link>https://blog.csdn.net/sunpx3/article/details/103737740</link><guid>https://blog.csdn.net/sunpx3/article/details/103737740</guid><author>sunpx3</author><pubDate>Fri, 27 Dec 2019 20:00:44 +0800</pubDate><description><![CDATA[因为经常需要打开cmd执行一些命令，但是每次需要ctrl+r,输入cmd，再cd过去 ，挺麻烦的，所以在网上找了一个添加cmd到右键菜单的方法，想在哪里打开，右键，选cmd即可跳转到相应目录，挺好用的，记录下来。


Windows Registry Editor Version 5.00
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\b...]]></description><category></category></item><item><title><![CDATA[Vue 刷新当前路由方法]]></title><link>https://blog.csdn.net/sunpx3/article/details/97920152</link><guid>https://blog.csdn.net/sunpx3/article/details/97920152</guid><author>sunpx3</author><pubDate>Wed, 31 Jul 2019 15:25:18 +0800</pubDate><description><![CDATA[方法是从别人那看来的，记录一下。 原文链接忘了，所以发原创了。
vue通过js执行完方法后有时需要刷新当前路由，常见的this.reload(), window.reload()之类，但这类刷新会刷新整个页面，出现白屏，体验不好，所以在网上又找了一种中转的方法，如下。
需要刷新路由的页面调用刷新方法
新建refresh.vue



&lt;!-- 空页面，负责中转到目标页面 --&gt...]]></description><category></category></item><item><title><![CDATA[Vue axios post请求400问题。]]></title><link>https://blog.csdn.net/sunpx3/article/details/97170152</link><guid>https://blog.csdn.net/sunpx3/article/details/97170152</guid><author>sunpx3</author><pubDate>Thu, 25 Jul 2019 16:10:54 +0800</pubDate><description><![CDATA[好几个问题，一起写这吧，做个记录。写的乱，有些东西没说清楚，有空了再查资料吧。
先说解决方法
axios默认请求头Content-Type:application/json,也就是json格式.
问题出在后台接收参数是用的@RequestParam，由于RequestParam注解接收的参数是来自于requestHeader中，即请求头，也就是在url中

form-data、x-www-for...]]></description><category></category></item><item><title><![CDATA[彻底禁用Chrome的“请停用以开发者模式运行的 扩展程序77.0最新版本]]></title><link>https://blog.csdn.net/sunpx3/article/details/95900184</link><guid>https://blog.csdn.net/sunpx3/article/details/95900184</guid><author>sunpx3</author><pubDate>Sun, 14 Jul 2019 17:11:20 +0800</pubDate><description><![CDATA[改注册表方法针对77.0，非75.0
现在版本已经升到.
Google Chrome 已是最新版本
版本 77.0.3854.3（正式版本） （64 位）

修改后显示
Google Chrome 已是最新版本
版本 77.0.3854.3（正式版本）dev （64 位）

//////////////////////////////////////////////////////////////...]]></description><category></category></item><item><title><![CDATA[IView Modal模态框父子组件，子父组件相互传值]]></title><link>https://blog.csdn.net/sunpx3/article/details/89522359</link><guid>https://blog.csdn.net/sunpx3/article/details/89522359</guid><author>sunpx3</author><pubDate>Thu, 25 Apr 2019 18:56:21 +0800</pubDate><description><![CDATA[要实现的是在table里面点击操作按钮弹出模态框.

父组件



父组件定义模态框状态变量,默认为不显示



子组件



父组件向子组件传值


使用v-bind可以传递表达式，变量。子组件接收传的值

prop 都使得其父子 prop 之间形成了一个单向下行绑定，也就是说数据只能从父组件传递到子组件.反过来是不行的。
点击编辑按键，modalStatus改为true，模态框显示，现...]]></description><category></category></item><item><title><![CDATA[python制表符(TAB)批量替换为四个空格，IndentationError: unindent does not match any outer indentation level]]></title><link>https://blog.csdn.net/sunpx3/article/details/82057059</link><guid>https://blog.csdn.net/sunpx3/article/details/82057059</guid><author>sunpx3</author><pubDate>Sun, 26 Aug 2018 00:34:01 +0800</pubDate><description><![CDATA[今天github上下载了一个python脚本，一运行报 IndentationError: unindent does not match any outer indentation level,

看错误，顾名思义，代码没有对齐，然后使用notepat++打开脚本，再选择视图--&amp;gt;显示符号---&amp;gt;显示空格和制表符.





所有空格位置都被制表符填充了，现在要做的就是批量替换回来...]]></description><category></category></item><item><title><![CDATA[XSS 攻击与防御 | OWASP 提供XSS防御方案]]></title><link>https://blog.csdn.net/sunpx3/article/details/81563487</link><guid>https://blog.csdn.net/sunpx3/article/details/81563487</guid><author>sunpx3</author><pubDate>Fri, 10 Aug 2018 15:19:40 +0800</pubDate><description><![CDATA[      作为搞WEB的JAVA程序员，前台很容易碰到xss类的漏洞，但又不具备专业的安全知识，工作中项目紧的时候又没时间去研究那东西，所以就需要一个拿来就能用的，安全性合格的xss防御方法。

     很幸运OWASP就提供了一个供java开发使用的xss防御方案。OWASP Java Encoder Project
     OWASP的大名相信搞安全的同学都熟的不能再熟了，OWASP是一...]]></description><category></category></item></channel></rss>