会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
NiceSkyFly
博客园
首页
新随笔
联系
订阅
管理
2016年4月14日
记录php+apache配置注意
摘要: php版本和apache版本问题(一般都是这问题) 确认php 和apache 是否 都是x86 或者x64的 php5.5 不支持apache2.2 win2003 msvcr110.dll 丢失 缺少vc11 运行库
阅读全文
posted @ 2016-04-14 14:02 NSkG
阅读(123)
评论(0)
推荐(0)
2016年3月9日
linux 串口minicom配置使用
摘要: 在minicom -s配置是记得取消硬件流控制。 1.minicom -o 配置文件 2.alias com='minicom -o 配置文件'
阅读全文
posted @ 2016-03-09 12:54 NSkG
阅读(495)
评论(0)
推荐(0)
2016年2月24日
Linux 修改时区(debain)
摘要: dpkg-reconfigure tzdata
阅读全文
posted @ 2016-02-24 20:17 NSkG
阅读(141)
评论(0)
推荐(0)
2015年11月19日
C#生成验证码
摘要: 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
阅读(140)
评论(0)
推荐(0)
2015年11月10日
httpPost 请求
摘要: 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
阅读(273)
评论(0)
推荐(0)
2015年11月6日
C# Array.FindAll
摘要: 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
阅读(1499)
评论(0)
推荐(0)
2015年11月1日
C#删除字符串中所有的空字符
摘要: 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
阅读(821)
评论(0)
推荐(0)
C# 获取汉字区位码
摘要: 一个汉字的前一半为“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
阅读(616)
评论(0)
推荐(0)
2015年10月12日
Qinq Vlan mapping 和DHCP 服务器
摘要: 拓扑如下:DHCP server(vlan 101)-------G0/0/1-S5700-G0/0/2-------client1(vlan101) | G0/0/3 Client...
阅读全文
posted @ 2015-10-12 00:23 NSkG
阅读(599)
评论(0)
推荐(0)
2015年10月8日
Sql 分页存储过程
摘要: 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
阅读(122)
评论(0)
推荐(0)
公告