上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: #插件 Prettier Code Formatter 使用 Prettier 来统一代码风格,当保存 HTML/CSS/JavaScript 文件时,它会自动调整代码格式。 Live Server :在本地开发环境中,实时重新加载(reload)页面。 阅读全文
posted @ 2022-12-10 16:19 simp00 阅读(11) 评论(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 阅读(179) 评论(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 阅读(37) 评论(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 阅读(22) 评论(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 阅读(565) 评论(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 阅读(75) 评论(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 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 介绍 HLS(HTTP Live Streaming) 协议是APPLE 提出的一种替代rtmp协议的直播传播协议 HLS 使用HTTP作为底层传输协议,传输的内容包括了m3u8文件和TS分片,其中m3u8文件用于记录可以播放哪些分片, M3u8解析 TS解析 ts分片中包含header+Paylo 阅读全文
posted @ 2022-10-19 16:49 simp00 阅读(497) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include <sys/stat.h> #include void test_copy_binary(std::string src,std::string dst){ std::ofstream ostrm(dst,std 阅读全文
posted @ 2022-10-18 17:23 simp00 阅读(26) 评论(0) 推荐(0) 编辑
摘要: inline bool exists_test0 (const std::string& name) { std::ifstream f(name.c_str()); return f.good(); } inline bool exists_test1 (const std::string& na 阅读全文
posted @ 2022-10-18 17:11 simp00 阅读(83) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 15 下一页