2014年9月15日
摘要: 岗位职责: 1、负责新项目框架的搭建,指导和管理初级人员开发2、负责应用系统开发过程产出文档的编写。 3,负责软件项目的设计、开发以及单元测试工作;职位要求: 1、本科或以上学历,计算机相关专业毕业,3年以上相关工作经验; 2、掌握html、javascript、css,jquery等常规web开发... 阅读全文
posted @ 2014-09-15 22:05 lock 阅读(217) 评论(0) 推荐(0) 编辑
  2013年8月28日
摘要: pre-commit hook 设置@echo offset SVN_BINDIR="D:\software\VisualSVN Server\bin"set REPOS=%1set TXN=%2%SVN_BINDIR%\svnlook log "%REPOS%" -t "%TXN%" | findstr "." > nulif %errorlevel% gtr 0 goto errexit 0:errecho 请务必添加注释. 要求写明提交原因. Commit aborted! 1>&2exi 阅读全文
posted @ 2013-08-28 15:56 lock 阅读(601) 评论(0) 推荐(0) 编辑
  2012年4月20日
摘要: 这里不介绍如何安装mysql服务器端(你可能通过 sudo apt-get install mysqlserver)1. 下载MySQL-python-1.2.3.tar.gz2. tar 这个文件,使用命令( tar zxvf MySQL-python-1.2.3.tar.gz)3.接着用进入解压后的目录 MySQL-python-1.2.3,然后运行安装命令(sudo python setup.py install)在这个环节会提示setuptools找不到的错误提示,你需要安装它。安装setuptools-0.6c11.tar.gz,先用tar解压,然后进入setuptools_06c1 阅读全文
posted @ 2012-04-20 14:34 lock 阅读(504) 评论(0) 推荐(0) 编辑
  2012年3月28日
摘要: JS当中动态注册事件,可以有好几种方式,但兼容性最好的是以下的方式://elementid:要注册事件的HTML控件的ID//type:注册事件的名称,(例如:blur focus focusin focusout load resize scroll unload click dblclick " + "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + "change select submit keydown keypress keyup error)// 阅读全文
posted @ 2012-03-28 15:48 lock 阅读(661) 评论(0) 推荐(0) 编辑
  2012年3月13日
摘要: 第一步:得到当前Activity的LayoutInflater object. //下面俩种方法都可以 //LayoutInflaterinflater=getLayoutInflater();LayoutInflaterinflater=(LayoutInflater)this.getSystemService(LAYOUT_INFLATER_SERVICE);第二步:通过inflate方法得到ViewViewlayout=inflater.inflate(R.layout.custom_dialog,null);// R.layout.custom_dialog -> View的资源 阅读全文
posted @ 2012-03-13 17:54 lock 阅读(273) 评论(0) 推荐(0) 编辑
  2011年11月23日
摘要: public static string GetRootURI() { string AppPath = ""; HttpContext HttpCurrent = HttpContext.Current; HttpRequest Req; if (HttpCurrent != null) {Req = HttpCurrent.Request;string UrlAuthority = Req.Url.GetLeftPart(UriPartial.Authority);if (Req.ApplicationPath == null || Req.ApplicationPat 阅读全文
posted @ 2011-11-23 15:06 lock 阅读(192) 评论(0) 推荐(0) 编辑
  2011年9月14日
摘要: sdcard读写权限是必需的 try { // 获取扩展存储设备的文件目录 File SDFile = android.os.Environment.getExternalStorageDirectory(); // 打开文件 File myFile = new File(SDFile.getAbsolutePath() + File.separator + "MyFile.txt"); // 判断是否存在,不存在则创建 if (!myFile.exists()) { myFile.createNewFile(); } // 写数据 String szOutTe... 阅读全文
posted @ 2011-09-14 22:15 lock 阅读(329) 评论(0) 推荐(0) 编辑
摘要: Android 中如何复制文件的操作a)首先要把权限加到AndroidManifest.xml当中<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>b)创建一个类,将下面的代码复制进去public static void copyfile(File fromFile, File toFile,Boolean rewrite ){ if (!fromFile.exists()) { return; } if (!fromFile.isFile()) { return 阅读全文
posted @ 2011-09-14 22:12 lock 阅读(1663) 评论(0) 推荐(0) 编辑
  2011年7月27日
摘要: EXEC master . dbo. sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0' , N'AllowInProcess' , 1GOEXEC master . dbo. sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0' , N'DynamicParameters' , 1--上面两句要先运行一下就可以了select * from OpenRowSet('Microsoft.ACE.OLEDB.12.0', 'E 阅读全文
posted @ 2011-07-27 11:19 lock 阅读(296) 评论(0) 推荐(0) 编辑
  2011年6月27日
摘要: 在sharepoint中使用jquery validation来验证数据时会出现验证后程序无法进入按钮事件代码。现将解决方法列出如下: 只需要在page_load当中添加以下代码即可,作用是使用代码来通知asp.net事件的定位入口protected void Page_Load(object sender, EventArgs e) { string jQueryFix = "if ($('#aspnetForm').valid()) { " + Page.ClientScript.GetPostBackEventReference(btnSend, &q 阅读全文
posted @ 2011-06-27 16:50 lock 阅读(267) 评论(0) 推荐(0) 编辑