博客已迁到“金陵小周的技术博客”,博客园不在更新发表......

摘要: 核心类,定义了http 和tcp 两个协议传输通道 使用方法 客户端调用方法 DEMO源码 链接:http://pan.baidu.com/s/1kVbbf1t 密码:i1x5 阅读全文
posted @ 2016-07-27 14:19 Pete-Jones 阅读(492) 评论(0) 推荐(0) 编辑
摘要: 1 public class TimerHelper 2 { 3 System.Threading.Timer timer; 4 public TaskSendMMS tasksendmms { get; set; } 5 public void Start() 6 { 7 timer ... 阅读全文
posted @ 2016-07-27 09:30 Pete-Jones 阅读(7039) 评论(0) 推荐(1) 编辑
摘要: 操作步骤: #cd /tmp #wget linuxdot.net/down/jexus-5.8.1-x64.tar.gz 注:如果有新版本,则修改为相应版本号即可。 #tar -zxvf jexus-5.8.1-x64.tar.gz 解压缩包并会得到一个Jexus的文件夹。 #sudo mv je 阅读全文
posted @ 2016-06-12 15:00 Pete-Jones 阅读(724) 评论(0) 推荐(0) 编辑
摘要: 一、安装过程参考的相关文章: Centos 使用YUM安装MariaDB CentOS安装并设置MariaDB CentOS用yum安装、配置MariaDB MariaDB远程连接配置 ERROR 1045 (28000): Access denied for user 'root'@'localh 阅读全文
posted @ 2016-05-29 21:19 Pete-Jones 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 1、在/etc/yum.repos.d/下建立MariaDB.repo文件 可以在Win下编辑好此文件,然后通过SSH远程复制过去。 2、MariaDB.repo内容要根据MariaDB官方提供的repositories来进行选择。 地址: https://downloads.mariadb.org 阅读全文
posted @ 2016-05-27 17:11 Pete-Jones 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 一、服务器 腾讯云VPS,Centos6.6系统 二、安装 1、yum升级 yum –y update 2、安装Mono所需要的库 yum -y install gcc gcc-c++ bison pkgconfig glib2-devel gettext make libpng-devel lib 阅读全文
posted @ 2016-04-27 14:01 Pete-Jones 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 *删除数组指定下标或指定对象 3 */ 4 Array.prototype.remove = function (obj) { 5 for (var i = 0; i < this.length; i++) { 6 var temp = this[i]; 7 ... 阅读全文
posted @ 2016-04-01 10:00 Pete-Jones 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Npgsql 是基于ADO.NET 的PostgreSQL 数据驱动。 Npgsql 官方 已经提供C# 数据类型与PostgreSQL数据类型的对应映射 地址: http://www.npgsql.org/doc/types.html Type mappings Type mappings whe 阅读全文
posted @ 2016-03-11 15:09 Pete-Jones 阅读(4099) 评论(0) 推荐(1) 编辑
摘要: 1、日期字段 “年月日” 使用 date “年月日 时分秒” 使用 timestamp without time zone 2、布尔字段 使用 boolean 3、字符字段 使用 character varying(n) 注:如果使用character 类型 ,数据插入后数据库会补空格,建议用 ch 阅读全文
posted @ 2016-03-11 15:01 Pete-Jones 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 在Vultr上买了台VPS准备做VPN,不贵5刀,位置是日本东京的。ping值在100-200之间,还好算说的过去。 Vultr地址 系统选择的Centos6 的版本是6.7 在网上查了查linux下安装VPN的资料,解决方案真不少,有用OpenVPN的,有的是PPTP的。OpenVPN的稍麻烦... 阅读全文
posted @ 2015-11-27 10:35 Pete-Jones 阅读(363) 评论(0) 推荐(0) 编辑

博客已迁到“金陵小周的技术博客”,博客园不在更新发表......