摘要: using System; using System.Collections.Generic; using System.Threading; namespace 生产者消费者 { class Program { static int r; static Queue<int> q = new Que 阅读全文
posted @ 2021-06-16 10:15 supersdar 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 项目->属性->C/C++->语言->符合模式:否 阅读全文
posted @ 2021-06-04 10:27 supersdar 阅读(54) 评论(0) 推荐(0) 编辑
摘要: Queue myQ = new Queue(); myQ.Enqueue("The"); myQ.Enqueue("quick"); myQ.Enqueue("brown"); myQ.Enqueue("fox"); // 创建带锁读写器 Queue mySyncdQ = Queue.Synchro 阅读全文
posted @ 2021-06-03 10:04 supersdar 阅读(141) 评论(0) 推荐(0) 编辑
摘要: yum install net-tools ifconfig 安装ssh yum install -y openssl openssh-servervi /etc/ssh/sshd_config启用PermitRootLogin,PubkeyAuthentication 启动ssh的服务:syste 阅读全文
posted @ 2021-05-25 15:03 supersdar 阅读(36) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/01a22acb19eb string dbname = "Today"; var client = new MongoDB.Driver.MongoClient(connStr); IMongoDatabase db = client.GetDa 阅读全文
posted @ 2021-05-21 15:21 supersdar 阅读(44) 评论(0) 推荐(0) 编辑
摘要: https://gitee.com/wings-j/Clipboard198 <script src='./Clipboard.js'></script> Clipboard.copy('Content to be copied') 阅读全文
posted @ 2021-05-12 18:26 supersdar 阅读(56) 评论(0) 推荐(0) 编辑
摘要: REF Doc:.NET Interactive is here! | .NET Notebooks Preview 2 | .NET Blog (microsoft.com)jupyter notebook 命令模式 (按键 Esc 开启)快捷键:Enter : 转入编辑模式Shift-Enter 阅读全文
posted @ 2021-04-29 11:17 supersdar 阅读(73) 评论(0) 推荐(0) 编辑
摘要: Download | CMake bin to system path 虽然现在vs2022里可以直接使用cmake编译项目,但是时常还会冒出一堆找不到解决方案的问题。 还是转换成VS C++项目再开发吧! 阅读全文
posted @ 2021-04-23 12:47 supersdar 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 把把家庭宽带拿去办公的时候一定要注意定时给拨号重拨. 因为电信72h联通会48小时强制下线,还不如我自己下线再上. /interface disable pppoe-out-名/interface enable pppoe-out-名 ROS(MikroTik RouterOS)自动设置校准/同步系 阅读全文
posted @ 2021-04-21 15:00 supersdar 阅读(1664) 评论(0) 推荐(0) 编辑
摘要: call UseUrls .UseUrls("http://*:5000"); .NET 6 app.Run("http://*:5000"); 阅读全文
posted @ 2021-04-15 10:51 supersdar 阅读(485) 评论(0) 推荐(0) 编辑