1、插件//以下是自定义的ctrl+alt+j : JSON格式化2、文本操作//移动焦点home 当前行的行首end 当前行的行尾ctrl+home 文件的开头ctrl+end 文件的结尾//选择shift+leftshift+rightshift+upshift+down//选择多行ctrl.....
分类:
其他好文 时间:
2014-07-29 10:43:16
阅读次数:
285
Application_start:第一个访问网站的用户会触发该方法.通常会在该方法里定义一些系统变量,如聊天室的在线总人数统计,历史访问人数统计的初始化等等均可在这里定义.Application_end:网站关闭,或重启时,会触发该方法.Session_start:每个用户访问网站的第一个页面时触...
分类:
移动开发 时间:
2014-07-29 10:26:58
阅读次数:
300
考察的是结构体的二次快排
#include
#include
typedef struct Node{
int fir;
int end;
}Node;
Node node[110];
int cmp(const void *a,const void *b)
{
return (*(node *)a).end>(*(node *)b).end?1:-1;
}
i...
分类:
其他好文 时间:
2014-07-28 16:15:23
阅读次数:
218
最近看了看windows service,1. 找到了一个帖子:http://blog.csdn.net/knight94/article/details/6272982. At the end of the link http://www.cnblogs.com/Googler/archive/2...
# cat > check_process_is_end.shwhile truedo sleep 30 res=`ps -ef | grep RNAhybrid` count=`grep -o "RNAhybrid" <<<"$res" | wc -l` if [ "$count" -eq "1"...
分类:
系统相关 时间:
2014-07-28 15:06:23
阅读次数:
293
详细异常:A SQLiteConnection object for database '/data/data/.../databases/....db' was leaked! Please fix your application to end transactions in progress ...
分类:
数据库 时间:
2014-07-28 15:02:33
阅读次数:
1781
条件写在前面string sqlrequirement ="";if(dtp_sta.text==""&&dtp_end.text==""){ sqlrequirement=""} else if(dtp_sta.text!=""&&dtp_end.text!=""){ sqlrequireme.....
分类:
数据库 时间:
2014-07-28 14:31:13
阅读次数:
229
SELECT CASE WHEN `MEMBERTYPE` = 1 THEN '参赛队员' ELSE '指导老师' ENDFROM `tab_sign_member`WHERE 1 = 1
分类:
数据库 时间:
2014-07-28 13:52:00
阅读次数:
303
用优先队列实现
模板:
struct node
{
int pos, dist;
friend bool operator b.dist;
}
};
int Dijkstra(int n,int start,int end)
{
bool visited[maxn]...
分类:
其他好文 时间:
2014-07-28 00:07:00
阅读次数:
305
there I write down the restaurant system.public class TimeSpan { Date date; String start; String end;}public class Table { int tableid; ...
分类:
其他好文 时间:
2014-07-27 11:02:02
阅读次数:
234