会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
b̶i̶n̶g̶.̶
只要心中有景、何处不是花香满径。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
21
22
23
24
25
26
27
28
29
···
40
下一页
2015年10月28日
C# ManualResetEvent和AutoResetEvent 使用笔记
摘要: 一、两者区别 1.ManualResetEvent 调用一次Set()后将允许恢复所有被阻塞线程。需手动在调用WaitOne()之后调用Reset()重置信号量状态为非终止,然后再次调用WaitOne()的时候才能继续阻塞线程,反之则不阻塞 2.AutoResetEvent,调用一次Set()只能继
阅读全文
posted @ 2015-10-28 20:10 b̶i̶n̶g̶.̶
阅读(6776)
评论(1)
推荐(0)
2015年7月21日
C# 拷贝目录
摘要: public class DirectoryExtends { /// /// 拷贝目录 /// /// 源目录 /// 新目录 public static void CopyDirectory(s...
阅读全文
posted @ 2015-07-21 15:11 b̶i̶n̶g̶.̶
阅读(356)
评论(0)
推荐(0)
C#设计模式 - 观察者模式(使用委托)
摘要: 1.概念 观察者模式(有时又被称为发布-订阅Subscribe>模式、模型-视图View>模式、源-收听者Listener>模式或从属者模式)是软件设计模式的一种。在此种模式中,一个目标物件管理所有相依于它的观察者物件,并且在它本身的状态改变时主动发出通知。这通常透过呼叫各观察者所提供的方法来实现。...
阅读全文
posted @ 2015-07-21 09:38 b̶i̶n̶g̶.̶
阅读(1317)
评论(1)
推荐(0)
2015年7月15日
C# Socket
摘要: 参考网址1.http://www.cnblogs.com/JimmyZhang/archive/2008/09/16/1291857.html2.http://www.cnblogs.com/zengqinglei/archive/2013/05/14/3078842.html
阅读全文
posted @ 2015-07-15 11:13 b̶i̶n̶g̶.̶
阅读(138)
评论(0)
推荐(0)
C# 对象 序列化 XML
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Data;using System.Xml;using System.Xml....
阅读全文
posted @ 2015-07-15 10:16 b̶i̶n̶g̶.̶
阅读(144)
评论(0)
推荐(0)
2015年7月3日
C# Monitoring-network
摘要: http://www.codeproject.com/Articles/6259/Monitoring-network-speed
阅读全文
posted @ 2015-07-03 20:36 b̶i̶n̶g̶.̶
阅读(170)
评论(0)
推荐(0)
2015年7月1日
WinSCP 连接 Ubuntu 拒绝的问题
摘要: 1.打开配置文件$ sudo vi /etc/ssh/sshd_config2.修改操作PermitRootLogin without-password 修改为PermitRootLogin yes3.重启shh服务或重启计算机$ service sshd restart
阅读全文
posted @ 2015-07-01 17:35 b̶i̶n̶g̶.̶
阅读(1587)
评论(0)
推荐(0)
Nginx常用配置
摘要: 1、反向代理全局配置 include mime.types; default_type application/octet-stream; client_max_body_size 100m; keepalive_timeout 65; proxy_read_timeout 600s; 2、http
阅读全文
posted @ 2015-07-01 16:20 b̶i̶n̶g̶.̶
阅读(512)
评论(0)
推荐(0)
Ubuntu 源码安装 nginx 1.9.2
摘要: 安装前准备://更新系统1.sudo apt-get update//安装pcre包2.sudo apt-get install libpcre3 libpcre3-dev3.sudoapt-getinstall openssllibssl-dev
阅读全文
posted @ 2015-07-01 15:58 b̶i̶n̶g̶.̶
阅读(234)
评论(0)
推荐(0)
JS 键值对
摘要: function Map() { this.keys = new Array(); this.data = new Array(); //添加键值对this.set = function (key, value) { if (this.data[key] == null) {//如键不存在则身【键】...
阅读全文
posted @ 2015-07-01 13:37 b̶i̶n̶g̶.̶
阅读(1953)
评论(0)
推荐(0)
上一页
1
···
21
22
23
24
25
26
27
28
29
···
40
下一页
公告