摘要: php版本和apache版本问题(一般都是这问题) 确认php 和apache 是否 都是x86 或者x64的 php5.5 不支持apache2.2 win2003 msvcr110.dll 丢失 缺少vc11 运行库 阅读全文
posted @ 2016-04-14 14:02 NSkG 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 在minicom -s配置是记得取消硬件流控制。 1.minicom -o 配置文件 2.alias com='minicom -o 配置文件' 阅读全文
posted @ 2016-03-09 12:54 NSkG 阅读(466) 评论(0) 推荐(0) 编辑
摘要: dpkg-reconfigure tzdata 阅读全文
posted @ 2016-02-24 20:17 NSkG 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 1 public static byte[] GetVerifyCode(string codeStr) 2 { 3 Random r = new Random(); 4 Bitmap btBitmap = new Bitmap(... 阅读全文
posted @ 2015-11-19 16:08 NSkG 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1 public static string HttpPost(string url, byte[] postData) 2 { 3 HttpWebRequest request = WebRequest.Create(url) as HttpWebRequ... 阅读全文
posted @ 2015-11-10 10:57 NSkG 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 1 string[] arrySource = { "C#111", "C#22222", "C222", "safdaf", "Cwedad" }; 2 string[] tempResult; 3 private void Form1_Load(object sender, EventA... 阅读全文
posted @ 2015-11-06 10:49 NSkG 阅读(1454) 评论(0) 推荐(0) 编辑
摘要: 1 string sourceStr = "Hi, Bo ys "; 2 char[] pChar = sourceStr.ToCharArray();//转换成字符数组3 IEnumerator p = pChar.GetEnumerator();//得到IEnumerator 对象4 S... 阅读全文
posted @ 2015-11-01 22:24 NSkG 阅读(803) 评论(0) 推荐(0) 编辑
摘要: 一个汉字的前一半为“160+区码”的字符,后一半为“160+ 位码”的字符。1 string c_str = "文";2 byte[] b = Encoding.Default.GetBytes(c_str);3 short p1 = (short)b[0];4 short p2 = (sho... 阅读全文
posted @ 2015-11-01 19:43 NSkG 阅读(606) 评论(0) 推荐(0) 编辑
摘要: 拓扑如下:DHCP server(vlan 101)-------G0/0/1-S5700-G0/0/2-------client1(vlan101) | G0/0/3 Client... 阅读全文
posted @ 2015-10-12 00:23 NSkG 阅读(568) 评论(0) 推荐(0) 编辑
摘要: 1 Create proc [dbo].[GetPageList] 2 @TableName varchar(20), 3 @IdName varchar(10), 4 @PageIndex int, 5 @PageSize int, 6 @RowsCount int output 7 as 8 ... 阅读全文
posted @ 2015-10-08 21:47 NSkG 阅读(119) 评论(0) 推荐(0) 编辑