上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 38 下一页
摘要: 格式先这样吧,没精力整理了 Warning: couldn't open ppp database /var/run/ppp/pppd2.tdbpppd[6354]: pppd 2.4.5 started by root, uid 0Using interface ppp0Connect: ppp0 阅读全文
posted @ 2021-06-07 13:05 浅笑19 阅读(2621) 评论(0) 推荐(0)
摘要: 1、先拥有一个centos的linux 各个门派方法略有不同需要自己实践 2、安装ppp协议, iptables防火墙, pptpd服务器 yum install ppp pptpd iptables -y 3、配置pptp vi /etc/pptpd.conf 去掉前面#号 #localip 19 阅读全文
posted @ 2021-06-07 13:01 浅笑19 阅读(2678) 评论(0) 推荐(0)
摘要: 手动快捷键 Ctrl + Alt + O 配置自动清理 Ctrl + Alt + S 打开设置 然后,进行如下配置操作: 批量删除指定目录下无用的import包 使用idea一次性清理所有java文件中多余导入未使用的包,首先ctrl+alt+s打开设置界面,红框中的位置打勾,如图: 点击ok后关闭 阅读全文
posted @ 2021-05-31 09:54 浅笑19 阅读(8517) 评论(0) 推荐(1)
摘要: <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.5.0</version> <scope>test</scope> </dependency 阅读全文
posted @ 2021-05-28 11:12 浅笑19 阅读(1613) 评论(0) 推荐(0)
摘要: 环境 Centos7.7 下载文件,使名称一致 可以使用curl下载文件的相同名称作为本地文件名。可以用-O选项。 [root@localhost ~]# curl http://mirrors.163.com/centos/8.1.1911/isos/x86_64/CentOS-8.1.1911- 阅读全文
posted @ 2021-05-27 16:46 浅笑19 阅读(5823) 评论(0) 推荐(0)
摘要: 解决方案1 SELECT * FROM (SELECT * from tb_dept ORDER BY id desc LIMIT 100000) a GROUP BY parent_id order by id;// 注: 不加 limit 可能会导致结果不正确> 解决方案2 SELECT b.* 阅读全文
posted @ 2021-05-26 10:20 浅笑19 阅读(144) 评论(0) 推荐(0)
摘要: npm i qs 首先找到axios.js,加如下代码: if (config.method 'get') { // 如果是get请求,且params是数组类型如arr=[1,2],则转换成arr=1&arr=2 config.paramsSerializer = function(params) 阅读全文
posted @ 2021-05-12 17:08 浅笑19 阅读(729) 评论(0) 推荐(0)
摘要: public static String getSha1(String str){ if(str==null||str.length()==0){ return null; } char hexDigits[] = {'0','1','2','3','4','5','6','7','8','9', 阅读全文
posted @ 2021-05-12 17:02 浅笑19 阅读(209) 评论(0) 推荐(0)
摘要: const data = new FormData(); data.append('file', this.fileInput.current.files[0]); //相当于 input:file 中的name属性 fetch('http://127.0.0.1:3001/file/upload' 阅读全文
posted @ 2021-05-12 16:57 浅笑19 阅读(690) 评论(0) 推荐(0)
摘要: /** * 获取网络图片并转为Base64编码 * * @param url * 网络图片路径 * @return base64编码 * @throws Exception */ public static String GetUrlImageToBase64(String url) throws 阅读全文
posted @ 2021-05-12 16:45 浅笑19 阅读(915) 评论(0) 推荐(0)
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 38 下一页