您的位置: 首页 - SoftWare
  • 本站大部分内容从网上收集,收集目的仅供研究、学习。涉及版权或不希望收录您的文章请您及时与我联系。
  • 本站IM群,请自行选择。请各位朋友按照自己喜好加入。加入群后请及时发言,防止被清理。谢谢您的合作!!!
  • QQ群:Y①WEB开发(ASP.NET)号码:7351660 QQ群:Y②WEB开发(ASP+.NET)号码:11864905
  • QQ群:Y③WEB开发(DIV+CSS)号码:16610506 QQ群:Y④WEB开发(JS+AJAX)号码:16143998
  • QQ群:Y⑤WEB开发(新手)号码:12777715 MSN群:yaosansi[at]126.com

nginx location节点 proxy_pass 中的”/”

分类: SoftWare 发布: yaosansi 浏览: 日期: 2010年7月10日

在nginx中配置proxy_pass时,如果是按照^~匹配路径时要注意proxy_pass后的url最后的/当加上了/,相当于是绝对根路径,则nginx不会把location中匹配的路径部分代理走如果没有/,则会把匹配的路径部分也给代理走01.location ^~ /static_js/ 02.{ 03.proxy_cache js_cache; 04.proxy_set_header Host js.test.com; 05.proxy_pass http://js.test.com/; 06.}如上面的配置,如果请求的url是http://servername/static_js/test.html会被代理成http://js.test.com/test.html而如果这么配置:01.location ^~ /static_js/ 02.{ 03.proxy_cache js_cache; 04.proxy_set_header Host js.test.com; 05.proxy_pass http://js.test.com;06.}

nginx同IP、同端口、不同域名时的转发

分类: SoftWare 发布: yaosansi 浏览: 日期: 2010年7月10日

在使用nginx时对于upstream的server的测试中发现,nginx默认对其使用的是基于IP的转发,这就意味着对于同IP、同端口、不同域名时无法进行转发。在官方WIKI:http://wiki.nginx.org/NginxHttpUpstreamModule没有查到相应的解决方案。在GOOGLE上查到多篇几乎无人问同样的问题,最终发现Timo的这篇文章:nginx单一端口域名转发,也进一步证实了yaosansi的猜测是正确的.以下引用了Timo的原文中的解决方案:

使用signtool与Verisign SPC和PVK在命令行下对EXE等文件进行数字签名

分类: SoftWare 发布: yaosansi 浏览: 日期: 2010年7月6日

原文:http://www.yaosansi.com/post/1453.html

How to sign EXE using signtool with Verisign SPC and PVK on the command line?

run "signtool signwizard" to start the signing wizard.
1. File Selection: Choose the EXE you wish to sign (ie, yaosansi.com.exe)
2. Signing Options: Choose "Custom"
3. Signature Certificate: Click "Select from File" and choose "mycredentials.spc"
4. Private Key: Select "Private key file on disk" and choose "myprivatekey.pvk"
    - Leave CSP at "Microsoft Strong Cryptographic Provider"
    - Leave Provider Type at "RSA FULL"
5. Private Key Password: Enter "xxxxxxxxxx"
6. Hash Algorithm: Leave it at 'sha1'
7. Additional Certificates:
    - Leave it at "All certificates in the certification path, including the root"
    - Leave it at "No additional certificates"
8. Data Description: Enter the following:
    - Description:yaosansi.com
    - Web Location: http://www.yaosansi.com
9. Digital Signature Wizard:
    - Enable "Add a timestamp to the data"
    - Timestamp service URL: http://timestamp.verisign.com/scripts/timstamp.dll
    - 这里还有两个免费的时间戳服务器
             a.http://timestamp.wosign.com/timestamp
             b.http://timestamp.comodoca.com/authenticode
        * Note: This enables the signature to work forever; not sure
                        what this means but the Verisign guy was pretty excited about it
10. Review and click OK
11. Enter private key password: Enter "xxxxxxxxxxx"
12. Done!

 

相关文章:
白话数字签名(番外篇)——签名EXE文件(上)
白话数字签名(番外篇)——签名EXE文件(下)
签名工具 (SignTool.exe)

下载 Microsoft SQL Server 2008 R2

分类: SoftWare 发布: yaosansi 浏览: 日期: 2010年4月29日

Microsoft SQL Server 2008 R2 RTM 评估版已经开始提供下载。 可用版本和语言:32 位和 64 位版本提供以下语言:简体中文、繁体中文、英语、法语、德语、意大利语、日语、韩语、葡萄牙语(巴西)、俄语和西班牙语

从VSS 2005迁移到TFS 2010

分类: SoftWare 发布: yaosansi 浏览: 日期: 2010年4月16日

VS2010、TFS2010正式发布了,但自从VSS2005版以后微软就没发布过新版,并且VS2010中的Team工具已经和TFS整合到一块了,看来微软已经决心用TFS替代VSS了。以下是互联网上相关人员从 Visual SourceSafe 迁移到 Team Foundation 时的主要步骤和注意事项。

VS 2008如何连接TFS 2010

分类: SoftWare 发布: yaosansi 浏览: 日期: 2010年4月16日

首先我们要打两个补丁包Microsoft Visual Studio 2008 Service Pack 1Visual Studio Team System 2008 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010剩下的连接工作相当简单,按照如下的格式填写Team Foundation Server name: http://[tfsserver]:[port]/[vdir]/[projectCollection]

Visual Studio 2010 Ultimate RTM 试用版升级为正式版

分类: SoftWare 发布: yaosansi 浏览: 日期: 2010年4月13日

VS2010 昨天已经正式发布,中国是微软全球发布活动的第一站,但比较讽刺的是到目前为止却没有中文版的VS2010.
Microsoft Visual Studio 2010 Ultimate RTM – ISO   下载页面
ISO单碟下载  :
http://download.microsoft.com/download/2/4/7/24733615-AA11-42E9-8883-E28CDCA88ED5/X16-42552VS2010UltimTrial1.iso
Microsoft Visual Studio Team Foundation Server 2010 – ISO  下载页面
微软官方MSDN下载地址:http://www.microsoft.com/visualstudio/en-us/download

相关:
Visual Studio 2010全球发布会(51CTO视频图文实况)
TFS 2010 for SourceSafe Users
Tutorial: Getting Started with TFS in VS2010
Team Foundation Server 2010 – Basic Installation(张善友)
Visual Studio 2008试用版升级为正式版
Visual Studio 2005试用版升级为正式版

快速编写HTML、CSS代码利器--Zen Coding

分类: SoftWare 发布: yaosansi 浏览: 日期: 2010年3月22日

在小众软件上发现的此插件,看起来不错。

官方演示视频:Zen CSSZen HTML。另外,缩写的含义请看:Zen CSS PropertiesZen HTML Elements各种插件的安装方法请看官方 wiki

先举一个复杂的例子:zen-coding 可以把这样的代码:div#header>ul.navigation>li*4>a,变成下面的 HTML 代码

<div id=”header”>
    <ul class=”navigation”>
        <li><a href=”"></a></li>
        <li><a href=”"></a></li>
        <li><a href=”"></a></li>
        <li><a href=”"></a></li>
    </ul>
</div>

看到这熟悉的语法结构,会 CSS 的朋友一定会惊声尖叫!最妙的是那个“*4”,直接生成 4 个 li 代码了。

首个Nginx windows Stable 版--轻量级Web服务器Nginx 0.7.59

分类: SoftWare 发布: yaosansi 浏览: 日期: 2009年5月26日

2009.05.25日晚,Igor Sysoev放出最近被广泛使用的轻量级Web服务器Nginx 0.7系列最新版本0.7.59,同时正式将0.7做为新的Stable稳定系列(0.7.0由19 May 2008开始开发),此前的稳定系列0.6为0.6.37。

Using SyncToy v2.0 for Web Site Deployment

分类: SoftWare 发布: yaosansi 浏览: 日期: 2008年9月27日

If you're like me, you probably do your best to ensure that the .NET applications you build contain as few external dependencies as possible. Doing so makes them easier to deploy and maintain, since all you need to do is copy the application's files to a new server and you should be good to go. This has come to be know as XCOPY deployment, after the venerable XCOPY command that has been around since the days of DOS.

IE6、IE7、IE8之IE多版本共存的几种方法 (2009-02-27更新)

分类: SoftWare 发布: yaosansi 浏览: 日期: 2008年8月29日

IE6、IE7、IE8之IE多版本共存的几种方法一、单独安装(相对繁琐,不推荐) 使用IE6 Green、IE7 Standalone 及IE8 安装文件,分别安装各自的浏览器。 安装顺序:1、IE6 Green 2、IE7 Standalone 3、IE8 beta2

让你的Expression XAML 编辑器支持智能提示

分类: SoftWare 发布: yaosansi 浏览: 日期: 2008年8月6日

Expression blend 2.5 是目前的最新版本用来支持WPF和Silverlight Beta2 的开发。一般我们可视化的拖放和设计界面和效果。有时候如果你要人为的编辑一下Xaml的话发现没有智能提示非常不方便。有些属性很长的话,很难记住。由于Expression本省是个WPF程序, 当然也是标准的.net程序。所以扩展其实很容易,Expressoin提供了一个IAddIn接口,你只要实现该接口就可以了。
分页:[«]1[2][3][4][5][»]

Powered By Z-Blog 1.8 Walle Build 100427

UNISON UPDATE Copyright 2005-2010 yaosansi'site All Rights Reserved.
感谢系统大玩家为本站提供FTP空间
辽ICP备05021434号