set_charset('utf8'); $cws->set_duality(true); $cws->set_ignore(true); $cws->set_multi(false); $cws->send_text($text); $idf = array(); ...
分类:
其他好文 时间:
2015-01-08 12:45:15
阅读次数:
798
第一种方法:正则表达式 string text = "是不是汉字"; for (int i = 0; i = 0x4e00 && (int)c[i] 127) Console.WriteLine("是汉字"); ...
很久没写博客了,今天发现了一个很有意思的问题,写下来分享一下 话不多说,贴前端代码: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 <script?type="text/javascript" src="js/jquery-1.11.2.min.js"></sc...
分类:
Web程序 时间:
2015-01-08 11:37:48
阅读次数:
190
第一种方法:try{ if (int.Parse(textBox1.Text) > 0) { //操作代码 } else { MessageBox.Show("必须是正整数"); }}catch (FormatException){ ...
UILabel 的作用是显示文本UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(100, 100, 100, 40)]; label.text = @"代佳宏";//创建文本的内容 nillabel.textColor = [UI...
分类:
移动开发 时间:
2015-01-08 11:02:17
阅读次数:
147
With samba on Linux PC already installedOn Linux PC:1. vi /etc/samba/smb.confadd the following text in the end, NOTE, there are SPACEs before those op...
1、Date类型 js提供Date类型来处理日期和时间 <script?type="text/javascript">
????????var?date?=?new?Date();
????????document.writeln(date);
????????//Thu?Jan?08?2015?...
分类:
编程语言 时间:
2015-01-08 07:16:49
阅读次数:
202
本文转自CSDN博客:http://blog.csdn.net/anchenyanyue/article/details/7666370 1 using System; 2 using System.Text; 3 using System.IO; 4 5 namespace XXXX....
分类:
其他好文 时间:
2015-01-07 23:31:28
阅读次数:
246
利用TExp类的运算来求矩阵的特征值,初等因子等:using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MyMathLib
{
///
/// 一元多项式计算
///
public class PolynomialOfOneB...
分类:
其他好文 时间:
2015-01-07 22:12:27
阅读次数:
227
New Document
p a{
font-size:20px;
display:block;
font-weight:bold;
background:#00aaFF;
color:#FFF;
width:200px;
padding:10px;
text-shadow:0px 1px #ccc;
border-radius:5px;
box-shadow: 5px 5px 5px hs...
分类:
Web程序 时间:
2015-01-07 22:12:26
阅读次数:
165