现在位置: 首页 > cystic发表的所有文章
  • 10月
  • 07日
综合 ⁄ 共 311字 评论关闭
This issue can have many potential causes.    See the following KB article: PRB: "Unable to start debugging on the Web server" error message when you debug ASP.NET applications      And there are several references on this issue:    Debugging ASP.NET Applications on Windows Vista     Visual Studio 2005 Debugger doesn’t work. What can I do?    Hope they can help you!  
阅读全文
  • 03月
  • 07日
综合 ⁄ 共 2764字 评论关闭
切面,听起来似乎有些陌生吧,但其在实际项目中经常用到:比如说:Filter(过滤器),Interceptor(拦截器)以及代理... 一、aop术语: 1、切面:所有切入点的集合 2、切入点:一组符合某种规则的连接点 3、连接点:狭义上通俗的讲指的是某个方法切面,听起来似乎有些陌生吧,但其在实际项目中经常用到:比如说:Filter(过滤器),Interceptor(拦截器)以及代理... 一、aop术语: 1、切面:所有切入点的集合 2、切入点:一组符合某种规则的连接点 3、连接点:狭义上通俗的讲指的是某个方法 4、通知:在某个连接点上的某种操作,该操作......
阅读全文
  • 05月
  • 08日
综合 ⁄ 共 3539字 评论关闭
  Servlet生命周期分为三个阶段:   1,初始化阶段  调用init()方法   2,响应客户请求阶段  调用service()方法   3,终止阶段  调用destroy()方法 Servlet初始化阶段:   在下列时刻Servlet容器装载Servlet:     1,Servlet容器启动时自动装载某些Servlet,实现它只需要在web.XML文件中的<Servlet></Servlet>之间添加如下代码: <loadon-startup>1</loadon-startup>     2,在Servlet容器启动后,客户首次向Servlet发送请求     3,Servlet类文件被更新后,重新装载Servl......
阅读全文
  • 04月
  • 29日
综合 ⁄ 共 706字 评论关闭
树状数组+二分 就是找第几小的数,,找几次,再求和。。 #include<cstdio> #include<cstring> #include<iostream> #include<queue> #include<algorithm> using namespace std; const int N=277777; int t,n,m,bit[N],num,i; long long ans; int low(int g) { return g&(-g); } void update(int pos) { while(pos<=n) { bit[pos]--; pos+=low(pos); } } int query(int x) { int sum=0; while(x>0) { sum+=bit[x]; x-=low(x)......
阅读全文
  • 04月
  • 26日
综合 ⁄ 共 4813字 评论关闭
DB2 学习笔记(四) February 21, 2006 在AIX 系统上使用"db2 ? xxx" 命令查看帮助,需要加转移符"/" $ db2 /? list db2 get authorizations 用来获取当前用户的权限  Direct SYSADM authority                   ... 在AIX 系统上使用"db2 ? xxx" 命令查看帮助,需要加转移符"/" $ db2 /? list db2 get authorizations 用来获取当前用户的权限  Direct SYSADM authority                    = NODirect SYSCTRL authority                   = NODirect SYSMAINT authority                  = NODirect DBADM authority ......
阅读全文
  • 04月
  • 14日
综合 ⁄ 共 6859字 评论关闭
VIM 操作大全 tabnew , switch :gt :new-> open a new window, ctrl+w switch window, 命令模式ls后"b num" :vnew->横向 :e filename 回到刚才编辑的点 "反引号+."    mksession  保存会话, 下次直接vim后就打开上次会话打开的文件 设置标记行, 直接m+字母,  反引号+字母就返回标记行 shell: vimtutor教程 ctrl+]  进入到tag具体内容, ctrl+t返回原来点 :helptags ~/.vim/doc  生成标签tags :!shell command :registers 进入寄存器 "np  n为第几个寄存器 放入自定义name的寄存器中 "namedd   把dd的东西放入name寄存器中 ......
阅读全文
  • 03月
  • 31日
综合 ⁄ 共 268字 评论关闭
请访问官方网站获取更多的资料和帮助:http://www.yhuan.com 【项目源代码在我的资源里名为[jQuery formValidator表单验证.rar]】超级好用特写此博客以记之。 注:themes文件家中有多个皮肤的,可以替换皮肤使用。 demo1.jsp表单验证结果图如下图 demo2.jsp表单验证结果图如下图: demo3.jsp表单验证结果图如下图 demo6.jsp表单验证结果图如下图 demo8.jsp表单验证结果图如下图 资源中项目的目录如下图 请访问官方网站获取更多的资料和帮助:http://www.yhuan.com
阅读全文
  • 03月
  • 22日
综合 ⁄ 共 3869字 评论关闭
GIL 是什么东西?它对我们的 python 程序会产生什么样的影响?我们先来看一个问题。运行下面这段 python 程序,CPU 占用率是多少? # 请勿在工作中模仿,危险:) def dead_loop(): while True: pass dead_loop() 答案是什么呢,占用 100% CPU?那是单核!还得是没有超线程的古董 CPU。在我的双核 CPU 上,这个死循环只会吃掉我一个核的工作负荷,也就是只占用 50% CPU。那如何能让它在双核机器上占用 100% 的 CPU 呢?答案很容易想到,用两个线程就行了,线程不正是并发分享 CPU 运算资源的吗。可惜答案虽然......
阅读全文
  • 02月
  • 13日
综合 ⁄ 共 109字 评论关闭
步骤1、官网下载91助手ios专版 步骤2、运行91助手ios专版,点击程序管理 步骤3、运行91助手ios专版,选择左上角“已安装软件”菜单,选中右边列表中要删除             的软件,点击右下角“卸载”按钮 步骤4、重启手机
阅读全文
  • 02月
  • 09日
综合 ⁄ 共 2737字 评论关闭
一、OSI七层网络结构图与TCP/IP五层网络结构图 OSI七层网络结构图 七层模型OSI中的层                           功能                                     TCP/IP协议族 应用层 文件传输,电子邮件,文件服务,虚拟终端 TFTP,HTTP,SNMP,FTP,SMTP,DNS,Telnet 表示层 数据格式化,代码转换,数据加密                                              没有协议 会话层 解除或建立与别的接点的联系                                                     没有协议 传输层 提供端对端的接口                       ......
阅读全文
  • 01月
  • 22日
综合 ⁄ 共 453字 评论关闭
整型和字符串的相互转化   atoi, atol, atoll, atoq -- convert a string to an integer 相关函数: atof, atol, atrtod, strtol, strtoul 表头文件: #include <stdlib.h> 定义函数: int atoi(const char *nptr); 函数说明: atoi()会扫描参数nptr字符串,跳过前面的空格字符,直到遇上数字或正负符号才开始做转换,而再遇到非数字或字符串结束时('\0‘)才结束转换,并将结果返回。 返回值:   返回转换后的整型数。 附加说明: atoi(nptr)与strtol(nptr, (char**)NULL, 10)结果相同 #include <stdlib.h> #include <stdi......
阅读全文
  • 01月
  • 13日
综合 ⁄ 共 3786字 评论关闭
Description Bessie is in Camelot and has encountered a sticky situation: she needs to pass through the forest that is guarded by the Knights of Ni. In order to pass through safely, the Knights have demanded that she bring them a single shrubbery. Time is of the essence, and Bessie must find and bring them a shrubbery as quickly as possible. Bessie has a map of of the forest, which is partitioned into a square grid arrayed in the usual manner, with axes parallel to the X and Y axes. The ......
阅读全文