2011年12月7日

摘要: 中午刚刚弄明白了MYSQL集群的备份与恢复。写下来,以后就不用为这个问题浪费时间了。1、在管理节点上进行备份。ndb_mgm>startbackupnowaitndb_mgm>Node3:Backup4startedfromnode1Node3:Backup4startedfromnode1completedStartGCP:43010StopGCP:43013#Records:2138#LogRecords:0Data:53068bytesLog:0bytesndb_mgm>shutdownNode3:ClustershutdowninitiatedNode4:Cluste 阅读全文

posted @ 2011-12-07 16:21 IT蚂蚁 阅读(2315) 评论(0) 推荐(0) 编辑


2008年2月28日

摘要: 一、配置1、在www.fckeditor.net点击Download,下载FCKEditor_2.5.1.zip和FCKEditor.Net(ASP.NETControltoeasilyintegrateFCKEditoron.NetWebpages.)2、新建一项目,比如叫FCK。解压FCKEditor_2.5.1.zip,里面有个fckeditor目录。把该目录整个复制到新建的ASP.NET项... 阅读全文

posted @ 2008-02-28 16:08 IT蚂蚁 阅读(1765) 评论(1) 推荐(0) 编辑


2007年9月6日

摘要: 基姆拉尔森计算公式W= (d+2*m+3*(m+1)/5+y+y/4-y/100+y/400) mod 7 d 天m 月y 年1月2月换算为去年的13 14月计算w=0是 星期一,依次类推其VC实现代码为CString CCalculateWeekDlg::CaculateWeekDay(int y, int m, int d){if(m==1) {m=13;y--;}if(m==2) {m=14... 阅读全文

posted @ 2007-09-06 10:29 IT蚂蚁 阅读(653) 评论(0) 推荐(0) 编辑


2007年8月30日

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 简洁Tab 新闻 评论 技术 点评 新闻列表 评论列表 技术列表 点评列表 新闻 评论 技术 点评 新闻列表 评论列表 技术列表 点评列表 ... 阅读全文

posted @ 2007-08-30 12:51 IT蚂蚁 阅读(599) 评论(0) 推荐(0) 编辑

摘要: 匹配中文字符的正则表达式: [\u4e00-\u9fa5] B;r OTs H*]0 评注:匹配中文还真是个头疼的事,有了这个表达式就好办了 2f:U$|_?!J0 o%yj$Vs9n)Z0 匹配双字节字符(包括汉字在内):[^\x00-\xff] 0@O*UDLX.GRG0 评注:可以用来计算字符串的长度(一个双字节字符长度计2,ASCII字符计1) C,hD*K... 阅读全文

posted @ 2007-08-30 11:12 IT蚂蚁 阅读(167) 评论(0) 推荐(0) 编辑


2007年8月4日

摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Threading;namespaceConsoleApplication1{classTimerExample{staticvoidMain(string[]args){AutoResetEventautoEvent=newAutoResetEvent... 阅读全文

posted @ 2007-08-04 18:54 IT蚂蚁 阅读(595) 评论(0) 推荐(0) 编辑


2007年7月31日

摘要: using System.Globalization; public static int WeekOfTheYear() { //获取 CultureInfo myCI = new CultureInfo("zh-CN"); System.Globalization.Calendar m... 阅读全文

posted @ 2007-07-31 22:42 IT蚂蚁 阅读(680) 评论(0) 推荐(0) 编辑


2007年7月26日

摘要: 1、修改Web.config<!--system.webishere--><httpHandlers><addverb="GET"path="cachedimageservice.axd"type="ComponentArt.Charting.CachedImageService,ComponentArt.Charting.WebChart"/></htt... 阅读全文

posted @ 2007-07-26 23:29 IT蚂蚁 阅读(515) 评论(0) 推荐(0) 编辑


2007年7月23日

摘要: 由于在容器中的RadioButton的GroupName 会变,会自动加上序号,所以点选失效。我们可以自己手动输出实现点选模版列中加以个label,id为lblradio 在ItemDataBound绑定事件中写 Label lblradio= (Label)e.Item.FindControl("lblradio"); lblradio.Text = ""... 阅读全文

posted @ 2007-07-23 21:42 IT蚂蚁 阅读(272) 评论(0) 推荐(0) 编辑


Copyright © 2024 IT蚂蚁
Powered by .NET 8.0 on Kubernetes