摘要: 临时保存密码 git config --global credential.helper cache 取消最近一次条件 git reset HEAD~1 git branch -vv 删除远端分支 git push origin --delete 删除文件夹的历史记录 git count-objec 阅读全文
posted @ 2023-10-26 17:47 ahuo 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 自定义hosts /etc/custom_hosts127.0.0.1 a.a.a127.0.0.1 a.b.b /etc/init.d/dnsmasq reload home目录 mkdir -p /userdisk/root/rc.local添加mount /userdisk/root/ /ro 阅读全文
posted @ 2020-03-01 16:45 ahuo 阅读(839) 评论(0) 推荐(0) 编辑
摘要: !devnode \DEVICE\{A4F74E3A-7A5D-4BFA-8B76-AC26F16DE201}Dumping IopRootDeviceNode (= 0x81ebdce0)DevNode 0x81ebdce0 for PDO 0x81ebde18 Parent 0000000000 Sibling 0000000000 Child 0x81ebd840 InstancePath is "HTREE\ROOT\0" State = DeviceNodeStarted (0x308) Previous State = DeviceNodeEnumerateCo 阅读全文
posted @ 2011-04-10 20:58 ahuo 阅读(880) 评论(2) 推荐(0) 编辑
摘要: 有一台服务器安装了360然后就出现了固定频率的死机现象,周期大概为20天左右,机器一定要重启才能恢复,然后使用poolmon进行了长时间的监控,发现tag为SFnb的驱动程序有严重的内存泄露,最终定位到360的驱动qutmdrv.sys(MD5:607da1beec4df3b2d76bcffa20f11e0b)有规律的故障日志:分析过程看到换页池(paged pool)确实在异常消耗。日志记录从9... 阅读全文
posted @ 2010-09-29 14:48 ahuo 阅读(3439) 评论(1) 推荐(1) 编辑
摘要: .extpath 扩展模块搜索路径 .ecxr;kb !analyze -v~ - 列举出当前进程上下文中的所有线程~* - 列举出当前进程上下文中的所有线程的详细信息lm - 列举出所有加载的模块!sym noice/quiet - 代码提示开关.srcpath -设置源码路径k - 显示当前堆栈 阅读全文
posted @ 2010-05-19 11:44 ahuo 阅读(8714) 评论(4) 推荐(1) 编辑
摘要: 原理就是动态改变程序在内存中的值来实现。要用到一下汇编的知识。用工具跟踪程序的代码[0012FED0]这个就是要修改的值得内存地址,每次启动都不同。DWORDhProcId;HWNDhWnd=::FindWindow(NULL,"游戏名");//得到窗口句柄DWORDA1=100;//值要改为100if(hWnd==FALSE){MessageBox("游戏没有运行!");}else{GetWin... 阅读全文
posted @ 2007-05-27 17:12 ahuo 阅读(1578) 评论(1) 推荐(0) 编辑
摘要: WMI 测试器 (wbemtest.exe)WMI 命令行工具 (wmic.exe)wmic:root\cli>process /?PROCESS - 进程管理。提示: BNF 的别名用法。(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) ... 阅读全文
posted @ 2007-03-11 13:52 ahuo 阅读(2816) 评论(5) 推荐(0) 编辑
摘要: Detours使用说明由于原版是英文,所以翻译时不能完全正确,同时也加入本人的见解。我用的是Detours 1.5,这个版本的LIB要重新编译才能使用不然会提示连接出错。库的源文件在src里,把它重新编译一次可生成DETOURS.LIB和头文件。这是关键不然用了LIB文件夹的库文件你就搞爆头也总是出错。本人经验。在SAMPLES里有很多例子。你要把它完全搞懂那你肯定是高手,往下的就不要看了,呵呵。... 阅读全文
posted @ 2006-11-25 20:02 ahuo 阅读(4100) 评论(0) 推荐(0) 编辑
摘要: INT AH 功能 调用参数 返回参数 10 0 设置显示方式: AL6~0为显示模式号,1.AL7=0:先清屏,再转为新模式 2.AL7=1:不清屏,直接转为新模式 AL=00 40×25黑白方式 AL=01 40×25彩色方式 AL=02 80×25黑白方式 AL=03 80×25彩色方式 AL=04 320×200彩色图形方式 AL=05 3... 阅读全文
posted @ 2006-05-28 23:36 ahuo 阅读(723) 评论(0) 推荐(0) 编辑
摘要: 1、安装timeout:opkg install coreutils-timeout 2、进入/etc/netdata 3、使用./edit-config charts.d.conf来编辑配置文件,这个edit-config等于是一个配置工具能够从/usr/lib拉取默认配置过来,在配置里最后加入s 阅读全文
posted @ 2024-03-25 20:46 ahuo 阅读(5) 评论(0) 推荐(0) 编辑
摘要: version: '3' services: ubuntu-lxde-novnc: image: docker-ubuntu-lxde-novnc:latest container_name: ubuntu-lxde-novnc restart: always privileged: true en 阅读全文
posted @ 2024-03-21 16:39 ahuo 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 串口输入:fiq Welcome to irq debugger mode Enter ? to get command help debug> debug> ? FIQ Debugger commands: pc PC status regs Register dump allregs Exten 阅读全文
posted @ 2024-03-19 16:33 ahuo 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-03-18 15:28 ahuo 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 函数2 var tk = msg.payload.access_token msg.headers = {}; msg.headers['Authorization'] = "ABC"+tk; msg.payload = {} return msg; 函数1 msg.headers = {}; ms 阅读全文
posted @ 2024-03-15 11:18 ahuo 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 尝试修改MTU后恢复正常 ifconfig enp2s0 mtu 900 阅读全文
posted @ 2024-03-13 16:18 ahuo 阅读(19) 评论(0) 推荐(0) 编辑
摘要: /work/share /work/share-ol overlay rw,lowerdir=/work/share,upperdir=/F/upper,workdir=/F/work 0 0 阅读全文
posted @ 2024-03-01 14:48 ahuo 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-02-18 10:35 ahuo 阅读(2) 评论(0) 推荐(0) 编辑
摘要: https://files.cnblogs.com/files/ahuo/noVNC-v1.4.0.zip ./utils/novnc_proxy --listen 8080 --vnc 10.0.1.111:5901 http://10.0.1.111:8080/vnc.html?host=bui 阅读全文
posted @ 2024-02-04 14:39 ahuo 阅读(6) 评论(0) 推荐(0) 编辑
摘要: SPI Nor Flash 》SPI Nand Flash 》Nand Flash 》EMMC Flash 》SDMMC Card 阅读全文
posted @ 2024-02-04 10:16 ahuo 阅读(9) 评论(0) 推荐(0) 编辑
摘要: docker-compose.yml version: '3' services: emqx1: image: emqx/emqx:5.3.2 container_name: emqx restart: always environment: - TZ=Asia/Shanghai - "EMQX_N 阅读全文
posted @ 2024-01-24 15:48 ahuo 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #CAopenssl genrsa -out cacert.key 2048openssl req -x509 -new -nodes -key cacert.key -sha256 -days 3650 -subj "/CN=MyCA" -out cacert.pem #Serveropenssl 阅读全文
posted @ 2024-01-18 16:25 ahuo 阅读(2) 评论(1) 推荐(0) 编辑
摘要: flash中读取dump idf.py coredump-debug -p COM19 -s c.dump gdb分析 tools\xtensa-esp-elf-gdb\xtensa-esp32-elf-gdb.exe --core=G:\c.dump --directory=G:\ESP32-SR 阅读全文
posted @ 2024-01-09 16:28 ahuo 阅读(10) 评论(0) 推荐(0) 编辑
摘要: ntp.tencent.comntp1.tencent.comntp2.tencent.comntp3.tencent.comntp4.tencent.comntp5.tencent.com ntp.aliyun.com 阅读全文
posted @ 2024-01-07 16:37 ahuo 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-01-02 14:48 ahuo 阅读(7) 评论(0) 推荐(0) 编辑