导航

2025年2月10日

摘要: 1、emsdk下载和安装 执行git clone https://github.com/emscripten-core/emsdk.git,若无法连接github.com,可以采用替代方法:git clone https://gitclone.com/github.com/emscripten-co 阅读全文

posted @ 2025-02-10 02:11 十斗米 阅读(105) 评论(0) 推荐(0)

2025年1月22日

摘要: <button id="make-promise">Make a promise!</button> <div id="log"></div> "use strict" ; let promiseCount = 0; function testPromise() { const thisPromis 阅读全文

posted @ 2025-01-22 09:45 十斗米 阅读(10) 评论(0) 推荐(0)

2023年6月6日

摘要: 1、gcc -E - -v < /dev/null :查看当前编译器的标准搜索路径。 2、-m64/-m32 : 编译为64位或32位程序 3、-fexec-charset=GBK:指定编译文件中的字符串常量的编码方式 阅读全文

posted @ 2023-06-06 14:10 十斗米 阅读(35) 评论(0) 推荐(0)

2023年1月5日

摘要: 一、常用命令 1、查看数据库默认编码 show variables like 'character%'; show variables like 'collation%'; 2、启动停止数据库 /etc/init.d/mysql start (stop) 3、创建数据库 create databas 阅读全文

posted @ 2023-01-05 13:52 十斗米 阅读(255) 评论(0) 推荐(0)

2022年10月9日

摘要: 一、磁盘检测 cmd-->chkdsk 二、磁盘修复 cmd-->sfc/scannow 三、删除缓存文件 运行-->%temp% 阅读全文

posted @ 2022-10-09 13:09 十斗米 阅读(228) 评论(0) 推荐(0)

2021年10月13日

摘要: 1、通过代理下载git源码 export http_proxy=http://127.0.0.1:1087 git config --global http.proxy http://127.0.0.1:1087 git config --global https.proxy http://127. 阅读全文

posted @ 2021-10-13 09:10 十斗米 阅读(49) 评论(0) 推荐(0)

2021年8月13日

摘要: 1、redis-server redis.conf 启动服务 2、redis.conf中 requirepass 项设置密码 3、redis-cli -> shutdown 关闭服务 4、redis-cli -> auth 密码 使用密码登录 阅读全文

posted @ 2021-08-13 12:01 十斗米 阅读(34) 评论(0) 推荐(0)

2021年8月9日

摘要: 1、nginx -t -c nginx.conf 判断配置文件是否正确 2、nginx -s reload 修改配置后重启nginx服务 3、start nginx 开启服务 4、nginx -s stop 关闭服务 5、nginx -s reopen 重新打开 6、taskkill /IM ngi 阅读全文

posted @ 2021-08-09 16:54 十斗米 阅读(43) 评论(0) 推荐(0)

2017年4月24日

摘要: 1.检查是否有僵尸进程 ps -emo THREAD | grep -i Z | grep -i 实例名 2.处理死锁 --第一步:查看所有死锁 db2 get snapshot for locks on <db_name> select agent_id,tabname,lock_mode fro 阅读全文

posted @ 2017-04-24 10:36 十斗米 阅读(1962) 评论(0) 推荐(0)

2016年7月21日

摘要: 1、查看机器硬盘和内存信息命令 :lspv :lsdev -Cc disk :lsattr -El hdisk0 :lscfg -vl hdisk0 : bootinfo -s hdisk0 硬盘容量,单位MB :bootinfo -r 系统的总物理内存大小(需root权限) 或者 lsattr - 阅读全文

posted @ 2016-07-21 14:44 十斗米 阅读(1368) 评论(0) 推荐(0)