自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(70)
  • 资源 (21)
  • 收藏
  • 关注

原创 wind pandas 数据分析绘图

#!/usr/bin/env python#coding:utf-8from WindPy import wfrom datetime import datetimefrom pandas.tseries.offsets import Dayfrom pandas import Seriesfrom pandas import DataFrameimport pandas as pd

2016-08-15 08:45:59 1994

原创 交易往事-交易账户开立及其注意事项

开户形式:1.网上开户  2.上门开户开通好之后需确认事项:1.手续费 1.1或者1.01,重新确认2.保证金 1.02或者更低 重新确认3.品种开平仓限制 比如股指的限制等整理清楚4.期权交易前期仓位限制如日持仓最大等,每笔下单限制目前单笔最大10张5.程序化交易需要把IP端口,紧急联系人信息整理好6.记录信息

2016-07-16 16:48:27 424

原创 centos7minal 配置 spawnfcgi

首先到可以到我的百度云下载两个文件http://pan.baidu.com/s/1o63OytOyum install  automake autoconf libtoolcd /samba/anonymous/fcgi-2.4.1./configurevim include/fcgio.h添加#include make && make instal

2015-07-05 21:13:36 1126

原创 centos7 samba4.1.12匿名访问设置

[global]workgroup = WORKGROUPserver string = Samba Server %vnetbios name = centossecurity = usermap to guest = bad userdns proxy = no#============================ Share Definitions ============

2015-07-05 19:37:28 5506

转载 Centos7 epel源 eprepo源

1.ELRepo  ELRepo包含了一些硬件相关的驱动程序,比如显卡、声卡驱# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org # rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm 完成该命令后,在/etc/yu

2015-05-16 17:03:58 2186

原创 hashmap value中放hashmap hashmap二级映射

#include#include#includeusing namespace std;int main(){ char instrument_id[9]=""; char temp[9]="510050"; strcpy(instrument_id, temp); cout<<endl; const string askprice1="askprice1"; cons

2015-04-28 16:30:07 617

原创 python-mail

1.python 2.78 发邮件import smtplibfrom email.mime.text import MIMEText_user = "18250167309@163.com"_pwd = "yanglu123"_to = "1270514689@qq.com"#使用MIMEText构造符合smtp协议的header及bodymsg = MIMEText("

2014-11-20 09:04:19 709

转载 google-seo-faster-powerful

1.2.

2014-11-12 20:08:27 567

原创 C++ 解析 csv 方法对比

1.Parse CSV File With Boost Tokenizer In C++

2014-11-08 16:05:25 6085

原创 序列化-python

1.python序列化demopython2.78

2014-11-07 11:37:41 508

原创 序列化-boost

1.示例代码#include #include #include #include #include #include #include #include using namespace std;void save() { ofstream file("archive.bin"); boost::archive::binary_oarchive oa(f

2014-11-07 11:36:08 756

原创 python-金融数据处理demo

1.扫描当前目录下过滤的问题就

2014-11-03 11:09:49 1438

原创 bat-best-cmd

clear_root.batcd !_stock_impulse_direct_sellingcall clear.batcd ..cd !_stock_impulse_limit_price_buycall clear.batclear.batrd /q /s ipchrd /q /s stock_impulse\Debugrd /q /s stock_im

2014-10-30 13:25:01 582

转载 Makefile万能写法

方法1:.PHONY: all cleanall: # annotation when release versionDEBUG := yTARGET_PROG := main# project directory DEBUG_DIR := ./DebugRELEASE_DIR := ./ReleaseBIN_DIR := $(if $(DEBUG),

2014-10-21 12:48:56 579

转载 CentOS7 Samba4.11

参考网站:http://wolfchen.blog.51cto.com/2211749/1087819http://www.cnblogs.com/mchina/archive/2012/12/18/2816717.htmlhttp://leaus.blog.51cto.com/9273485/1540729

2014-10-15 22:34:58 1018

转载 Centos7 ifconfig netstat firewall iptables

Centos7发布有一段时间了,最近使用中也发现一些问题,从Centos6换过来后感觉到不少细微的变化例如默认没有ifconfig和netstat两个命令了,ifconfig其实使用ip addr命令可以代替,在cenots6下的ss命令可以代替netstat,但是现在的ss和以前的完全是两样 ,还是得装上才行方便查看端口占用和tcp链接攻击等等。把net-tools包装上

2014-10-13 08:17:05 1062

原创 ANSI C标准中有几个标准预定义宏:

#includeusing namespace std;int main(){char compile_date[]=__DATE__; //编译源文件的日期char compile_time[]=__TIME__; //编译源文件的时间char compile_timestamp[]=__TIMESTAMP__; //最后修改原文件的时间char compile_file[]=

2014-09-25 11:48:33 789

原创 C++ 遍历文件夹下面所有文件

#include #include using namespace std;int main(){ _finddata_t file; int k; long HANDLE; k = HANDLE = _findfirst( "*.csv*", &file ); while( k != -1 ) { cout << file.name << endl; k = _f

2014-09-22 22:47:34 468

转载 C++ 读取CSV文件

#include #include #include #include using namespace std; void csvline_populate(vector &record, const string& line, char delimiter); int main(int argc, char *argv[]){ vector row; str

2014-09-11 18:07:20 1159

原创 字符串数值转换问题总结

#include#includeint main(){ int number=16; char string[25]=""; sprintf(string, "%06d", number); printf("integer=%dstring=%s\n",number,string); return 0;}

2014-09-05 15:38:08 506

原创 C++ 多线程简单demo

//这是2个线程模拟卖火车票的小程序#include #include using namespace std;DWORD WINAPI Fun1Proc(LPVOID lpParameter);//thread dataDWORD WINAPI Fun2Proc(LPVOID lpParameter);//thread dataint index=0;int tickets=1

2014-09-04 16:00:29 1334

原创 C++ file read write

#include #include using namespace std;int main () { ofstream out("out.txt", ios::app); // ofstream out("out.txt"); if (out.is_open()) { out << "This is a line"<<endl; out << "

2014-09-02 09:59:52 1061

原创 C++ 获取当前程序运行程序所在路径

TCHAR _szPath[MAX_PATH + 1]={0}; GetModuleFileName(NULL, _szPath, MAX_PATH); (_tcsrchr(_szPath, _T('\\')))[1] = 0;//删除文件名,只获得路径 字串 string strPath; for (int n=0;_szPath[n];n++) { if (_szPath[n]!

2014-09-01 17:09:05 7033

原创 文件夹命名前缀-----方便显示排序

20140817_项目名称_V备注_所有者

2014-09-01 08:17:15 1917

转载 vetor 结构体元素排序

sort struct:#include #include #include using namespace std;typedef struct example{ int elem1; int elem2;}example;/*这个comparison函数很重要.如果希望升序排序,就是""号,这样便于直观记忆.如果希望用elem2作为比较标准就把elem

2014-08-01 17:08:47 582

原创 学习git

git的学习网站:http://www.bootcss.com/p/git-guide/http://www.cnblogs.com/kevinwu/archive/2012/06/03/2529167.html

2014-07-15 12:57:25 391

转载 vim--终极利器

vim确实很好用,这个不管是在linux还是windows平台:linux平台上怎么装这里就不说了:sudo apt

2014-07-15 12:53:59 553

原创 C++ 时间相关问题

///第一种方法#include  #include  #includeusing namespace std;int main( void ) { SYSTEMTIME sys; int hour, minute, second, millisecond;while(1){GetLocalTime( &sys ); hour

2014-07-15 12:41:38 613

原创 C++ switch框架--方便来进行控制

#include#includeusing namespace std;int main(){//相关的登录操作  其他的框架int isIn=0;time_t t; char now_time[9]; char trigger_time[9];strcpy(trigger_time,"18:17:30");while(!isIn){t

2014-07-15 12:41:11 672

原创 C++中hash_map用法

在所有操作中hash_map比map性能优越些。一、构造函数      默认构造函数、部分后全部复制另外一个hash_map。#include #include #include #include #include using namespace std;typedef char * MyStr;struct MyIn

2014-04-16 13:37:11 889

原创 pandas wind 数据提取简单demo

#!/usr/bin/env python#coding:utf-8from WindPy import wfrom datetime import datetimefrom pandas import Seriesfrom pandas import DataFrameimport globimport osimport pdbimport csvimport sysde

2016-08-12 16:16:47 6057

转载 上海电信NTP服务器地址

http://www.api.bz/ NTP(Network Time Protocol)是由美国德拉瓦大学的David L. Mills教授于1985年提出,除了可以估算封包在网络上的往返延迟外,还可独立地估算计算机时钟偏差,从而实现在网络上的高精准度计算机校时,它是设计用来在Internet上使不同的机器能维持相同时间的一种通讯协定。时间服务器(time server)是利用NTP的一种服

2015-07-21 21:21:19 3814

转载 vim图解

2015-07-13 12:49:51 533

转载 改变C++控制台输出颜色

HANDLE handle_cout; SetConsoleTextAttribute(handle_cout, FOREGROUND_GREEN | FOREGROUND_INTENSITY); coutLoginTimeErrorIDErrorMsg<<endl;SetConsoleTextAttribute(handle_cout, FOREGROUND_RED |

2015-04-20 17:35:10 1166

原创 C++ io 处理零散知识

1.remove( "data/quot_data.csv" )

2015-04-01 15:27:59 338

原创 带宽跟内存-MB区别-计算机的存储单位解析

1.1M带宽跟磁盘1M的区别带宽1M,是1024K个bit,即16个64K bit磁盘是1M,是1024K个byte ( 1M = 1024K = 1024*1024 byte =1024*1024 * 8bit )由于网络的传输最早基于bit处理的,所以到现在还是以bit为单位,一般以nn Kb/s,或者nnMb/s表示,比如v.90的modem的理论最大传输速度是6Kb/s

2014-11-12 08:30:20 2033

转载 vmware加速方法总结

vmware虚拟机如何设置不当的话会造成运行速度慢,并影响主机运行,甚至会出现死机。一下是提高vmware虚拟机运行速度的几个技巧,文章来自:http://blog.csdn.net/shanzhizi1        修改preference中的选项(全局设置)a         进入设置界面的方法如下图所示:b         修

2014-11-12 08:08:17 1761

原创 vector 正确释放内存

方法1. vec_analysis_result.swap(vector()); vec_stock_info.swap(vector());2.参考http://www.cnblogs.com/zhoug2020/p/4058487.html

2014-11-07 14:35:45 527

原创 google store 离线下载crx的方法

首先找到你要下载的那个扩展的crx的官网页面:然后得到一个ID:

2014-10-25 12:33:08 943

转载 bat学习点滴

http://www.cnblogs.com/SunShineYPH/archive/2011/12/13/2285570.htmlBat命令学习基础部分:======================================================================一、基础语法: 1.批处理文件是一个“.bat”结尾的文本文件,这个文

2014-10-15 10:25:57 698

Chrome37StandaloneSetup

Chrome37StandaloneSetup chrome 37 64bit 离线安装包

2014-08-27

Spotlight_chrome扩展

Spotlight_chrome扩展,非常有用的,可以直接搜索书签,程序员必备的,用了你肯定喜欢,不喜欢打我电话

2014-08-21

Google Chrome v36离线安装包

Google ChromeV36 离线安装包 正式版

2014-07-27

CodeRush-DevExpress软件+破解补丁

CodeRush-DevExpress软件+破解补丁 13.2.7最新版本软件跟破解补丁

2014-03-20

CodeRush-DevExpress系列破解补丁

CodeRush-DevExpress系列破解补丁 经典的软件,获得金奖,可以破解全部系列

2014-03-20

飞鸽传书绿色UI清爽版

飞鸽传书 绿色版 UI很好,很简洁,我很喜欢

2014-01-24

Chrome32正式版离线安装包

Chrome32正式版离线安装包,以后会有更新的出来

2014-01-24

pc电脑给ipad充电

电脑usb默认电压较低,不能直接给给苹果系列充电, 此软件能调整电脑输入电压,给苹果系列充电 win+L锁屏也可以给苹果产品充电恩,但是不方便,用这个软件解决

2014-01-17

[数据结构(C语言版)].严蔚敏_吴伟民.扫描版

[数据结构(C语言版)].严蔚敏_吴伟民.扫描版 清晰

2014-01-13

[数据结构与算法分析–C.描述(第3版)](美)Mark.Allen.Weiss.扫描版

[数据结构与算法分析–C.描述(第3版)](美)Mark.Allen.Weiss.扫描版

2014-01-13

Python3程序开发指南.第二版(带书签)

Python3程序开发指南.第二版(带书签)

2014-01-13

电脑配置查看器

电脑配置查看器,用于查看自己笔记本或者台式电脑的一起配置,显卡啊,cpu啊等等的信息参数,对于电脑有兴趣的人员非常实用,而且是绿色免费版的

2014-01-11

google插件快捷工具(双击关闭等功能)

google插件快捷工具(双击关闭等功能)google商店里面没有了,下载后直接打开工具那个页面,拖进去就能使用了,非常好用,特地与大家分享,谢谢

2014-01-11

数据库系统概论源代码

数据库系统概论全部的源代码,只要你是搞数据库的,绝对有用的,对你一定有帮助

2011-12-23

树的建立和遍历源代码

很好的,树的建立和遍历的代码,包括了树的递归便利和非递归遍历,绝对经典有用的的代码

2011-12-23

堆栈源代码实现

很好的正确的堆栈的源代码,保证安全运行,不行找我

2011-12-23

线性表源代码(C/C++)

完全正确的线性表源代码,绝对正确,保证运行

2011-12-23

gps定位系统兼车辆管理系统

本系统,包括了车辆管理系统,轻松实现车辆的管理与应用,是我们应用的好帮手的,希望对大家的学习gps等有所帮助啊。本系统适用于很多的地方的管理,希望对大家有所帮助,大家给力啊

2011-07-12

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除