之前多次调节IE的canvas兼容性,总结如下: <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>jQuery</title>
<meta name="viewport" content="width=device-width"/>
<link rel="st...
分类:
其他好文 时间:
2014-10-20 15:30:36
阅读次数:
189
Tokyo Tyrant(TTServer)系列-tcrmgr(远程管理与调试)tcrmgr是TokyoTyrant的管理工具,对ttserver进行管理与执行命令:通过输入tcrmgr回车,能够看到相关操作选项:tcrmgr inform [-port num] [-st] host查看当前服务执...
分类:
其他好文 时间:
2014-10-20 15:02:24
阅读次数:
237
搜索 3 && $_clean['type'] View Code提交评论 0 && strlen($_clean['phone']) != 11 && $_clean['title'] != '' && $_clean['comments'] != '' ) { $_info['st...
分类:
其他好文 时间:
2014-10-20 14:46:27
阅读次数:
226
android程序连接网络出现android.os.NetworkOnMainThreadEx错误:android.os.NetworkOnMainThreadExceptionat android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(St...
分类:
移动开发 时间:
2014-10-20 11:18:22
阅读次数:
510
[Xamarin.Android] 在Xamarin.Android项目中使用Component套件前言在Xamarin中,可以将自己开发的项目包装成为Component套件,来提供开发人员使用。本篇介绍如何下载并安装Component套件,让开发人员能够使用Xamarin Component St...
分类:
移动开发 时间:
2014-10-19 18:19:46
阅读次数:
180
#!/usr/bin/env python#-*- encoding:UTF-8 -*-import os,time,statfileStats = os.stat ( 'test.txt' )#获取文件/目录的状态fileInfo = {'Size':fileStats [ stat.ST_SIZ...
分类:
编程语言 时间:
2014-10-19 12:56:52
阅读次数:
164
一道简单的广搜或者深搜题,题目ID:1005题目名称:迷宫有效耗时:0 ms空间消耗:784 KB程序代码:#include#include#includeusing namespace std;char a[102][102];int n;int x1,y11,x2,y2;const int st...
分类:
其他好文 时间:
2014-10-19 11:27:29
阅读次数:
578
RMQ的大裸题。没什么意思。开始数组开小了,RE了一次。下面放代码。 1 #include 2 using namespace std; 3 4 vector A; 5 int dp[1000005][20]; 6 7 void RMQ_init () { 8 int n = A.si...
分类:
编程语言 时间:
2014-10-18 23:59:19
阅读次数:
369
如果我们有一个表Student,包含下面字段与数据:drop table student;create table student(id int primary key,name nvarchar2(50) not null,score number not null);insert into st...
分类:
其他好文 时间:
2014-10-18 15:18:15
阅读次数:
210
http://acm.hdu.edu.cn/showproblem.php?pid=1109一个范围内给一堆点,求到这些点的最短距离最大模拟退火,温度是步长#include #include #include #include #include #include using namespace st...
分类:
其他好文 时间:
2014-10-18 00:34:32
阅读次数:
276