Git是一个开源的分布式版本控制系l,用以有效、高速的处理从很到非常大的目版本理?/p>
操作pȝQcentos 5.5
yum install zlib-devel
yum install openssl-devel
yum install perl
yum install cpio
yum install expat-devel
yum install gettext-devel
yum install autoconf
安装cURL
# wget http://curl.haxx.se/download/curl-7.17.1.tar.gz
# tar zxvf curl-7.17.1.tar.gz //解压
#cd curl-7.17.1
# ./configure --prefix=/usr/local/curl
# make
# make install
vi /etc/ld.so.conf d/usr/local/lib
/sbin/ldconfig
wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz
tar xzvf git-latest.tar.gz
cd git-2011-10-08
autoconf
./configure --with-curl=/usr/local/curl
make
make install
*************************************安装ok
Q?/code>
l端输入#git
相关参数和说明还是很全的
使用和搭建版本控Ӟ
可以参考:
http://blog.haohtml.com/wp-content/uploads/2011/04/git-tut.pdf
http://www.linuxsir.org/main/doc/git/gittutorcn.htm
?span class="Apple-style-span" style="color: #333333; font-family: Georgia, 'Times New Roman', Times, san-serif; line-height: 25px; background-color: #ffffff; ">或者下载?a target="_blank" style="outline-style: none; outline-width: initial; outline-color: initial; text-decoration: none; color: #3d81ee; border-bottom-width: 1px; border-bottom-style: dashed; ">git搭徏》文?/code>
W一Q?/p>
JS代码
<script language=”javascript”>
function ShopXG(infor)
{
alert(‘我要开|店、携购独立网店系l,模板最全,最专业的系l!’);
return;
}
</script>
using System.Security.Permissions;
注意Q?cd义前需要加上下面两行,否则调用p|Q?/p>
[PermissionSet(SecurityAction.Demand, Name = "FullTrust")]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
调用的函敎ͼ
webBrowser1.Document.InvokeScript("ShopXG ", new string[] {‘ssss’});
W二Q?/p>
JS中调用c#函数CZ
C#函数如下Q?public void ShowMessage(string message)
{
MessageBox.Show(“免费开|店Q携购独立网店系l诚邀您的加盟Q?#8221;);
}
<script language=”javascript”>
function InvokeFunc()
{
window.external.ShowMessage(‘呵呵’);
}
</script>
<script type="text/javascript" language="javascript"> function test() { alert("oec2003"); return false; } </script>
protected void Button1_Click(object sender, EventArgs e) { ClientScript.RegisterStartupScript(this.GetType(), "clear", "<script>test()</script>"); }
public string GetAuthStatus() { ViewState["Auth"] = "Red"; return ViewState["Auth"].ToString(); }
<script type="text/javascript" language="javascript"> function getAuth() { var authStatus = "<%=GetAuthStatus()%>"; return authStatus; } </script>
document.all("button1").click();