线程池任务执行流程我们从一个API开始接触Executor是如何处理任务队列的。java.util.concurrent.Executor.execute(Runnable)Executes the given task sometime in the future. The task may ex...
分类:
编程语言 时间:
2014-12-03 00:13:19
阅读次数:
175
1 #include 2 using namespace std; 3 4 const int dx[4]={0,1,0,-1}; 5 const int dy[4]={1,0,-1,0}; 6 7 int m,n,ans,ex,ey,sx,sy; 8 int a[22][22]; 9 10 ...
分类:
Web程序 时间:
2014-12-03 00:03:38
阅读次数:
193
题目链接http://acm.hdu.edu.cn/showproblem.php?pid=1242水题,bfs代码#include#include#include#includeusing namespace std;int n,m,success;int stx,sty,ex,ey;char m...
分类:
其他好文 时间:
2014-12-02 19:14:13
阅读次数:
147
http://blog.csdn.net/zjianbo/article/details/8578297SVN版本库(访问权限)配置实例笔记本系列文章由ex_net(张建波)编写,转载请注明出处。http://blog.csdn.net/ex_net/article/details/8578297作...
分类:
其他好文 时间:
2014-12-02 19:12:20
阅读次数:
227
<% ? BufferedImage image = new BufferedImage(400, 400, BufferedImage.TYPE_INT_RGB); ? Graphics g = image.getGraphics(); ? g.fillRect(0,0,400,400); ? g.setColor(new Color(255,0,0)); ? ? g.fill...
分类:
其他好文 时间:
2014-12-02 12:07:49
阅读次数:
128
原文:《BI那点儿事》数据流转换——模糊查找转换BI项目中经常会有一些提取,转换,数据处理(ELT)的工作,其中最主要的是处理过赃数据。假设在项目中我们向数据库中注入了测试数据,但是通过一个外键从另外一个表中载入数据的时候没有对应的数据,那么这一行就是赃数据。这时候可以使用SQL中的Sound-Ex...
分类:
其他好文 时间:
2014-12-02 10:26:50
阅读次数:
182
ERROR:?1064??You?have?an?error?in?your?SQL?syntax;?check?the?manual?that?corresponds?to?your?MySQL?server?version?for?the?right?syntax?to?use?near?‘ALTER?TABLE?user?A...
分类:
数据库 时间:
2014-12-02 01:40:20
阅读次数:
237
一、使用VS建立Web网站网站运行的一般原理:1.所有WEB程序运行都需要一个东西:Web服务器软件。2.web服务器软件的作用:接收请求,响应请求。 被动——无请求则无响应。 类似于:服务员。 Java--TomCat PHP--Apache asp/aspx——IIS(开发,运行)/IIS Ex...
分类:
Web程序 时间:
2014-12-01 23:55:00
阅读次数:
210
vi 命令行下面的文本编辑工具
vim是vi的增强版本
命令vim可以启动vim编辑器
一般可以通过vim+目标文件路径的形式使用vim
如果目标文件存在,则vim打开该文件
若目标文件不存在,则新建该文件
vi拥有三种模式:命令模式、插入模式和ex模式
任何模式都可以通过esc键回到命令模式
在命令模式中按”i“键可以进入到插入模式,在插入模式中按esc可以返回命令模式
在...
分类:
系统相关 时间:
2014-12-01 01:12:16
阅读次数:
172
解决办法:1、找到cmd.exe文件(c:\windows\system32\cmd.exe)2、右键cmd.exe以管理员方式运行3.把php_memcache.dll放到php的ext目录:4. 在 php.ini上增加一行:extension=php_memcache.dll5.cmd进入me...