<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Catcher In The Rye_分类_其他备忘</title><id>http://feed.cnblogs.com/blog/u/18870/category/215561/rss</id><updated>2012-05-29T05:31:39Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alby/category/215561.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/18870/category/215561/rss"/><entry><id>http://www.cnblogs.com/alby/archive/2011/03/21/websocket-handshake.html</id><title type="text">WebSocket握手协议</title><summary type="text">1、客户端握手请求（注意：键值之间有一个空格,行间有换行符号0x13x10或者说\r\n）GET /WebSocket/LiveVideo HTTP/1.1Upgrade: WebSocketConnection: UpgradeHost: localhost:8080 (客户端请求主机)Origin: http://127.0.0.1 (来源网页地址)Sec-WebSocket-Key1: 23 asdfJKj,asdjkSec_WebSocket-Key2: wewerw234 jij9980x13x10 + 8个字节Sec_WebSocket-Key3值，没有键名(注意，这里的0x13x</summary><published>2011-03-21T06:19:00Z</published><updated>2011-03-21T06:19:00Z</updated><author><name>alby</name><uri>http://www.cnblogs.com/alby/</uri></author><link rel="alternate" href="http://www.cnblogs.com/alby/archive/2011/03/21/websocket-handshake.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alby/archive/2011/03/21/websocket-handshake.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/alby/archive/2011/01/26/how-to-rebuild-system-databases-in-sql-server-2008.html</id><title type="text">MS SQL Server 2008 master数据库损坏故障解决</title><summary type="text">本地电脑上安装的MS SQL Server 2008 R2可能因为硬盘原因，导致SQL Server服务无法启动，在事件查看器中看到若干错误和信息，其中有两条提示可能master损坏：1、错误：传递给数据库 'master' 中的日志扫描操作的日志扫描号 (184:416:1) 无效。此错误可能指示数据损坏，或者日志文件(.ldf)与数据文件(.mdf)不匹配。如果此错误是在复制期间出现的，请重新创建发布。否则，如果该问题导致启动期间出错，请从备份还原。2、信息：无法恢复 master 数据库。SQL Server 无法运行。请利用完整备份还原 master 数据库，修复它，或者重新生成它。有</summary><published>2011-01-26T06:36:00Z</published><updated>2011-01-26T06:36:00Z</updated><author><name>alby</name><uri>http://www.cnblogs.com/alby/</uri></author><link rel="alternate" href="http://www.cnblogs.com/alby/archive/2011/01/26/how-to-rebuild-system-databases-in-sql-server-2008.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alby/archive/2011/01/26/how-to-rebuild-system-databases-in-sql-server-2008.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/alby/archive/2010/10/30/extend-textlayout-to-supper-embed-image.html</id><title type="text">Flash Builder 4中扩展TextLayout完美支持嵌入表情传输</title><summary type="text">在我们使用Flash Builder 4开发文字处理程序，如聊天类程序、编辑器等，通常需要图文混排。在Flash Builder 4中当然最好使用TextLayout Framework。 关于图片的传输，实际上传的是图片地址，使用url的形式没什么说的，传输和接收都是一样的内容。但是在某些情况下也有个很大的弊端，比如聊天程序的表情，接收到有图片的消息就去根据图片的地址到web服务器下载图片，给web服务器造成不必要的压力。 但是如果表情文件是作为嵌入资源的呢？ 使用嵌入资源可以一来可以让消息数据传输量减少，传输一个类名比较传输一个url一般来说要小；二来可以避免客户端多次对同一种表情的请求，</summary><published>2010-10-29T16:36:00Z</published><updated>2010-10-29T16:36:00Z</updated><author><name>alby</name><uri>http://www.cnblogs.com/alby/</uri></author><link rel="alternate" href="http://www.cnblogs.com/alby/archive/2010/10/30/extend-textlayout-to-supper-embed-image.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alby/archive/2010/10/30/extend-textlayout-to-supper-embed-image.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/alby/archive/2010/01/08/flash-as3-webservice.html</id><title type="text">FLASH AS3 WebService</title><summary type="text">FLASH AS3 没有webservice组件，以此代替</summary><published>2010-01-08T09:09:00Z</published><updated>2010-01-08T09:09:00Z</updated><author><name>alby</name><uri>http://www.cnblogs.com/alby/</uri></author><link rel="alternate" href="http://www.cnblogs.com/alby/archive/2010/01/08/flash-as3-webservice.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alby/archive/2010/01/08/flash-as3-webservice.html"/><content type="text">FLASH AS3 没有webservice组件，以此代替</content></entry><entry><id>http://www.cnblogs.com/alby/archive/2009/10/26/get-click-point-in-google-map.html</id><title type="text">Google Map 2.0 获取当前倍率和当前点击所在地理坐标</title><summary type="text">要在Google Map 上动态显示一些标记，首先需要定位，将定位数据保存到数据库。一共需要获取五个数据： 地图倍率、地图中心X坐标和Y坐标、当前点的X坐标和Y坐标。 地图倍率可以通过缩放地图触发事件获取，地图中心坐标可以通过移动地图事件获取、当前点坐标可以通过点击事件获取。 效果图：相关代码：&lt;script language="javascript" type="text/javascri...</summary><published>2009-10-26T07:56:00Z</published><updated>2009-10-26T07:56:00Z</updated><author><name>alby</name><uri>http://www.cnblogs.com/alby/</uri></author><link rel="alternate" href="http://www.cnblogs.com/alby/archive/2009/10/26/get-click-point-in-google-map.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alby/archive/2009/10/26/get-click-point-in-google-map.html"/><content type="text">要在Google Map 上动态显示一些标记，首先需要定位，将定位数据保存到数据库。一共需要获取五个数据： 地图倍率、地图中心X坐标和Y坐标、当前点的X坐标和Y坐标。 地图倍率可以通过缩放地图触发事件获取，地图中心坐标可以通过移动地图事件获取、当前点坐标可以通过点击事件获取。 效果图：相关代码：&lt;script language="javascript" type="text/javascri...</content></entry></feed>
