摘要: 以前的WIN7 X86系统用了很长时间了,软件业装了很多,现在使用的时候就有点卡了,最近决定重装个系统,后台发现开发的有一个东西要求WIN8 X64位的,就下载了一个准备直接安装了,也从此开始了整整2天时间的纠结问题1:偷懒准备用WIN7的硬盘安装,失败 提示分区是活动分区不支持此方法,所以想... 阅读全文
posted @ 2014-08-24 14:12 Rex.He 阅读(2240) 评论(0) 推荐(0) 编辑
摘要: 在C#中,HttpUtility.UrlEncode("www+mzwu+com")编码结果为www%2bmzwu%2bcom,由于一些服务器对大小写敏感,要求结果改为www%2Bmzwu%2Bcom,注意,不是WWW%2BMZWU%2BCOM。一开始看到这需求,我的注意力就转移到怎么将www%2bmzwu%2bcom转为www%2Bmzwu%2Bcom,正则等方法马上浮现出来,最后发现,一开始思路就错了,舍本逐末,用HttpUtility.UrlEncode就可以搞定:复制内容到剪贴板程序代码public string UrlEncode(string str){Stri 阅读全文
posted @ 2013-09-22 11:13 Rex.He 阅读(4974) 评论(0) 推荐(0) 编辑
摘要: IOS定位与坐标系算法 在开始这个题目之前,先给大家再次扫扫盲,扫的不是坐标系统的盲,而是我们国家所使用的坐标系统。大家都知道,美国GPS使用的是WGS84的坐标系统,以经纬度的形式来表示地球平面上的某一个位置,这应该是国际共识。但在我国,出于国家安全考虑,国内所有导航电子地图必须使用国家测绘局制定的加密坐标系统,即将一个真实的经纬度坐标加密成一个不正确的经纬度坐标,我们在业内将前者称之为地球坐标,后者称之为火星坐标,具体的说明可以参看百度百科中关于火星坐标系统的解释。1.国内各地图API坐标系统比较参考http://rovertang.com/labs/map-compare/结论是:AP. 阅读全文
posted @ 2013-08-02 14:07 Rex.He 阅读(2470) 评论(0) 推荐(0) 编辑
摘要: (function($) { $.fn.fixedSidebar = function(options) { var defaults = { width: 100, height: 20, horizontalType: 'left', /*left,right*/ horizontalValue:20, verticalType:'top', /*top,bottom*/ verticalValue:30, berth:'browser', /*browser,wrap*/ wrapWidth:960... 阅读全文
posted @ 2013-05-15 17:14 Rex.He 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 调试一个正确网站的时候 出现 error: Call to undefined function imagecreate()解决办法:在php.ini中找到;extension=php_gd2.dll去掉前边的;然后将php目录中的ext下的php_gd2.dll拷入c:/windows/system32,重启IIS或者apache就OK了.还是不成功,其实应该在 vs.php的配置文件里面吧 php.ini 和php_debug.ini配置文件都修改 就可以了 阅读全文
posted @ 2013-01-30 11:22 Rex.He 阅读(169) 评论(0) 推荐(0) 编辑
摘要: <asp:Repeater ID="Repeater1" runat="server"> <ItemTemplate> OrderID: <%# Eval("OrderID")%> CustomerID : <asp:Label ID="Label1" runat="server" Text='<%#Eval("CustomerID")%>'></asp:Label> <br /&g 阅读全文
posted @ 2012-12-11 15:54 Rex.He 阅读(516) 评论(0) 推荐(0) 编辑
摘要: 1.准备工作 先在微软下载rewrite_2.0_rtw_x86.msi 64位系统: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=1b8c7bd8-8824-4408-b8fc-49dc7f951a00 32位系统: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c8d3e2a4-5d14-434b-a067-39a6fb8b9311 2.安装完成后最好重起服务器,不然可能要IIS中看不到Url Rewite选项3.打开IIS选中要重定向... 阅读全文
posted @ 2012-10-15 14:29 Rex.He 阅读(846) 评论(0) 推荐(0) 编辑
摘要: Functionality OverviewMicrosoft URL Rewrite Module 2.0 for IIS is an incremental release that includes all the features from version 1.1, and adds support for response headers and content rewriting. The module applies regular expressions or wildcards pattern to the HTTP response to locate and repla. 阅读全文
posted @ 2012-10-15 14:09 Rex.He 阅读(1356) 评论(0) 推荐(0) 编辑
摘要: len('Acds-1a-a')-CHARINDEX('-',reverse('Acds-1a-a'))+1 阅读全文
posted @ 2012-08-24 09:20 Rex.He 阅读(792) 评论(0) 推荐(0) 编辑
摘要: Lazy Load Plugin for jQueryLazy Load is a jQuery plugin written in JavaScript. It delays loading of images in long web pages. Images outside of viewport (visible part of web page) wont be loaded before user scrolls to them. This is opposite of image preloading.Using Lazy Load on long web pages cont. 阅读全文
posted @ 2012-08-17 13:49 Rex.He 阅读(1127) 评论(0) 推荐(0) 编辑