Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2015-06-11 18:25:40
阅读次数:
104
背景:主从环境一样,字符集是utf8。Slave复制报错,平时复制都正常也没有出现过问题,今天突然报错:150610 17:47:10 [ERROR] Slave SQL: Error 'Incorrect string value: '\xD3\xC3\xB6\xD2\xBB\xBB...' fo...
分类:
数据库 时间:
2015-06-11 16:44:06
阅读次数:
151
1、项目添加NLog的项目引用:2、将工程的framework框架改为3.5或4.0,将配置文件[NLog.config]拷贝至运行的bin/(release/debug)路径下3、项目中代码使用: NLog.Logger logger = NLog.LogManager.GetLogger("Fo...
分类:
其他好文 时间:
2015-06-11 16:30:04
阅读次数:
96
在ASP.NET MVC框架中,将视图中的数据传递到控制器中,主要通过发送表单实现的.具体使用中,主要使用以下三种方法.1、通过Request.Form读取表单数据 2、通过FormCollection读取表单数据 3、直接读取表单数据对象下边是我学习这些东西时的一点总结1、通过Request.Fo...
分类:
Web程序 时间:
2015-06-11 16:12:25
阅读次数:
120
1 #include 2 #include 3 #define MAXN 2050 4 using namespace std; 5 6 int pre[MAXN]; 7 int opp[MAXN]; 8 9 void init(int n)10 {11 int i;12 fo...
分类:
其他好文 时间:
2015-06-11 12:30:48
阅读次数:
114
mysql> DELIMITER //mysql> CREATE PROCEDURE processorders() -> BEGIN -> -- Declare the cursor -> DECLARE ordernumbers CURSOR -> FO...
分类:
数据库 时间:
2015-06-10 13:47:58
阅读次数:
122
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2015-06-09 16:59:44
阅读次数:
135
<html>
<head>
<style>
div.table{
font-size:0;
width:400px;
border-top-style:solid;
border-top-width:1px;
border-left-style:solid;
border-left-width:1px;
text-align:center;
margin:0auto;
}
div.table>div>div{
fo..
分类:
其他好文 时间:
2015-06-07 16:00:40
阅读次数:
109
P1、P2端口上的每个管脚都支持外部中断。P1端口的所有管脚都对应同一个中断向量(Interrupt Vector),类似的,P2端口的所有管脚都对应另一个中断向量;通过PxIFG寄存器来判断中断来源于具体哪个管脚。相关的寄存器如下表所示。 Register Short Fo...
分类:
其他好文 时间:
2015-06-07 14:30:11
阅读次数:
131
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2015-06-06 10:25:13
阅读次数:
115