自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(29)
  • 资源 (5)
  • 问答 (1)
  • 收藏
  • 关注

原创 linux bash 没有那个文件或目录

linux bash 没有那个文件或目录

2022-06-26 15:11:25 752 1

原创 openwrt 最简设置ipv6

openwrt 最简设置ipv6

2022-06-23 21:54:40 8581 1

原创 Clion 各种操作缓慢解决方案

解决方案右下角 可用解析上下文选择MinGW编译可以正常用Visual Studio

2022-04-05 15:50:38 3248

原创 oh my zsh 安装 zsh-completions

1 git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions2..zshrc中添加插件 zsh-completions3.运行autoload -U compinit && compinit4.结果如下

2022-04-03 00:23:56 3565

原创 python 输出重定向

代码在github:https://github.com/xiaoxidashen/PythonOutputRedirect效果

2022-03-20 22:10:26 890

原创 Python 代理模式

1.基本实现from typing import Anyclass Origin: o: str = 'o1' def o1(self): return self.o def o2(self): return 'o2'class Proxy: self_attrs: list = None origin_obj = None def __init__(self, o) -> None:

2022-03-20 19:53:11 563

原创 Spring Devtools 简单使用

1.引入依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <version>2.6.3</version></dependency>2.修改代码后点击

2022-02-19 19:27:23 360

原创 安卓 xml 转 JSON

用org.json,重新编译源码,换个包名

2021-12-19 01:46:24 1223

原创 Quasar prerender-spa-plugin 踩坑指南

先讲正确的配置:1.App.vue里面添加mounted() { document.dispatchEvent(new Event('render-event'));//加载完发布这个事件 }添加位置如图2.使用@dreysolano/prerender-spa-plugin 而不是原版的prerender-spa-plugin,原因是:原版有bug,详情见[prerender-spa-plugin] Unable to prerender all routes..

2021-12-13 04:56:20 1393

原创 Python unittest 测试方法 按照顺序执行

def testFunOrder(x, y): xs = re.findall(r"(\d+)", x) ys = re.findall(r"(\d+)", y) if len(xs) > 0 and len(ys) > 0: return int(xs[0]) - int(ys[0]) else: return (x > y) - (x < y)unittest.TestLoader.sortTestMetho.

2021-10-30 21:06:55 342

原创 Vue 中 sync中的巨坑

在使用sync给数组元素同步时,错误用法如下:<xxx v-for="(v,k) in arr" :ppp.sync="v" ></xxx>正确用法如下:<xxx v-for="(v,k) in arr" :ppp.sync="arr[k]" ></xxx>因为 sync 是语法糖,会被扩展成:ppp.update="val=>arr[k]=val"赋值给v的话只能使v指向新的对象,而无法改变原数组内容...

2021-07-06 15:44:04 509

原创 mybatis 打印详细日志(包括sql返回值)

logging.level.root=infologging.level.xxxxxx=tracexxxxxx是项目根包

2021-05-24 18:24:57 462

原创 Mysql 树状/嵌套评论数据库设计(树状结构的查询子树) 较好的方案实践

前提 需要 Mysql81.评论数据库设计1.1 mysql导出的文件,大家可以导入尝试SET NAMES utf8mb4;SET FOREIGN_KEY_CHECKS = 0;-- ------------------------------ Table structure for testcomment-- ----------------------------DROP TABLE IF EXISTS `testcomment`;CREATE TABLE `testcomme

2021-03-18 23:34:47 779

原创 mybatis plus 设置mapper 在java目录下

1. build.gradle 加入processResources { from('src/main/java') { include '**/*.xml' }}2. application.yml 配置mybatis-plus: mapper-locations: classpath*:com/example/demo1/mapper/*.xml

2021-03-16 13:02:32 820

原创 springboot Axios post 传递数据 ,使用x-www-form-urlencoded,非json

前端 (需要qs库)const t = { title: "vue", content: "123" , tags: ["66", "777"] }; request({ url: "/bmsPost/sendPost", method: "post", data: qs.stringify(t, {arrayFormat: 'indices'}) });后端@Req

2021-03-15 14:48:08 388

原创 mybatis mybatis-plus 配置映射等级 ResultMap不用写所有字段

Springboot yml配置文件中mybatis-plus配置,mybatis 类似,大家自己找下,mybatis-plus: configuration: auto-mapping-behavior: fullhttps://mybatis.org/mybatis-3/zh/sqlmap-xml.html#Auto-mapping

2021-03-14 00:11:30 1645

原创 Java8 自定义收集器 (自定义 Collector)

List<User> users = Arrays.asList( new User("张三", 1), new User("李四", 2), new User("王五", 3) ); /** * Collector<T, A, R> * Collector接口有三个泛型,它们的含义如下: *

2021-03-09 21:02:47 188

原创 Vue-Cli2 中使用Jquery 踩坑总结

1.安装Jquerynpm install jquery --save2.在项目根目录下新建vue.config.js(如果有就不用)// vue.config.jsconst webpack = require("webpack");module.exports = { configureWebpack: { plugins: [ new webpack.ProvidePlugin({ $: "jquery

2021-03-07 11:39:40 369

原创 解决idea thymeleaf html页面报错,和不代码提示

解决方案:使用 Map 传参 不使用 HttpServletRequest之前 @RequestMapping("/hello2") public String hello2(HttpServletRequest request) { request.setAttribute("user", new User("zhangsan", 23)); return "hello2"; }之后 @RequestMapping(...

2021-03-02 11:36:47 1115

原创 windows10 给指定扩展名扩展名添加右键菜单

示例命令 "C:\python.exe" "E:\main.py" "%1"系统默认变量的含义:%1 表示程序操作的文件%2 表示系统默认的打印机%3 表示资料扇区%4 表示操作的Port端口%v 程序操作的路径

2020-10-14 15:57:42 1122

原创 adb 设置代理 和 关闭代理 无需重启

设置代理adb shell settings put global http_proxy ip:端口关闭代理(无需重启)adb shell settings put global http_proxy :0

2020-07-14 22:55:22 6805 2

原创 使用Class对象来创建数组的方法

创建Class数组的方法反射的时候有参数类似 String[] args,有这个类的可以String[].class这样写,有些只能反射拿到Class对象的,就不能这样了,找了下,这里记录下相关链接:Stackoverflow Get type of array of class using Java reflection [duplicate]Stackoverflow How to...

2020-03-04 17:09:22 2552

原创 Xposed 模块编写

1.在app的build.gradle的dependencies内添加compileOnly 'de.robv.android.xposed:api:82'compileOnly 'de.robv.android.xposed:api:82:sources'2.在AndroidManifest.xml的application内添加<!-- 是否是xposed模块,xposed根据这...

2020-02-18 17:15:52 450

原创 JAVA动态代理

基础实现package xxx.xxx;import java.lang.reflect.InvocationHandler;import java.lang.reflect.Method;import java.lang.reflect.Proxy;public class Test { public static void main(String[] args) {...

2020-02-13 12:41:43 101

原创 获得特定包名的入口activity

获得特定包名的入口activityIntent intent = new Intent(Intent.ACTION_MAIN, null);intent.addCategory(Intent.CATEGORY_LAUNCHER);intent.setPackage("cn.a27px.xposedtest");Context context = getApplicationContex...

2020-02-12 15:12:29 227

原创 深度学习环境搭建极简教程(win10+cuda_9.0)

深度学习环境搭建极简教程(win10+cuda_9.0)开始入深度学习的坑了,记录一次环境搭建记录Python环境CUDA 9.0CuDNN安装Keras和Tensorflow-GPUHello World开始入深度学习的坑了,记录一次环境搭建记录看着别的博客安装贼复杂,我这个算是贼简单。Python环境直接安装Python 3.6.8 64位,不需要安装臃肿的Anaconda,因为我的网...

2019-01-13 02:44:36 913

转载 (转载)VC++ 全系列

 版权声明:本文为博主原创文章,未经博主允许不得转载。    https://blog.csdn.net/qiangzi4646/article/details/80108141Visual C++ 2005 Redistributables can be downloaded from the below locationsx868.0.50727.42: https://www.mic...

2019-01-04 14:23:45 20394

原创 python matplotlib 双Y轴 以及 曲线标志位置

import numpy as npimport matplotlib.pyplot as pltx = np.arange(0, 5, 0.1) # 生成一个numpy数组对象,0到5,间隔为0.1y1 = np.sin(x)y2 = np.cos(x)plt.plot(x, y1, label='sin', color='red')plt.legend(loc=3) #...

2018-09-24 14:17:32 5061

原创 VS2017 生成DLL 供python 调用

VS2017 生成DLL 供python 调用

2017-11-22 10:53:51 3320 1

DDU v17.0.8.5

DDU v17.0.8.5

2019-01-13

DLL Export Viewer 1.66 汉化版

DLL Export Viewer 1.66 汉化版,机器翻译

2019-01-06

thc-ipv6-2.7.tar.gz Kali dnsdict6 工具

dnsdict6,在kali2中被移除,提供教程及安装文件 安装教程:http://blog.51cto.com/thinkpig007/1636385 thc-ipv6 其他版本 看我其他啊资源

2018-09-13

PHP最新官方中文API帮助文档带用户笔记2017最新版

后面的大段英文为用户笔记

2017-07-12

libcurl_lib_7.52.zip

libcurl 7.52 用vs2015已编译好lib目录下是 libcurl_a.lib 添加的时候改名使用没问题

2017-06-12

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除