- 博客(29)
- 收藏
- 关注
转载 Remove specific commit
http://stackoverflow.com/questions/2938301/remove-specific-commitThere are four ways of doing so:Clean way, reverting but keep in log the revert:git revert --strategy resolve
2014-11-22 03:32:21 624
转载 VS2010彻底卸载
http://blog.csdn.net/xhhjin/article/details/8992392依照微软网站http://msdn.microsoft.com/zh-tw/library/e2h7fzkw.aspx,完整移除方法有两种:方法一:工具卸载下载Microsoft Visual Studio 2010 Uninstall Utility来移除,默认情况下,这将删
2014-11-14 04:23:07 922
转载 Methods for Containing Floats
http://www.ejeliot.com/blog/59Entry updated 24th September 2006: added browser support tables and made minor corrections.Floating elements within a container can be frustrating if the cont
2014-11-11 03:42:27 623
转载 Why is my div's height zero
http://stackoverflow.com/questions/5369954/why-is-my-divs-height-zeroOrdinarily, floats aren't counted in the layout of their parents.To prevent that, add overflow: hidden to the parent.
2014-11-11 03:42:04 429
转载 Containing Floats
http://complexspiral.com/publications/containing-floats/As powerful and useful as they are, floats can make for tricky layout tools. Chances are that you may have seen something like the situa
2014-11-11 03:40:07 646
转载 Javascript异步编程的4种方法
http://www.ruanyifeng.com/blog/2012/12/asynchronous%EF%BC%BFjavascript.html作者: 阮一峰你可能知道,Javascript语言的执行环境是"单线程"(single thread)。所谓"单线程",就是指一次只能完成一件任务。如果有多个任务,就必须排队,前面一个任务完成,再执行后面一
2014-11-11 02:14:56 595
转载 jQuery的deferred对象详解
http://www.ruanyifeng.com/blog/2011/08/a_detailed_explanation_of_jquery_deferred_object.html作者: 阮一峰jQuery的开发速度很快,几乎每半年一个大版本,每两个月一个小版本。每个版本都会引入一些新功能。今天我想介绍的,就是从jQuery 1.5.0版本开始引入的
2014-11-11 02:14:45 456
转载 a tag中span居中
http://www.css-lab.com/demos/vertical-center/vert-align-navbar.html主要用于shen
2014-11-04 05:18:18 1074
转载 How does Facebook Sharer select Images?
http://stackoverflow.com/questions/1138460/how-does-facebook-sharer-select-images
2014-11-04 05:03:40 818
转载 The Secret to Getting a Large Facebook Link Thumbnail
http://louisem.com/3838/facebook-link-thumbnail-image-sizesJune 11, 2014 by Louise Myers 76 Comments33Share267Share134Tweet215Pin15ShareAre you ge
2014-11-04 05:01:04 1163
转载 Get current URL in JavaScript?
http://stackoverflow.com/questions/406192/get-current-url-in-javascriptTo get the path, you can use:var pathname = window.location.pathname; // returns path onlyvar url = window.location
2014-11-04 04:56:43 859
转载 How To Set Up Twitter Cards
Published May 15, 2013 by Brad KnutsonTwitter is more than just a social network. It’s a marketing platform, a viral media launching pad, and so much more. Businesses and brands are using Tw
2014-11-04 04:41:09 1125
转载 Creating “Share This on Facebook/Twitter” Links
Written by Matt on March 2, 2011 — 5 CommentsRecently, someone asked me how to put together a link in HTML that, when clicked, took the clicker to their Twitter page with a tweet already fil
2014-11-04 04:39:43 975
转载 Optimize Facebook Sharing
http://support.addthis.com/customer/portal/articles/381222-optimize-facebook-sharingTo instruct Facebook what to show in a share or preview on the Newsfeed, you need to specify Facebook-compat
2014-11-04 04:35:52 608
转载 What does appending “?v=1” to CSS and Javascript URLs in link and script tags do?
Question:I have been looking at a HTML 5 boilerplate template (from http://html5boilerplate.com/) and noticed the use of "?v=1" in URLs when referring to CSS and Javascript files.What
2014-11-04 04:28:06 617
转载 Facebook Open Graph META Tags
http://davidwalsh.name/facebook-meta-tagsIt's no secret that Facebook has become a major traffic driver for all types of websites. Nowadays even large corporations steer consumers toward thei
2014-11-04 04:21:29 1003
转载 Checkout remote Git branch
http://stackoverflow.com/questions/1783405/checkout-remote-git-branchWith Git versions ≥ 1.6.6, you can just do:git fetchgit checkout testOld AnswerBefore you can start working local
2014-11-04 03:37:07 797
转载 reseting remote to a certain commit
http://stackoverflow.com/questions/5816688/reseting-remote-to-a-certain-commitAssuming that your branch is called master both here and remotely, and that your remote is called origin you cou
2014-11-04 03:35:18 525
转载 jQuery to disable/enable textarea
http://stackoverflow.com/questions/13992834/jquery-to-disable-enable-textarea-depending-on-which-radio-button-is-selected-in
2014-11-04 03:31:42 766
转载 Git: Delete a branch (local or remote)
http://makandracards.com/makandra/621-git-delete-a-branch-local-or-remoteTo delete a local branchgit branch -d the_local_branchTo remove a remote branch (if you know what you are doing!)
2014-11-04 03:27:30 3501
转载 Can I use multiple versions of jQuery on the same page?
http://stackoverflow.com/questions/1566595/can-i-use-multiple-versions-of-jquery-on-the-same-page
2014-11-04 03:26:02 580
原创 ASP.NET中向JS传递参数
var sharedesigns = []; <% foreach(DASlibs.Shared.ModelOrder modelOrder in Orders) { %> sharedesigns.push({ 'designname': '', 'designid': '' }); <%
2014-11-04 03:19:10 1075
转载 JavaScript function scope between script tags
http://stackoverflow.com/questions/10289593/javascript-function-scope-between-script-tagsQuestion
2014-11-04 03:15:18 468
转载 HTML5 textarea placeholder not appearing
http://stackoverflow.com/questions/10186913/html5-textarea-pThis one has always been a gotcha for me and many others. In short, the opening and closing tags for the element must be on the same
2014-11-04 03:12:35 492
转载 Slide switch of div
http://jsfiddle.net/e3m7K/2/ This is the first div This is the second div Click here to view animation#container {height: 30px}#container div {border: 1p
2014-11-04 02:53:52 526
转载 d3的path讲解
http://www.d3js.cn/?p=68上一篇教程很多人反映说对svg的path到底是干嘛的不是很了解,今天就来讲讲path。正好有一篇非常好的文章讲解path,我就翻译一下,然后顺便给大家补充点背景资料http://www.dashingd3js.com/svg-paths-and-d3jssvg的path标签被称为”可以组成任何形状的形状”S
2014-11-03 13:44:05 3168
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人