启动MySQL后,几秒钟后直接报错了然后在事件查看器中发现了几条错误信息Can't start server: Bind on TCP/IP port: No such file or directoryDo you already have another mysqld server runnin...
分类:
数据库 时间:
2014-09-24 01:55:45
阅读次数:
365
把手中持有的钥匙状态状压一下即可,然后vis访问标记的时候,开个三维,多一维即为当前持有钥匙状态,这样就能祛除重复标记困难走点的问题,跟网络赛那题很像,网络赛的更难点,这个简单点
int n,m,t;
int sx,sy,ex,ey;
char mp[20 + 55][20 + 55];
bool vis[20 + 5][20 + 5][(1<<10) + 5];
int dir...
分类:
其他好文 时间:
2014-09-23 01:12:13
阅读次数:
330
1.安装与配置 Setup oh-my-zshshould work with any recent release of Zsh. The minimum recommended version is 4.3.9. If not already installed, you can install Zsh using the command-line. The automatic...
分类:
其他好文 时间:
2014-09-22 16:22:53
阅读次数:
301
1. NFS配置
vi /etc/export 加入所需要共享目录。例如:
/home/liukang/workship 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
修改完毕后,运行
#exportfs -a 使改变生效。
#/etc/init.d/nfsserver start 启动NFS服务器。
#ex...
分类:
系统相关 时间:
2014-09-22 12:26:22
阅读次数:
306
利用 if .... then单层、简单条件判断式if [ 条件判断式 ]; then 当条件判断式成立时,可以进行的命令工作内容;fi {$0 someword}"else echo "The only parameter is 'hello', ex> {$0 hello}"finetst...
分类:
其他好文 时间:
2014-09-20 18:00:29
阅读次数:
262
一、Unix编辑器概述 编辑器是使用计算机的重要工具之一,在各种操作系统中,编辑器都是必不可少的部件。Unix及其相似的ix 操作系统系列中,为方便各种用户在各个不同的环境中使用,提供了一系列的ex编辑器,包括 ex, edit,ed 和 vi.其中ex,edit,ed都是行编辑器,现在已很少有人使...
分类:
其他好文 时间:
2014-09-20 09:59:37
阅读次数:
205
dwExStyle [in] Specifies the extended window style of the window being created. This parameter can be one or more of the following values. WS_EX_ACCEP...
有两种方式可以确保数据连接在用完后立即释放1.第一种方式--利用try..catch...finally语句块在finally中关闭任何已经打开的连接try{conn.open();}catch(SqlException ex){ //}finally{conn.Close();}在finally块...
分类:
其他好文 时间:
2014-09-19 22:21:36
阅读次数:
185
ERROR ITMS-9000: "Redundant Binary Upload. There already exists a binary upload with build version '1.0'
解决办法...
分类:
其他好文 时间:
2014-09-19 19:25:05
阅读次数:
237
一个窗体特效,帮你了解几个windows api函数.效果:windows桌面上增加一个简单的遮罩层,其中WS_EX_TRANSPARENT 比较重要,它实现了鼠标穿透的功能。[csharp]view plaincopyusingSystem;usingSystem.Drawing;usingSys...