Abandoned World
Early this morning, a fiber optic cable from Santa Cruz to San Francisco area is severed.
Early this morning, a fiber optic cable from Santa Cruz to San Francisco area is severed.
“I am not sure how many sessions I should check whether each of them has single or multiple information need.” “So, how many sessions you’ve checked?” “about 2000.” “Wao… that’s enough, much more than necessary.” “囧rz…” “Another question is, how many sessions I should used for experiment? I am not sure how many is enough.” […]
The difference experience while dining with the advisor. (not discussing the foods :P)
Remeber to check the item “Integration Services” (SSIS) in the install process, or you will fail and get a error message like “product level is insufficient for components” while importing data from txt, excel, etc. files into a SQL server 2005 database. Related: porduct level is insufficient for components
既然都有誤斬忠良的時候… 那 extract html text content 還是用 regular expression 好了,然後再特殊處理一下 <script> 和 <style>… int i, j; i = tb1.Text.ToLower().IndexOf("<script"); while (i >= 0) { j = tb1.Text.ToLower().IndexOf("</script>", i); tb1.Text = tb1.Text.Substring(0, i) + tb1.Text.Substring(j + 9); i = tb1.Text.ToLower().IndexOf("<script"); } i = tb1.Text.ToLower().IndexOf("<style"); while (i >= 0) { j = tb1.Text.ToLower().IndexOf("</style>", i); tb1.Text = tb1.Text.Substring(0, […]
免得以後要找很麻煩。都是 C# 的程式。 Threading 中作 output 到 textbox 中 delegate void SetTextCallback(TextBox tb, string text); private void SetText(TextBox tb, string text) { if (tb.InvokeRequired) { SetTextCallback d = new SetTextCallback(SetText); this.Invoke(d, new object[] { tb, text }); } else { tb.Text = text; } } Extract text in <body> tag strpage = ""; // Store […]
I love to work in a coffee shop with internet service, especially with a power plug. XD There are many coffee shops in this small town, and all provide wireless internet services. Besides, because of the cold environment of my lab here, I prefer to stay in a coffee shop and work by the wireless […]
Well, I expect thater are some celebration activities here.
//Used in .net private const int CP_NOCLOSE_BUTTON = 0x200; protected override CreateParams CreateParams { get { CreateParams myCp = base.CreateParams; myCp.ClassStyle = myCp.ClassStyle | CP_NOCLOSE_BUTTON; return myCp; } }
就令人火氣大血壓高…