上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 45 下一页

2017年2月1日

pyMongo 一些基本操作

摘要: 1. find() 函数, 可以在函数体内直接指定 filter, sort, projection(限制field), 语法如下: datas = col.find( filter = {"$and":[{"_id":{"$gte":datetime.datetime(2017, 1, 20)}} 阅读全文

posted @ 2017-02-01 14:49 norsd 阅读(2554) 评论(0) 推荐(0)

2017年1月2日

c# 衍生类和基类的构造顺序

摘要: public class MyDeriveClass :MyBaseClass { public MyDeriveClass() :base() { } int derive_int = 1; } public class MyBaseClass { public MyBaseClass() { } 阅读全文

posted @ 2017-01-02 14:29 norsd 阅读(195) 评论(0) 推荐(0)

2016年11月22日

DataGridView控件对Column的设置

摘要: http://stackoverflow.com/questions/18666582/datagridview-autofit-and-fill 1.Column覆盖所有width: dgv.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode 阅读全文

posted @ 2016-11-22 12:35 norsd 阅读(194) 评论(0) 推荐(0)

2016年11月4日

Bloomberg 专线配置问题

摘要: 其实很简单,满足bbg的要求就可以了, 配置如下几个网段的路由:208.134.161.0 using the subnet mask of 255.255.255.0 205.183.246.0 using the subnet mask of 255.255.255.0 199... 阅读全文

posted @ 2016-11-04 20:48 norsd 阅读(242) 评论(0) 推荐(0)

2016年10月5日

c# Relative Path convert to Absolute Path

摘要: Reference: http://stackoverflow.com/questions/4796254/relative-path-to-absolute-path-in-c http://stackoverflow.com/questions/1399008/how-to-c... 阅读全文

posted @ 2016-10-05 12:56 norsd 阅读(476) 评论(0) 推荐(0)

2016年9月5日

c/c++/c# 快速计算 Cumulative Normal Distribution 正态累积函数CDF

摘要: 链接: http://stackoverflow.com/questions/2328258/cumulative-normal-distribution-function-in-c-c http://www.johndcook.com/blog/cpp_phi/个人使用的是如下的... 阅读全文

posted @ 2016-09-05 12:01 norsd 阅读(1525) 评论(0) 推荐(0)

2016年8月17日

DataGridView DataSource INotifyPropertyChanged 避免闪烁的方法

摘要: 代码说话:dgvPosition就是需要避免闪烁的DataGridView主要是加2段代码1.SetStyle2.datagridview设置DoubleBuffered属性为True public AccountPositionControl() { ... 阅读全文

posted @ 2016-08-17 22:10 norsd 阅读(288) 评论(0) 推荐(0)

2016年8月12日

Pycharm 设置TextStyle

摘要: 之前在脚本中选择了一个字符串, PyCharm会“高亮”所有相同的字符串, 但是我不满意这个“高亮”的颜色,因为和背景色太相似了,所以需要做一下操作,修改这个“高亮”颜色值: File–Settings 在Settings对话框的左侧选择 Editor->Colors & Font... 阅读全文

posted @ 2016-08-12 01:13 norsd 阅读(329) 评论(0) 推荐(0)

2016年8月10日

在Visual Studio中编译Linux的一些问题

摘要: 相对路径: 在windows下,和当前文件同一个目录下的引用会这么写: #include “SubDirectory\header.h” 或者 #include “SubDirectory/header.h” 但是这些语句没法被Linux正确识别,Linux需要: #include... 阅读全文

posted @ 2016-08-10 15:17 norsd 阅读(266) 评论(0) 推荐(0)

2016年8月2日

Listbox 实现Item双击事件

摘要: void listBox1_MouseDoubleClick(object sender, MouseEventArgs e) { int index = this.listBox1.IndexFromPoint(e.Location); if... 阅读全文

posted @ 2016-08-02 21:36 norsd 阅读(1375) 评论(0) 推荐(0)

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 45 下一页

导航