2016年7月13日

UC_Center整合单点登录后远程注册不激活问题的解决办法

摘要: 修改:bbs目录\uc_server\model\user.php 下方法add_user 如下: 修改:bbs目录\uc_server\data\config.inc.php 增加 三方注册用户时就会自动激活论坛用户。 阅读全文

posted @ 2016-07-13 10:55 Tobin 阅读(434) 评论(0) 推荐(0) 编辑

2010年12月8日

AspExe - a small ASP.NET compiler and executor for document generation

摘要: ref:http://www.codeproject.com/KB/recipes/AspExe.aspx?msg=2381606AspExe is a small command line tool that will take an .aspx file and compile and execute (=render) it.Download source - 21.3 KB IntroductionAspExe is a small command line tool that will take an .aspx file and then compile and execute ( 阅读全文

posted @ 2010-12-08 16:20 Tobin 阅读(411) 评论(0) 推荐(0) 编辑

2010年12月7日

在as3中Embed(绑定)flash动画元素

摘要: ref:http://zszen.tbcheap.com/wordpress/life/?p=283你需要使用loader类的loadBytes方法将这个二进制流转换成显示类如果你需要控制embed进来的元件, 那么你需要侦听loader.contentLoadInfo的Event.Complete事件当完成装载后你既的内部embed元件就可以随心所欲的玩了此时的loader.content即为MainTimeline类, 这时你直接写loader.content.txt严格的话会报错, 你可以使用弱引用 loader.content["txt"] 然后声明个临时变量, 在cs5里面还能给个代 阅读全文

posted @ 2010-12-07 18:34 Tobin 阅读(1118) 评论(0) 推荐(0) 编辑

Embedding Resources with AS3

摘要: ref:http://www.bit-101.com/blog/?p=853Someone recently asked about “code injection” using AS3. Code injection comes from MTASC, where the byte code is added to an existing SWF. The person wanted to create a Flash 9 SWF with the Flash 9 AS3 preview IDE, and use mxmlc.exe to inject code into it.This i 阅读全文

posted @ 2010-12-07 17:35 Tobin 阅读(364) 评论(0) 推荐(0) 编辑

2010年11月29日

Configure the max limit for concurrent TCP connections

摘要: http://smallvoid.com/article/winnt-tcpip-max-limit.htmlTo keep the TCP/IP stack from taking all resources on the computer, there are different parameters that control how many connections it can handl... 阅读全文

posted @ 2010-11-29 22:59 Tobin 阅读(1114) 评论(0) 推荐(0) 编辑

2010年11月25日

[转]翻译:使用.net3.5的缓存池和SocketAsyncEventArgs类创建socket服务器

摘要: 原文链接:http://www.cnblogs.com/onlytiancai/archive/2008/06/25/1229321.html在.NET 3.5里System.Net.Sockets空间下有一组增强功能的类,提供可供专用的高性能套接字应用程序使用的可选异步模式,SocketAsyncEventArgs 类就是这一组增强功能的一部分。该类专为需要高性能的网络服务器应用程序而设计。应用... 阅读全文

posted @ 2010-11-25 19:37 Tobin 阅读(655) 评论(0) 推荐(0) 编辑

2010年10月11日

强制将IE,Chrome设置为指定兼容模式来解析(转)

摘要: 一.指定文件兼容性模式要为你的网页指定文件模式,需要在你的网页中使用meta元素放入X-UA-Compatiblehttp-equiv标头。1. 强制IE8使用IE8模式来解析,而且那个兼容性视图 按钮也被去掉了<metahttp-equiv="X-UA-Compatible"content="IE=8">2. Google Chrome Frame也可以让IE用上Chrome的引擎:... 阅读全文

posted @ 2010-10-11 10:25 Tobin 阅读(785) 评论(0) 推荐(0) 编辑

2010年8月5日

工商银行,千万别用,转账不成功一样收手续费

摘要: 我终于才明白了,原来用工商银行转账汇款失败了也是要收手续费的,它不保证你成功不成功,反正它赚了你36块钱(升职送礼,上下疏通,5毛三奶的钻石戒指),它把钱搞出去就不管了,不管是怎么搞出去的。 我擦,工商银行真JB黑啊,比JB还黑... 阅读全文

posted @ 2010-08-05 19:52 Tobin 阅读(985) 评论(0) 推荐(2) 编辑

2010年5月22日

MySQL vs NoSQL 效率与成本之争(转)

摘要: 最近Twitter、DIGG等计划换用基于key-value的NoSQL数据库(e.g:Cassandra),之所以有如此动向是因为基于MySQL + sharding + cache的构架随着数据量爆炸式增长,重构的人力成本太高,换用扩展性更好的NoSQL数据库,以达到控制人力成本的目的,从而减少总体成本。  随着数据量和访问量的增长,网站构架大致有这么几个发展阶段(以PHP+MySQL+Mem... 阅读全文

posted @ 2010-05-22 00:26 Tobin 阅读(597) 评论(0) 推荐(1) 编辑

2009年12月22日

使用ASP.NET Global.asax 文件(转)

摘要: Global.asax 文件,有时候叫做ASP.NET应用程序文件,提供了一种在一个中心位置响应应用程序级或模块级事件的方法。你可以使用这个文件实现应用程序安全性以及其它一些任务。下面让我们详细看一下如何在应用程序开发工作中使用这个文件。概述Global.asax 位于应用程序根目录下。虽然 Visual Studio .NET 会自动插入这个文件到所有的ASP.NET项目中,但是它实际上是一个可... 阅读全文

posted @ 2009-12-22 21:52 Tobin 阅读(206) 评论(0) 推荐(0) 编辑

导航