在出错文件夹下,鼠标右键TortoiseSVN->Clean
up.SVN错误:Attempted to lock an already-locked
dir1、出现这个问题后使用“清理”功能,如果还不行,就直接到上一级目录,再执行“清理”,然后再“更新”。2、有时候如果看到某个包里面的文件夹没有S...
分类:
其他好文 时间:
2014-05-27 01:38:28
阅读次数:
261
Given a string S, find the longest palindromic
substring in S. You may assume that the maximum length of S is 1000, and there
exists one unique longes...
分类:
其他好文 时间:
2014-05-24 04:45:39
阅读次数:
245
in_array(value,array,type)该函数的作用是在数组array中搜索指定的value值,type是可选参数,如果设置该参数为
true ,则检查搜索的数据与数组的值的类型是否相同,即恒等于。array_key_exists(key,array)该函数是判断某个数组array中是否...
分类:
Web程序 时间:
2014-05-24 00:25:11
阅读次数:
284
string $sel[]=`ls -sl`;float $T[]=`xform -q -ws -t
$sel[0]`;float $R[]=`xform -q -ws -ro $sel[0]`;if (`exists ($sel[0]+"_Con")`==0)
{delete ($sel[0]+"...
分类:
其他好文 时间:
2014-05-23 23:23:38
阅读次数:
318
以前有大学有学过,但是没学好,现在准备完全自己动手做一个网站,学习一下ASP.NET做一个登录页面,首先要有创建一个新的网站,添加Login.aspx,然后做出自己想要的DIV和CSS布局,之后创建自己的数据库,代码如下:USE
[master] GOIF EXISTS(SELECT * FROM ...
分类:
Web程序 时间:
2014-05-23 12:41:44
阅读次数:
491
mysql 自定义存储过程和触发器
--存储过程示范
DROP PROCEDURE IF EXISTS PRO_TEST;
CREATE PROCEDURE PRO_TEST(IN NUM_IN INT,OUT NUM_OUT INT,INOUT NUM_INOUT)
BEGIN
//DO ANYTHING YOU WANT
END;
参数解释:
in : 就是输入参数,输...
分类:
数据库 时间:
2014-05-22 06:42:40
阅读次数:
345
进入Project->Settings->General 下,在下拉框中选“Use MFC
in a Static Library”(使用MFC做为静态链接库);然后添加头文件#include ,并且要放在其它头文件前。否则,会有#error :
WINDOWS.H already included...
FreeMarker的插值有如下两种类型:1,通用插值${expr};2,数字格式化插值:#{expr}或#{expr;format}${book.name?if_exists
} //用于判断如果存在,就输出这个值${book.name?default(‘xxx’)}//默认值xxx${book....
分类:
其他好文 时间:
2014-05-19 11:48:14
阅读次数:
346
if
(System.IO.Directory.Exists(System.IO.Path.GetDirectoryName(this.Asset.LocalPath))
&& System.IO.Directory.GetFiles(System.IO.Path.GetDirectoryName(...
分类:
其他好文 时间:
2014-05-19 11:04:02
阅读次数:
217
Given a stringS, find the longest palindromic
substring inS. You may assume that the maximum length ofSis 1000, and there
exists one unique longest pa...
分类:
其他好文 时间:
2014-05-18 19:39:55
阅读次数:
355