2019年1月5日

摘要: 做一个客户端的测试小程序测试web service的并发处理。开始用async task做,不管创建多少个task,用netstat看同时只有两个tcp连接。以为是async task的问题,改用BackgroundWorker和多线程都是同样的问题,经google得知原来是.NET默认一个客户端对 阅读全文
posted @ 2019-01-05 02:01 Amonw's Weblog 阅读(221) 评论(0) 推荐(0) 编辑

2017年9月10日

摘要: Followed official install instruction and got: dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name,^ Error: dns service error: unknown Tu 阅读全文
posted @ 2017-09-10 12:49 Amonw's Weblog 阅读(319) 评论(0) 推荐(0) 编辑

2017年5月4日

摘要: 今天在调试一个别人写的ASP.NET老程序,log文件怎么都写不了。web.config里的trace->listeners里有这么一行: <remove type="System.Diagnostics.DefaultTraceListener"/> 注释掉就好了。google了一下,很多例子都是 阅读全文
posted @ 2017-05-04 20:08 Amonw's Weblog 阅读(97) 评论(0) 推荐(0) 编辑

2017年5月3日

摘要: 如果使用Oracle 12c Client和.NET的Oracle driver,你很可能会碰到跟下面一样的问题: https://www.codeproject.com/Questions/876769/Oracle-client-problem-with-output-parameter 我们昨 阅读全文
posted @ 2017-05-03 23:47 Amonw's Weblog 阅读(237) 评论(0) 推荐(0) 编辑

2017年3月24日

摘要: 参照: http://www.grolmsnet.de/kerbtut/ https://docs.typo3.org/typo3cms/extensions/ig_ldap_sso_auth/2.1.1/AdministratorManual/ConfigureApacheKerberos.htm 阅读全文
posted @ 2017-03-24 03:21 Amonw's Weblog 阅读(207) 评论(0) 推荐(0) 编辑

2016年10月4日

摘要: [root@localhost ~]# cd /etc/openldap[root@localhost openldap]# cat slapd.confloglevel 0x900include /etc/openldap/schema/core.schemapidfile /var/run/op 阅读全文
posted @ 2016-10-04 23:18 Amonw's Weblog 阅读(223) 评论(0) 推荐(0) 编辑

2016年6月20日

摘要: 用php实现的排列组合算法。使用递归算法,效率低,胜在简单易懂。可对付元素不多的情况。 阅读全文
posted @ 2016-06-20 22:45 Amonw's Weblog 阅读(2162) 评论(0) 推荐(0) 编辑

2016年5月18日

摘要: I've been looking for a Notepad++ plugin that can close HTML/XML tags after a slash just like the way Dreamweaver does for a long time.The only things 阅读全文
posted @ 2016-05-18 02:53 Amonw's Weblog 阅读(345) 评论(0) 推荐(0) 编辑

2015年6月25日

摘要: 网上大部分文档只提到两个地方需要设置:在6.2版本确实可以。但在7.2版本上只有用vpn client或anyconnect client连上的客户端可以用ASDM连上ASA,而通过site to site VPN的还不行。7.2上还有一个地方要设置: 阅读全文
posted @ 2015-06-25 02:12 Amonw's Weblog 阅读(35) 评论(0) 推荐(0) 编辑

2015年5月29日

摘要: 要PHP可以连接到用self-signed certificate的ldaps服务器,需要在/etc/ldap.conf中添加一行:TLS_REQCERT never要PHP在Apache中连接到用self-signed certificate的ldaps服务器,需要在httpd.conf中添加... 阅读全文
posted @ 2015-05-29 00:12 Amonw's Weblog 阅读(263) 评论(0) 推荐(0) 编辑