- 博客(19)
- 收藏
- 关注
原创 欢迎使用优快云-markdown编辑器
欢迎使用JTT808解析服务器简单介绍JTT808原理及使用方式:配置要求工作原理使用教程共同开发代码托管目录欢迎使用JTT808解析服务器目录运行环境配置创建虚拟运行环境安装必要python库建立开发目录各个python包的简单概述服务器配置服务器监听IP及端口配置解析的协议配置简单使用教程假设我们需要查询我们终端属性详解所有名词详解所有名词怎样二次开发基本
2016-01-15 11:03:56
2360
2
原创 zeromq samples getting the message out
Getting the Message OutThe second classic pattern is one-way data distribution,in which a server pushesupdates to a set of a set of clients.Let's see an example that pushes out weatherupdate
2015-04-11 16:40:53
496
原创 zeromq samples version
Version ReportingZeroMQ does come in several versions and quite often,if you hit a problem,it'llbe something that's been fixed in a later version.So it's a useful trick to know exactly what
2015-04-11 16:25:14
388
原创 Linux cron and init
If you plan to do something by linux it's selfyou may wanna use 'cron'but how to do it !On ubuntu !You can come into the /etc/cron.d/and create your script ....and then write some pl
2015-04-10 13:16:14
669
原创 ZeroMQ with producer-consumer
Make sure what you need !Let's see the map below: If your data centre send many many data to you by socket ...Let's see the map again .. So you may know how to use the
2015-04-09 15:37:53
1000
原创 Python With ZeroMQ Again
DownloadI suggest you looking for the latest version:http://zeromq.org/intro:get-the-softwareand Download it at your machine,and thenuse scp tool cp it to your server ... tar -xvf
2015-04-07 20:07:44
783
原创 Install Zeromq
In the ubuntu 12.04 server version check system:uname -asudo apt-get updatecheck latest version of zeromq:please visit: http://zeromq.org/area:downloadwget http:/
2015-03-24 18:43:37
1053
原创 文章标题
Test 1 (initWithObjects)NSArray * array = [[NSArray alloc]initWithObjects:@"one",@"two",@"Three",@"Four", nil]; //-(unsigned)count; NSLog(@"array counter:%lu",[array count]); //-
2015-03-01 17:21:48
366
原创 Mac Spotlight index error
if you mac take too large size;somethings like that that:what a terrible things!!!how to figure it step1:open->System Preferencesstep2:open->Spotlightstep3:choose->Privacyyou w
2015-02-03 22:23:25
481
原创 python调用mysql执行duplicate简单例子
#!/usr/bin/pythonimport MySQLdbdb=MySQLdb.connect("localhost","root","openos","python")cur=db.cursor()try: sql="""INSERT INTO A (ID,NAME) VALUES (112,'%s') ON DUPLICATE KEY UPDATE NAME=VALUES(
2015-01-30 21:43:08
781
原创 mysql 语句 duplicate 使用笔记 2
step1:建表create table B(ID int(4) not null primary key,NAME char(20) not null,SEX char(2) not null,AGE int(4) not null);step2:查表step5:换一组数据
2015-01-30 21:33:58
558
原创 mysql 语句 duplicate 使用笔记
问题描述:表格:A有 ID / NAME 项,ID设置为PRIMARY键;当已经有ID存在时就更新NAME,否则INSERT所有数据;试验:step1:建表step2:检查表格step3:插入数据INSERT INTO A (ID,NAME) VALUES (112,'frank') ON DUPLICATE KEY UPDATE NAME=VALU
2015-01-29 21:52:44
3436
原创 设计模式-适配器模式
【感想】 今天学习了适配器模式,这个模式还是挺有趣的。当你使用从电器从220v电压转换成12v电压时使用的是变压器就是一种适配器。当你使用打气筒给篮球打球的时候,使用的气针也是一种适配器。当你使用的耳机插头需要从2.5mm转换成3.5mm也是使用了一种适配器。等等.....等等适配器,无非是在原来已经有的东西上扩张一下功能的方式。因此下面的代码就好写
2015-01-07 20:23:53
362
原创 设计模式-原型模式
【注】 我所写的这些,其实是在自己理解以后写的。至于代码,都是去查阅资料后才写的。一般的教材都在IDE写的,所以会看到包的管理。我不想在学习设计模式时又考虑其他的。所以以后写的代码都是在VIM下写的。其原因大概是因为我是java初学者。想练习练习。【感想】 至于原型模式。我觉得,也很好理解的。举个例子:美国的一架捕食者无人机飞到我国
2015-01-04 22:44:47
401
原创 设计模式-简单工厂
【感想】 今天学习了简单工厂模式,说起来简单其实真的简单。举个例子,在伊利工厂里生产很多种类的食品,有雪糕,有牛奶。很显然,要是你是一个需求量很大的零售商,你每次需要很多很多的雪糕和牛奶。你当然不希望,每次都写一大堆的配方要求,因为工厂已经制定了标准。你只需要要说(纯牛奶,小布丁)等等名字。他们就给你货。而不要自己去说我想要一台生产(小布丁)的机器
2015-01-02 22:56:39
360
原创 设计模式-单例模式
【感想】 今天学习了第一个模式,所以把自己的感想写下来。单例模式应该是比较简单的,我觉得它就像是C++中对一个对象的引用(也就算是对象的一个别名),无论你调用多少次类去声明一个新的对象,如下代码:(下面的代码是在linux下用vim编辑的,为了简化IDE对包管理的复杂要求,我把Singleton类写成非public类的事实上我必须这样做,因为publi
2015-01-01 20:49:44
376
原创 安装MySQL-python方法与错误解法
源码安装mysql-python步骤:第一步:wget http://sourceforge.net/projects/mysql-python/files/latest/download第二步:tar xfz MySQL-python-1.2.3.tar.gz第三步:cd MySQL-python-1.2.4第四步:whereis mysql_confi
2014-12-14 15:24:04
606
原创 安装erlang出错 && 解决方案
erlang安装出错: configure: error: No curses library functions foundconfigure: error: /bin/bash '/home/frank/Downloads/otp_src_17.4/erts/configure' failed for erts
2014-12-12 22:13:22
12623
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人