上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: 原文链接https://www.digitalocean.com/community/tutorials/how-to-install-and-use-sqlite-on-ubuntu-20-04 sudo apt update sudo apt install sqlite3 sqlite3 -- 阅读全文
posted @ 2023-01-05 17:39 simp00 阅读(97) 评论(0) 推荐(0)
摘要: console.log("普通函数方式"); var arr1 = [1, 2, 3, 4, 5]; arr1.forEach(function(e) { console.log(e); }); console.log("箭头函数方式"); var arr2 = [1, 2, 3, 4, 5]; a 阅读全文
posted @ 2023-01-05 14:59 simp00 阅读(69) 评论(0) 推荐(0)
摘要: Websocke 是HTML5开始提供的一种在单个TCP连接上进行全双工通讯的协议 在WebSocket API 中 浏览器和服务器只需要完成一次握手,两者之间就可以创建持久性的链接,并进行双向传输数据。 浏览器通过JavaScript向服务器发出建立WebSocket连接的请求,连接建立后,客户端 阅读全文
posted @ 2022-12-10 18:05 simp00 阅读(72) 评论(0) 推荐(0)
摘要: #插件 Prettier Code Formatter 使用 Prettier 来统一代码风格,当保存 HTML/CSS/JavaScript 文件时,它会自动调整代码格式。 Live Server :在本地开发环境中,实时重新加载(reload)页面。 阅读全文
posted @ 2022-12-10 16:19 simp00 阅读(16) 评论(0) 推荐(0)
摘要: #include<filesystem> namespace fs = std::filesystem; 解决方法: https://stackoverflow.com/questions/53201991/how-to-use-stdfilesystem-on-gcc-8 实际是需要在编译的时候加 阅读全文
posted @ 2022-11-25 16:52 simp00 阅读(273) 评论(0) 推荐(0)
摘要: install sudo apt install doxygen sudo apt install graphviz use cd src# src is the code dir doxygen -g Doxygen.config #gengerate the default config fil 阅读全文
posted @ 2022-11-24 16:42 simp00 阅读(69) 评论(0) 推荐(0)
摘要: 不断运行与调试代码的时候 需要查询pid 并kill这个程序 就做了这个shell脚本 #!/bin/bash target=$1 ps -ef|grep -v grep|grep ${target} |awk '{print $2}'|while read pid do kill -9 $pid 阅读全文
posted @ 2022-11-24 09:28 simp00 阅读(28) 评论(0) 推荐(0)
摘要: 修改/etc/profile.d/xxx.sh export HOME=/home/xxx export PATH=$PATH:$HOME:$HOME export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME 阅读全文
posted @ 2022-11-18 11:19 simp00 阅读(592) 评论(0) 推荐(0)
摘要: 文件放在*/etc/init.d/*路径下 #!/bin/sh - # # ubuntu-fan Start/Stop Ubuntu FAN Networking # # chkconfig: 345 98 01 # description: Starts/Stops Ubuntu FAN Netw 阅读全文
posted @ 2022-11-15 19:43 simp00 阅读(104) 评论(0) 推荐(0)
摘要: #include <sys/types.h> #include <sys/stat.h> #include <time.h> #include <stdio.h> #include <stdlib.h> #include <sys/sysmacros.h> int main(int argc, ch 阅读全文
posted @ 2022-11-01 09:58 simp00 阅读(30) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 15 下一页