kehuadong

上一页 1 2 3 4 5 6 7 8 ··· 15 下一页

2024年8月2日

十万个为什么 [php] Ubuntu Apache2开启php错误打印

摘要: 在Ubuntu下php的缺省设置是不显示错误信息的,如果程序出错会显示“无法处理此请求的错误提示”,这在开发环境下非常不方便。 其实我们只要编辑下apache的配置文件就好 1、我的apache 配置文件目录是/etc/apache2/apache2.conf sudo vim /etc/apach 阅读全文

posted @ 2024-08-02 11:46 kehuadong 阅读(1) 评论(0) 推荐(0) 编辑

2024年8月1日

十万个为什么 [php] 绿色安装

摘要: 1. 下载php源码 axel -n 3 https://www.php.net/distributions/php-8.3.9.tar.xz 2. 配置源码 ./configure --prefix=/root/green/php-8.3.9 --enable-cli --enable-cgi - 阅读全文

posted @ 2024-08-01 13:36 kehuadong 阅读(5) 评论(0) 推荐(0) 编辑

2024年7月30日

十万个为什么 [ubuntu] 32位运行库

摘要: sudo apt install gcc-multilib 阅读全文

posted @ 2024-07-30 01:45 kehuadong 阅读(3) 评论(0) 推荐(0) 编辑

十万个为什么 [wsl] 配置

摘要: .wslconfig [wsl2] memory = 4GB processors = 4 指定用户登录 wsl -u khd 或者 登陆后修改 sudo vim /etc/wsl.conf [user] default = khd 然后wsl --shutdown重启 阅读全文

posted @ 2024-07-30 01:42 kehuadong 阅读(6) 评论(0) 推荐(0) 编辑

2024年7月29日

[十万个为什么] win11恢复win10右键菜单

摘要: 管理员运行命令:reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve 重启就恢复win10右键了 reg.exe delete "HKCU\Soft 阅读全文

posted @ 2024-07-29 22:51 kehuadong 阅读(11) 评论(0) 推荐(0) 编辑

[十万个为什么] linux 以 16进制打印串口数据

摘要: stty -F /dev/ttyS0 115200cat /dev/ttyS0 | hexdump -C 阅读全文

posted @ 2024-07-29 16:53 kehuadong 阅读(1) 评论(0) 推荐(0) 编辑

[十万个为什么] [lua] packfield

摘要: local function print_pack_field(s) local cnt = s:byte(5) for i = 1, #s do if i == 1 then io.write(" size: ") elseif i == 5 then io.write("\n cnt: ") e 阅读全文

posted @ 2024-07-29 16:21 kehuadong 阅读(3) 评论(0) 推荐(0) 编辑

2024年7月25日

[十万个为什么] [vscode] ubuntu18.04 找不到GLIBC_2.28解决方法

摘要: Ubuntu 18.04 出现GLIBC_2.28 not found的解决方法(亲测有效)_ubuntu18.04安装glibc2.28崩溃-CSDN博客 1. 添加apt源到/etc/apt/sources.list 最后面 deb http://security.debian.org/debi 阅读全文

posted @ 2024-07-25 10:55 kehuadong 阅读(49) 评论(0) 推荐(0) 编辑

[十万个为什么] [vscode] 格式化格式

摘要: {BaseOnStyle: Webkit, UseTab: Always, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, IndentCaseLabels: true, ColumnLimit: 120} 阅读全文

posted @ 2024-07-25 00:41 kehuadong 阅读(1) 评论(0) 推荐(0) 编辑

2024年7月24日

[十万个为什么] [lua] 自定义byte_buffer

摘要: #include "lprefix.h" #include "lua.h" #include "lauxlib.h" #include "lualib.h" #define BYTE_BUFFER_META_TABLE_NAME "byte_buffer*" #define GET_BYTE_BUF 阅读全文

posted @ 2024-07-24 11:52 kehuadong 阅读(6) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 15 下一页

导航