2012年9月9日
摘要: TortoiseGit密钥的配置2010-07-19 23:10:42|分类: git |标签: |字号大中小订阅TortoiseGit使用扩展名为ppk的密钥,而不是ssh-keygen生成的rsa密钥。也就是说使用ssh-keygen -C "username@email.com" -t rsa产生的密钥在TortoiseGit中不能用。而基于github的开发必须要用到rsa密钥,因此需要用到TortoiseGit的putty key generator工具来生成既适用于github的rsa密钥也适用于TortoiseGit的ppk密钥,配置步骤如下:1)运行Tort 阅读全文
posted @ 2012-09-09 13:51 vedusoft 阅读(478) 评论(0) 推荐(0) 编辑
  2012年9月3日
摘要: 外语培训网希望大家给点意见 阅读全文
posted @ 2012-09-03 16:53 vedusoft 阅读(110) 评论(0) 推荐(0) 编辑
  2012年8月27日
摘要: Shortcuts Search for: CSS如何让图片垂直并水平居中等比缩放? 7:55 PM on 2009-12-18 Reply | Web优化 | CSS ( 49 ), div ( 10 ), 图片居中 这里先介绍一下淘宝网是如何处理这个问题的,刚在网上查找解决方法时,发现淘宝网现前端工程师”怿飞”的博客中有提到,先看看他提示的方法,效果演示:源代码:.box { /*非IE的主流浏览器识别的垂直居中的方法*/ display: table-cell; vertical-align:middle; /*设置水平居中*/ text-align:center; /* 针对IE... 阅读全文
posted @ 2012-08-27 11:42 vedusoft 阅读(661) 评论(0) 推荐(0) 编辑
  2012年8月22日
摘要: 配置错误说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。 分析器错误信息: 创建 dataConfiguration 的配置节处理程序时出错: 未能加载文件或程序集“Microsoft.Practices.EnterpriseLibrary.Data, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040)源错误: 行 10: <configura 阅读全文
posted @ 2012-08-22 15:30 vedusoft 阅读(392) 评论(0) 推荐(0) 编辑
摘要: AspnetPager控件写的相当不错,不过作者没有提供一个标题排序的功能,我今天没事试用了一下,做了一个标题排序和大家一起分享前台页面:1 <div>2 <asp:GridView ID="GridView1" runat="server" AllowSorting="True">3 </asp:GridView>4 5 <webdiyer:AspNetPager ID="AspNetPager1" runat="server" horizontala 阅读全文
posted @ 2012-08-22 12:00 vedusoft 阅读(339) 评论(0) 推荐(0) 编辑
  2012年7月20日
摘要: LINQ Implementation Scorecard: Remarks Color bar: Green cells indicate better results; Red cells indicate worse results (the most "red" value is explicitly defined in Landmark column); Yellow cells indicate average results. Color bar is continuous, so all the intermediate colors can be use 阅读全文
posted @ 2012-07-20 07:42 vedusoft 阅读(231) 评论(0) 推荐(0) 编辑
  2012年7月19日
摘要: 版本克隆分支问题TortoiseGit在克隆分支的时候,默认克隆master分支,克隆后本地工作目录为中心器的Master分支.克隆后本地分支中心库分支Push分支到中心服务器(Pushing the local branch to a new remote branch)Git在本地创建分支后,如果我们需要和团队其他成员做代码交流时就需要将本地分支上传到中心服务器。TortoiseGit在将一个新分支上传到中心服务器时,首先在中心服务器创建一个新的分支,然后再将本地分支上面的修改push到远程新创建的分支上面.在Push新分支到中心服务器上时,通过在本地服务器执行PUSH操作,在PUSH对话 阅读全文
posted @ 2012-07-19 10:25 vedusoft 阅读(8618) 评论(0) 推荐(1) 编辑
  2012年7月18日
摘要: 有同学经常遇到html 页面里加载的js与css 文件带有参数,比如:<script type="text/javascript" src="dreamdu.js?1217128319"></script><link rel='stylesheet' href='http://www.dreamdu.com/n.css?version=2.3.3' type='text/css' /><link rel='stylesheet' href=' 阅读全文
posted @ 2012-07-18 16:59 vedusoft 阅读(197) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript" src="Js/jquery-1.7.2.min.js"></script> <script type="text/javascript"> $(function() { $(window).scroll(function() { var top = $(window).scrollTop()+200; var left= $(window).scrollLeft()+320; $("#editInfo").css({ 阅读全文
posted @ 2012-07-18 15:53 vedusoft 阅读(720) 评论(0) 推荐(0) 编辑
  2012年7月11日
摘要: Hibernate实现CRUD的例子小结 新建立动态工程MyHibernate,首先导入hibernate所需要的jar包。(1)在src下建立hibernate.cfg.xml: <?xml version="1.0" encoding="utf-8"?><!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN" "http://hibernate.sourceforge.net/hiber 阅读全文
posted @ 2012-07-11 21:05 vedusoft 阅读(260) 评论(0) 推荐(0) 编辑