自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(145)
  • 资源 (2)
  • 收藏
  • 关注

原创 openssl命令说明

生成一个非加密私钥openssl genrsa -out private.key 2048查看私钥文件openssl rsa -in private.key-text通过私钥文件生成一个公钥文件(能够通过私钥生成公钥,无法通过公钥生成私钥)openssl rsa -in private.key -pubout -out public.key通过私钥文件生成一个自签名证书(含公钥...

2019-07-12 08:15:01 285

原创 goproxy作为tcp反向代理使用简介

例1:gogroxy作为tcp反向代理使用,需要一台具有公网IP地址的服务器,公网服务器和内网服务器在内网网络上是联通的。通过goproxy将内网服务器的内部端口,在公网服务器上暴露出来。gogroxy软件网站:“https://github.com/snail007/goproxy”,软件使用golang开发,支持跨平台。可下载各类操作系统的binary版本。例1:在公网服务器上运行...

2018-08-21 11:37:31 4753

原创 mosquitto_sub和mosquitto_pub单向SSL认证使用

 mosquitto_sub -h 192.168.2.252 --insecure -u test -P 1234 -t /em/test -p 8883 -v -d --cafile /home/sudaobo/wp/certs/cacert.pem mosquitto_pub -h 192.168.2.252 --insecure -u test -P 1234 -t /em/tes...

2018-07-19 14:01:33 2139

原创 centos emqttd 笔记

/var/lib/emqttd/emqttd/etc/plugins## Allow Anonymous Authentication.#### Notice: Disable the option for production deployment.#### Value: true | falsemqtt.allow_anonymous = false## Maximum MQTT packet...

2018-07-05 11:26:24 458

原创 在centos7上安装teamviewer host 13

1、下载rpm安装包到teamviewer官网上下载redhat/centos版的安装包,网址“https://www.teamviewer.com/en/download/linux/”。安装包名如“teamviewer-host_13.1.1548.x86_64.rpm”。请下载teamviewer-host。2、安装包上传安装包上传到centos7服务器中。3、安装步骤wget https:...

2018-06-12 13:57:34 2343

原创 centos安装epel-release rpm

Download the latest epel-release rpm fromhttp://dl.fedoraproject.org/pub/epel/7/,下载rpm文件Install epel-release rpm:# rpm -Uvh epel-release*rpm

2018-06-06 11:26:30 9785 2

原创 centos7 安装epel-release rpm

Download the latest epel-release rpm fromhttp://dl.fedoraproject.org/pub/epel/7/,下载rpm文件Install epel-release rpm:# rpm -Uvh epel-release*rpm

2018-06-05 15:40:07 23076 1

原创 centos7上运行 ultravnc repeater

ultravnc repeater默认运行在windows。下面介绍基于wine软件在centos7上运行ultravnc repeater(模式2)的方法。1、ultravnc repeater编译从官网下载ultravnc repeater的源代码。下载地址“http://www.uvnc.com/downloads/repeater.html”。解压后,使用vc进行编译,需编译为64位的。原...

2018-04-02 15:00:24 2539 1

原创 安装 paho mqtt golang包

由于great wall的原因,不能直接访问golang.org,直接运行"go get github.com/eclipse/paho.mqtt.golang",进行安装,会发生错误。解决方法如下:运行“git clone https://github.com/golang/net.git”拷贝net目录到“$GO_PATH/src/golang.org/x”目录下进入“$GO_

2017-06-01 09:16:56 6986 1

原创 vs2015编译protobuf-3.1.0

下载安装cmake,https://cmake.org/protobuf-3.10.0解压缩\protobuf-3.1.0\cmake目录下建立子目录“vs2015”运行cmake-gui,如图vs2015目录下生产vs工程文件,打开工程文件,进行编译

2017-05-12 15:12:51 1303

原创 zookeeper c client编译

cygwin环境:进入“\zookeeper-3.4.10\src\c”目录./configuremakemake install

2017-04-07 16:40:18 3649 1

原创 cygwin编译paho.mqtt.c-1.1.0

下载源文件包,解压缩进入源代码目录cmake ./srcmakemake install

2017-03-24 10:22:01 550

原创 windows安装eclipse/paho.mqtt.golang

1、从github下载golang.org/x/net/websocket包,运行“git clone https://github.com/golang/net”2、将net目录拷贝或移动到"$GOPATH\src\golang.org\x"目录下3、运行“go get github.com/eclipse/paho.mqtt.golang”

2017-03-09 15:16:51 2108

原创 vc2015编译paho.mqtt.c-1.1.0

vc2015打开“\paho.mqtt.c-1.1.0\Windows Build\Paho C MQTT APIs.sln”将文件“\paho.mqtt.c-1.1.0\src\VersionInfo.h.in”另存为“\paho.mqtt.c-1.1.0\src\VersionInfo.h”编译

2017-02-22 10:34:30 3505 1

原创 cygwin搭建C++开发环境

安装开发工具:gccautoconfautomakemakelibtool安装自带第三方库:boost

2017-02-15 14:08:00 3225

原创 kairosdb基于单点Cassandra安装和配置

下载kairosdb-1.1.1,解压下载Cassandra-3.9,解压配置Cassandra,打开并编辑Cassandra.yaml文件,修改start_rpc: false -》 start_rpc: true启动Cassandra启动kairosdb

2016-11-18 14:19:32 1636 1

原创 编译boost 1.58.0 for arm-linux

下载boost 1.58.0解压缩运行booststrap.sh,运行后,生产project-config.jam和bjam修改project-config.jam文件,如下# Boost.Build Configuration# Automatically generated by bootstrap.shimport option ;import fea

2016-09-02 15:03:10 2815

原创 centos7上安装influxdb

下载influxdb:wget https://dl.influxdata.com/influxdb/releases/influxdb-0.13.0.x86_64.rpm安装:sudo yum localinstall influxdb-0.13.0.x86_64.rpm运行:systemctl start influxdb.service

2016-08-04 10:20:57 5809

原创 centos下编译protobuf

centos下编译protobuf

2016-07-01 10:38:08 1178

原创 在Windows安装activemq

安装jre环境,设置JAVA_HOME环境变量重启机器,使JAVA_HOME环境变量生效下载activemq程序,并解压缩运行“apache-activemq\bin\win64”或“apache-activemq\bin\win32”目录下的InstallService.bat文件,可以将activemq安装为Windows服务也可以直接运行apache-activemq\bin

2016-05-25 15:18:19 2485

原创 Visual Studio编译libmodbus

libmodbus版本:3.0.6Visual Studio 2013下载libmodbus3.0.6代码包,解压缩。双击“\libmodbus\src\win32”目录下的“configure.js”文件,运行该文件使用Visual Studio 2013打开modbus-9.sln文件,编译release版本

2016-05-05 09:27:34 7156 3

原创 R语言包管理

控制台管理查看已安装的包installed.packages()

2014-10-27 10:38:15 2057

原创 PI ODBC驱动安装及测试

PIODBC 是OSI提供的接口,该接口可以用来与PI Server通信。在本地服务器中安装部署完成之后,通过创建相应的ODBC数据源,可以完成开发程序对PI Server的连接。1、  软件为:piodbc_1.3.1.02、  支持的操作系统如下:  Windows XP Professional SP2and above (x86 x64) Wind

2014-10-24 09:18:59 6082 6

原创 ConfigurationManager类正确引用方法

在c#源代码中添加了Configuration;后,竟然找不到 ConfigurationManager 这个类,后来才发现:虽然引用了using System.Configuration;这个包,但是还是不行的。后来终于找到一个解决方法,就是在解决方案资源管理器里找到类文件选择“引用”,然后右击选择“添加引用”,并且从 .net 中找到System.Configuration把它

2014-10-21 09:44:13 33676 6

原创 在windows平台下使用pip管理python3包

pip通常的位置是“c:\python34\Scripts”

2014-10-20 09:14:42 4749

原创 cvshelper使用指南

csvhelper是c#中操作csv文件的第三方库。使用共享z

2014-10-14 16:57:25 3108

原创 c# zip压缩多个文件

.string date = DateTime.Now.ToString("yyyyMMdd");            string[] files = Directory.GetFiles(@"c:\");//得到文件            List srcfiles = new List();            foreach (string fi

2014-10-02 10:36:51 4950

转载 走得太快,别忘了为什么出发——涨粉如此艰难的今天,我如何用7个月做到10万粉丝?

今天一打开电脑上QQ,便看到KMedia亲子自媒体联盟群里,联盟朋友们在愉快分享做母婴类自媒体的感悟。原来是爱读童书妈妈小莉刚刚分享了她做亲子微信自媒体7个月积累10粉丝的经验。读完她的文章后,感受颇多。想到自己加入阿爸阿妈创业团队,后来又接手运营阿爸阿妈APP微信公众号以来,也面临过困惑和挑战。每天甄选、撰写能让父母们喜欢并且阅读后受益的文章,不是一件容易的事情。

2014-08-14 12:21:52 2943

原创 cygwin显示中文

cygwin option中选择“Text”设置Lo

2014-07-02 14:06:42 2342

原创 PI SDK连接服务器和读取PI测点数据

见下面的例子,使用C#:using System;using System.Collections.Generic;using System.Linq;using System.Text;using PISDK;using PISDKCommon;namespace pisdk_t1{    class Program    {

2013-12-11 13:34:13 9765 3

原创 python开发环境

python2.7python IDE:eclipse+pydevpython包管理工具:easy_installpython包:pyserial

2013-05-03 15:09:50 786

原创 向PI中写入digital snapshot值

可以使用浮点数写入    long pt = 177;    int rs;    double v_d = 0;    rs = pisn_putsnapshotx(pt, &v_d, NULL, NULL, NULL, NULL, NULL, NULL); 0.0~1.0之间的数,当做1;1.0~2.0之间的数,当做2;以此类推也可以使用整形数写入

2013-01-24 09:41:38 1350

原创 vc2012编译thrift

编译工具VC2012 Express。需先下载boost库,我使用boost _1_51_0。1、编译boost运用bootstrap.bat,生成b2.exe。运行b2.exe,生成boost库文件。2、编译thriftthrift版本0.8.0使用vc2012打开\thrift-0.8.0\lib\cpp\thrift.sln,添加项目的boost路径,

2012-10-11 13:45:07 1297

原创 nmodbus C#modbus库

Provides connectivity to Modbus slave compatible devices and applications. Supports serial ASCII, serial RTU, serial over USB ASCII, serial over USB RTU, TCP, and UDP protocols.开源的modbus库,使用C#开发

2012-06-28 08:41:12 18320 4

原创 freesql

C#开发通用数据库管理软件开源,有源代码 http://freesql.host.org/files/

2012-06-27 15:35:22 988

原创 c++库

CGAL 目的是把在计算几何方面的大部分重要的解决方案和方法以C++库的形式提供给工业和学术界的用户。ICU  International Component for Unicode (以下简称 ICU) 是一套稳定成熟、功能强大、轻便易用和跨平台支持Unicode 的开发包,使得开发人员在 C/C++ 和 Java 上开发全球化软件产品更容易,ICU 是由 IBM 发布和维护

2012-04-10 16:24:21 688

原创 Climate Data Operators 软件

netcdf文件格式 与 grid文件格式 转换

2012-02-15 10:46:08 2138

原创 使用VC2008编译sqlite

从http://www.sqlite.org/网站下载sqlite-amalgamation-3071000.zip。解压缩。使用VC2008建立一个新工程,生成静态链接库的工程,不包括预编译头文件。将解压缩的文件添加到新工程中,然后开始编译。

2012-02-14 10:14:22 736

原创 windows平台上使用jnative注意事项

在windows 32bit平台上使用没有问题,但是windows 64bit平台没有成功。下载jnative包,解压缩,将jnativecpp.dll拷贝到system32目录下,将被使用的dll也拷贝到system32目录下。

2011-12-14 11:28:01 1319

原创 在windows中安装protocol buffer for python

操作系统windows 7 64bit。python 2.7.2 64bit。从google网站上下载protobuf-2.4.1,解压。使用visual studio 2008编译。运行protobuf-2.4.1\python\setup.py。

2011-10-18 08:45:55 3993

官方PI API英文文档chm

本文档描述PI API编程接口 。This document describes the PI Application Programming Interface (PI-API). The PI-API provides a common programmer interface to PI Data Archive information, designed to span multiple hardware and software environments. The alphabetical listing of PI-API functions includes cross references to related PI Toolkit routines and functions. This user manual assumes familiarity with the PI Data Archive (PI System or PI) and the PI Toolkit.

2010-12-15

搭建MinGW+CodeBlocks+wxPack开发环境

搭建MinGW+CodeBlocks+wxPack开发环境

2009-02-05

空空如也

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

TA关注的人

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