悉野小楼

导航

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 31 下一页

2023年8月6日

[转]java调试

摘要: [原]https://www.cnblogs.com/yzlsthl/p/15193756.html 1 cpu、内存、io进程排查,使用 top、iotop、nethogs、iostat -x 1等命令2 慢sql优化,加索引,sql逻辑3 接口响应慢的,缓存4 执行时间长的定时任务,异步5 对3 阅读全文

posted @ 2023-08-06 19:02 悉野 阅读(30) 评论(0) 推荐(0)

[转]linux查看版本

摘要: 原文:https://www.cnblogs.com/opensmarty/p/10936315.html lsb_release -a 查看发行版本 lsb表示 linux standard base, -a表示显示全部 cat /proc/version 看内核版本 阅读全文

posted @ 2023-08-06 15:53 悉野 阅读(13) 评论(0) 推荐(0)

[转]windows与linux下 TCP端口转发

摘要: 原文: https://blog.csdn.net/cw_hello1/article/details/105968359 1.在window中,进行端口转发时,使用portproxy模式下进行配置。必须使用管理员身份运行下面的命令。 2.创建一个端口转发: netsh interface port 阅读全文

posted @ 2023-08-06 15:50 悉野 阅读(281) 评论(0) 推荐(0)

2023年7月25日

C++ 单例模式三种写法

摘要: #include <iostream> #include "Apple.h" #include "Singleton.h" #include "ActivityManager.h" #include "ResourceManager.h" using namespace MySpace; int m 阅读全文

posted @ 2023-07-25 22:04 悉野 阅读(262) 评论(0) 推荐(0)

2023年7月24日

vs2022使用cocos2d-x4.0创建新项目

摘要: cocos源码编译方法:cocos2d-x-4.0.zip解压到如:E:\cocos2d-x-4.0, 进入目录运行下setup.py设置cocos环境变量(这个要python2.x, 要先安装python)创建个目录, 如win32-build, 进入win32-build, 运行cmd, 然后再 阅读全文

posted @ 2023-07-24 13:03 悉野 阅读(1132) 评论(0) 推荐(0)

2023年6月20日

C#模拟QQ发送消息

摘要: 非QQ协议发送消息, 而是使用桌面qq, 然后程序模拟windows按键, 使用qq发送消息. 可以改为Cosole平台, OWIN接收信息, 给个人或群发送聊天信息. 程序流程:1.聊天内容复制到剪切板 2.遍历QQ窗口找到指定窗口 3.发送激活窗口命令, 模拟发送Ctrl+V, Ctrl+回车 阅读全文

posted @ 2023-06-20 19:20 悉野 阅读(485) 评论(0) 推荐(0)

2023年5月10日

ffmpeg合并视频

摘要: 先下载个ffmpeg 命令行: ffmpeg -f concat -i filelist.txt -c copy out\new.mp4 filelis.txt与ffmpeg.exe同一目录, 内容如下: file 'F:\Download\【日剧_11集全】\1.EP01-1_Av43870222 阅读全文

posted @ 2023-05-10 19:50 悉野 阅读(150) 评论(0) 推荐(0)

2023年4月21日

Unity Resources.Load

摘要: 图片路径必须是Assets\Resources目录下面的, 并且不能带扩展名 //E:\Assets\Resources\img\abc.jpg string filePath = "img/abc"; var texture = Resources.Load<Texture2D>(filePath 阅读全文

posted @ 2023-04-21 17:47 悉野 阅读(68) 评论(0) 推荐(0)

2022年11月22日

idea中springboot项目的application.properties没效果

摘要: 从svn中拉的源码, .idea文件夹没上传到svn, 拉下来后resources目录下的application.properties不起作用, 还是默认使用8080端口启动, 在resources目录上面右击, 选择Mark Directory As ->Resources Root, 可解决.  阅读全文

posted @ 2022-11-22 17:04 悉野 阅读(331) 评论(0) 推荐(0)

2022年1月20日

winform多线程修改界面lable

摘要: winform非主线程界面, 非主线程修改界面 方法1: 使用lamda表达式 this.lblFixStatus = new System.Windows.Forms.Label(); if(lblFixStatus.InvokeRequired) { lblFixStatus.Invoke(ne 阅读全文

posted @ 2022-01-20 17:26 悉野 阅读(399) 评论(0) 推荐(0)

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 31 下一页