自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(169)
  • 资源 (1)
  • 收藏
  • 关注

转载 11步教你选择最稳定的MySQL版本

MySQL开源数据库有多个重要分支,目前拥有的分支分别为:MySQL Cluster、MySQL 5.1、MySQL 5.5、MySQL 6.2。每个分支都有着同样的MySQL数据库版本,分别为:Development版本、Alpha版本、Beta版本、RC版本和GA版本。    Development版本、Alpha版本和Beta版本一般不用在项目中。因为它们肯定存在重大的问题或某些功能

2017-02-23 15:49:38 13516

转载 App架构经验总结

架构因人而异,不同的架构师大多会有不同的看法;架构也因项目而异,不同的项目需求不同,相应的架构也会不同。然而,有些东西还是通用的,是所有架构师都需要考虑的,也是所有项目都会有的需求,比如API如何设计?架构如何分层?开发环境和生产环境如何分离?这几年,我负责研发过的App,有餐饮类的、社交类的、智能家居类的、电商类的、新闻媒体类的等等。当有了一定的经验之后,你总会有一些自己的心得体会。而以下内容就

2016-10-19 09:35:10 595

转载 MySql.Data.MySqlClient.EF6 配置

源地址:http://dev.mysql.com/doc/connector-net/en/connector-net-entityframework60.htmlChapter 10 EF 6 SupportMySQL Connector/Net 6.8 integrates support for Entity Framework 6.0 (EF 6), b

2016-02-01 09:42:11 1997

转载 Passing Multiple Parameters to ASP.NET Web API With jQuery

ASP.NET MVC 4 Web API has limited support to map POST form variables to simple parameters of a Web API method.Web API does not deal with multiple posted content values, you can only post a single co

2015-11-16 15:24:30 673

转载 預設值表 (C# 參考)

預設值表 (C# 參考)Visual Studio 2013其他版本本主題尚未接受評分 - 為這個主題評分下表顯示了預設建構函式所傳回的實值型別預設值。 使用 new 運算子時會叫用預設建構函式,如下所示:int myInt = new int();

2014-10-15 09:22:11 555

转载 封送类、结构和联合

http://msdn.microsoft.com/zh-cn/windows/hardware/eshywdt7(v=vs.71)封送类、结构和联合类和结构在 .NET Framework 中是类似的。 它们都可以具有字段、属性和事件。 它们也有静态和非静态方法。 一个显著区别是结构属于值类型而类属于引用类型。下表列出类、结构和联合的封送处理选项;

2014-07-23 15:21:53 759

转载 封送处理不同类型的数组

http://msdn.microsoft.com/zh-cn/windows/hardware/hk9wyw21(v=vs.71)

2014-07-23 15:18:07 812

转载 如何调用需要指向包含字符串的结构的指针的非托管函数

http://msdn.microsoft.com/zh-cn/windows/hardware/w5tyztk9(v=vs.71)

2014-07-23 15:10:15 752

转载 在托管代码中 封送处理字符串

http://msdn.microsoft.com/zh-cn/windows/hardware/e8w969hb(v=vs.71)封送处理字符串平台调用复制字符串参数,并在必要时将其从 .NET Framework 格式 (Unicode) 转换为非托管格式 (ANSI)。 由于托管字符串是不可变的,因此当函数返回时,平台调用不会将它们从非托管内存复制回托

2014-07-23 15:03:48 633

转载 非托管函数到托管 结构示例

http://msdn.microsoft.com/zh-cn/windows/hardware/eadtsekz(v=vs.71)

2014-07-23 14:51:28 1045

转载 平台调用数据类型

http://msdn.microsoft.com/zh-cn/windows/hardware/ac7ay120(v=vs.71)下表列出了在 Win32 API(在 Wtypes.h 中列出)和 C 样式函数中使用的数据类型。 许多非托管库包含将这些数据类型作为参数传递并返回值的函数。 第三列列出了在托管代码中使用的相应的 .NET Framework 内置值类型或

2014-07-23 14:39:04 594

转载 可直接复制到本机结构中的类型和非直接复制到本机结构中的类型

http://msdn.microsoft.com/zh-cn/windows/hardware/75dwhxf7(v=vs.71)

2014-07-23 09:10:27 2165

转载 默认封送处理行为

http://msdn.microsoft.com/zh-cn/windows/hardware/zah6xy75(v=vs.71)

2014-07-23 09:05:36 859

转载 C#字符串处理

string字符串是char的集合,而char是Unicode的代码,所以char可以转化为int。字符串在参数传递时为引用传递;可以使用空字符串(”")。一、字符串类型转换1.转为char可以用索引器来得到字符串中指定的字符,如:string myString=”hello”;char myChars;myChars=myString[0];要想得到一个char数

2014-07-17 11:11:04 936

转载 车牌识别

ANPR is sometimes known by various other terms:Automatic license-plate recognition (ALPR)Automatic license-plate reader (ALPR)Automatic vehicle identification (AVI)Car plate recognition (C

2014-07-16 11:31:03 1758

转载 Create custom dialogs for use in your Visual Studio Setup projects

source :http://www.codeproject.com/Articles/18834/Create-custom-dialogs-for-use-in-your-Visual-Studi

2014-06-24 10:57:36 912

转载 Customize User Interfaces and Pass User Input to Installer Classes

In this article I am going to demonstrate how to customize your MSI install to prompt the user for some information and then pass this information to an installer class.  This can be useful when nee

2014-06-23 17:57:11 1270

转载 MySQL - Windows silent install/uninstall

This batch script example is for a silent install/uninstall mysql-essential-5.1.58-winx64.msi with proper return code:############################## MySQL silent installation################

2014-06-20 11:21:25 1022

转载 MySQLInstanceConfig 命令详解

MySQLInstanceConfig:To use the Instance Configuration Wizard from the command line the following parameters can be used. These parameters have to be set to run from the command line-n-p (n

2014-06-20 10:43:47 866

转载 Data Type Ranges

http://msdn.microsoft.com/en-us/library/s3f49ktz(VS.80).aspx

2014-06-05 10:32:44 517

转载 Windows Data Types

http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspxWindows Data TypesThe data types supported by Windows are used to define function return values, funct

2014-06-05 10:28:45 596

转载 Unicode in the Windows API

Unicode in the Windows APIhttp://msdn.microsoft.com/en-us/library/windows/desktop/dd374089(v=vs.85).aspx

2014-06-05 10:20:19 495

转载 mysql connection string for net

http://dev.mysql.com/doc/connector-net/en/connector-net-connection-options.htmlTable 7.1 Connector/Net Connection String Options - GeneralNameDefaultDescription

2014-04-19 15:30:22 1258

转载 Custom Date and Time Format Strings

The following table describes the custom date and time format specifiers and displays a result string produced by each format specifier. By default, result strings reflect the formatting conventions o

2014-04-16 15:59:40 945

原创 Msiexec.exe 的命令行选项

下面是可用于 Msiexec.exe 的命令行选项。必须至少指定一个选项才能运行 Msiexec.exe 程序。选项 参数 说明------------------------------------------------------------------------/i

2014-04-09 15:52:19 1388

转载 MySQL Silent Install

So there doesn't seem to be much information out there about a silent (unattended) install of MySQL 5.0 I just finished a project that included a MySQL option in the installer and I wanted to let

2014-04-08 17:19:57 553

转载 Comparing the Timer Classes in the .NET Framework Class Library

.Net 中三种定时器比较来源地址: http://msdn.microsoft.com/en-us/magazine/cc164015.aspxSUMMARYTimers often play an important role in both client applications and server-based components (including Win

2014-03-07 16:28:44 703

转载 C#调用C++的DLL搜集整理的所有数据类型转换方式

http://blog.csdn.net/xqf222/article/details/5877795本以为这篇搜集整理的代码会是很不错的文章,花了一天时间,搜索到最后居然出来一篇叫做"C# 与 C++ 数据类型对照表"的文章.几乎囊括掉和大部分的数据了,太打击我了. 本文中有部分的数据没有测试.也有一些不错的是看了上百篇网文对比整理得来的.希望有帮助.        //C+

2014-02-21 22:45:04 558

转载 Marshal在C#中的应用(void *指针到IntPtr的转化)

http://www.cnblogs.com/zhongxg/archive/2013/03/18/2965301.htmlMarshal在C#中的应用(void *指针到IntPtr的转化)  C#调用C语言的API时一般把void *指针转换成IntPtr,但这经常远远不够的。在C语言中void *是个万金油,尤其是一些老的c语言程序,所有的参数就一个void*指针,里

2014-02-21 22:34:53 3071 1

转载 NoSQL数据库

文档数据库MongoDB:开源、面向文档,也是当下最人气的NoSQL数据库。CounchDB:Apache CounchDB是一个使用JSON的文档数据库,使用Javascript做MapReduce查询,以及一个使用HTTP的API。Couchbase:NoSQL文档数据库基于JSON模型。RavenDB:RavenDB是一个基于.net语言的面向文档数据库。Mark

2013-12-25 15:42:33 666

转载 一名靠谱的JavaScript程序员应备的素质

1. 你需要知道HTML, 你需要非常精通它。你需要知道 document types的作用和效果。 你需要知道即使你没有写TBODY,浏览器也会自动将他补上。你需要关注浏览器每一次升级所做的变动。学习这些东西,至少在我这儿你得这样。在你工作的时侯花点时间去研究下。2. 你需要了解CSS, 这样你才不至于后悔。我工作期间碰到的最多的问题就是跨浏览器的CSS兼容问题。一段同样的样式在不同浏览

2013-12-18 13:53:22 585

转载 RS485-Modules

http://arduino-info.wikispaces.com/RS485-ModulesRS485-Modules Edit  0  15 …RS485 serial communications; RS485 moduleRS-485 Arduino Module (Top photo)T

2013-12-11 16:23:07 1619

转载 SoftwareSerialRS485Example

http://arduino-info.wikispaces.com/SoftwareSerialRS485ExampleSoftwareSerialRS485Example Edit  0  11 …SoftwareSerialRS485ExampleRS485 is a physical connection standard for Ser

2013-12-11 16:20:47 1932

转载 Arduino and RS485 (ENGLISH VERSION)

Arduino and RS485 (ENGLISH VERSION)来源:http://real2electronics.blogspot.com/2009/09/arduino-and-rs485-english-version.html.NEWS => Are you interested in CAN Bus with Arduino?  Visit http://

2013-12-11 16:16:10 2071

转载 SOCKET 网络字节序与主机字节序及其相互转换

主机字节序:整数在内存中保存的顺序 两种方式:Little endian 将低序字节存储在起始地址Big endian    将高序字节存储在起始地址 网络字节序:整数在网络中的发送顺序标准规定Big endian   首先发送高位字节字节序转换函数htonl: 转换long类型到网络字节序htons: 转换short类型到网络字

2013-12-02 13:04:44 682

转载 Socket网络通讯开发总结之:Java 与 C进行Socket通讯

先交待一下业务应用背景:服务端:移动交费系统:基于C语言的Unix系统客户端:增值服务系统:基于Java的软件系统通迅协议:采用TCP/IP协议,使用TCP以异步方式接入数据传输:基于Socket流的方式,传输的是网络字节序Java Socket通讯实现方式这里不做过多的描述,网上到处可以搜索到,比较简单,这里要说的是Java 与 C 进行Socket通讯需注意的地方:

2013-12-02 13:03:03 634

原创 Arduino RF decoder

基于Arduino 开源平台下的射频解码,目前可以解PT2262等通用码, 开关类使用最好的力沃,窗帘类最好的杜亚.奥新.QQ:27706646

2013-11-28 21:54:01 932

转载 Gas Sensor Getting Started

GAS Sensor Getting Started.This article describes how to use Gas Sensor, which consists of MG-811 Carbon Dioxide CO2 Sensor, MQ-2 Flammable Gas & Smoke Sensor, MQ-6 LPG Sensor, MQ-7 Cabon monoxide

2013-11-19 09:10:07 1600

转载 android 下硬解码

OpenMAX Android uses OpenMAX for codec interface. Hence all native codecs (hardware accelerated or otherwise) provide OpenMAX interface. This interface is used by StageFright(Player framework) for d

2013-10-23 17:44:58 798

转载 VirtualWire library for Arduino and other boards

VirtualWire library for Arduino and other boardsThis is the VirtualWire library.VirtualWire is an library for Arduino, Maple and others that provides features to send short messages, witho

2013-09-26 21:02:53 1627

linux tftp server

linux tftp server [root]# tar vxfz tftp-hpa-0.48.tar.gz [root]# cd tftp-hpa-0.48 [root]# make [root]# make install

2012-10-31

空空如也

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

TA关注的人

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