2014年4月24日
摘要:
$('input:button').click(function() { var data = $('form:first').serialize(); /* $.ajax( ...
阅读全文
posted @ 2014-04-24 22:32
思静
阅读(165)
推荐(0)
摘要:
Jquery的serialize()方法用于将表单元素转换为查询字符串格式, Submit按钮及File选择元素是不能序列化的. $('input:button').click(function() { alert($('form:first').serialize()); ...
阅读全文
posted @ 2014-04-24 22:30
思静
阅读(192)
推荐(0)
摘要:
$('#choice').change(function() { if($(this).val() != '') { $.get( 'data.php', ...
阅读全文
posted @ 2014-04-24 22:10
思静
阅读(273)
推荐(0)
2014年4月15日
摘要:
@set Dump_IP=localhost@set User_Name=root@set Password=1234@set curPath=%~dp0mysql -h %Dump_IP% -u%User_Name% -p%Password% -e "show slave status\G">%curPath%Slave_Status.txt@Rem find any row of Sla...
阅读全文
posted @ 2014-04-15 14:10
思静
阅读(602)
推荐(0)
2014年4月1日
摘要:
@Echo Please wait 1 minute, do not close the window... @ping -n 60 127.0.0.1>nulpause
阅读全文
posted @ 2014-04-01 10:55
思静
阅读(1143)
推荐(0)
2014年3月14日
摘要:
declare(ticks=1);register_tick_function('do_profile');register_shutdown_function('show_profile');$profile = array();$last_time = microtime(true);a();function do_profile() {global $profile, $last_time;$bt = debug_backtrace();if (count($bt) 0,'calls' => 0);}$profile[$functio
阅读全文
posted @ 2014-03-14 14:47
思静
阅读(277)
推荐(0)
2014年3月12日
摘要:
@echo %date%@Set Year=%date:~0,4%@Set Month=%date:~5,2%@Set Day=%date:~8,2%@Set CurrentDate=%Year%-%Month%-%Day%@echo %CurrentDate%pause
阅读全文
posted @ 2014-03-12 02:29
思静
阅读(358)
推荐(0)
2014年2月26日
摘要:
$handle = popen("start D:\\test.bat", "r");//exec("start D:\\test.bat");pclose($handle);echo 'finished.';
阅读全文
posted @ 2014-02-26 11:20
思静
阅读(668)
推荐(0)
2014年2月25日
摘要:
@Rem Generate today date@echo wscript.echo dateadd("d",0,date)>GetOldDate.vbs@for /f %%a in ('cscript /nologo GetOldDate.vbs') do @set OldDate=%%a@Rem echo %OldDate%@del GetOldDate.vbs@rem Replace/to-@set Current_Date=%OldDate:/=-%@Rem Generate 7 days ago@echo wscript.echo datea
阅读全文
posted @ 2014-02-25 15:37
思静
阅读(929)
推荐(0)
2014年2月21日
摘要:
1. SVN安装:Setup-Subversion-1.7.0.msi创建SVN服务,并设置自启动,开启服务,注意=后面有个空格。批处理内容如下:C:\Windows\System32\sc.exe create svnserve binPath= "\"C:/Program Files (x86)/Subversion/bin/svnserve.exe\" --service --root D:/SVN_Repository" displayname= "SVNServe" depend= Tcpip start= auto备注:可
阅读全文
posted @ 2014-02-21 17:46
思静
阅读(211)
推荐(0)