04 2022 档案

MongoDb Official c# Driver 如何序列化 Struct
摘要:配合2.x版本的驱动使用 https://stackoverflow.com/questions/26788855/how-do-you-serialize-value-types-with-mongodb-c-sharp-serializer public class BasicStructSer 阅读全文

posted @ 2022-04-22 21:54 norsd 阅读(6) 评论(0) 推荐(0) 编辑

Python List 对象的 append 和 extend 的区别
摘要:1.append: Appends object at end x = [1, 2, 3] x.append([4, 5]) x = [1, 2, 3, [4, 5]] 2. extend: Extends list by appending elements from the iterable x 阅读全文

posted @ 2022-04-20 10:56 norsd 阅读(4) 评论(0) 推荐(0) 编辑

Linux Centos yum/rpm 设置代理
摘要:yum 设置代理: vim /etc/yum.conf 添加形如: proxy = http://user:pass@ip:port rpm 设置代理 sudo rpm -Uvh https://xxxxx.rpm --httpproxy ip --httpport port reference: 阅读全文

posted @ 2022-04-19 17:47 norsd 阅读(12) 评论(0) 推荐(0) 编辑

TemplateText 书写工具类时必须注意的问题
摘要:在TemplateText中 当制作一个工具TemplateText中时 整个TemplateText 所有的输出都应该包在 <#+ #> 中 类似如下是错误的,将报错: A template containing a class feature must end with a class feat 阅读全文

posted @ 2022-04-08 00:04 norsd 阅读(2) 评论(0) 推荐(0) 编辑

Numpy 操作矩阵
摘要:复制矩阵 m2 = m1.copy m2 = m1[:,:] 复制矩阵的部分Row m[1:] #取第1行之后所有 m[-2:] #取最后第2行之后所有(最后第2行和最后第1行) m[1:3] #取第1行到第3行之前(不包括第3行) m[3:-1] #取第3行到最后1行之前(不包括最后1行) m[: 阅读全文

posted @ 2022-04-03 17:00 norsd 阅读(2) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示