原文:http://web.mit.edu/~mkgray/project/silk/root/afs/sipb/project/git/git-doc/git-diff.htmlgit diff可以比较working tree同index之间,index和git directory之间,worki...
分类:
其他好文 时间:
2014-07-03 10:49:30
阅读次数:
361
设置此属性值为 absolute 会将对象拖离出正常的文档流绝对定位而不考虑它周围内容的布局。假如其他具有不同 z-index 属性的对象已经占据了给定的位置,他们之间不会相互影响,而会在同一位置层叠。此时对象不具有外补丁( margin ),但仍有内补丁( padding )和边框( border...
分类:
Web程序 时间:
2014-07-01 18:55:36
阅读次数:
296
index.html requirejs main.js 合并js功能require.config({ // baseUrl: 'js/lib', 如果加载的这三个js不和main在一个目录下,就这样配置这个参数,或者...
分类:
Web程序 时间:
2014-07-01 18:44:08
阅读次数:
265
来源:http://ss64.com/osx/An A-Z Index of theApple OS Xcommand line alias Create an alias ? alloc List used and free memory apropos Search t...
分类:
移动开发 时间:
2014-07-01 17:46:48
阅读次数:
384
引子在了解MVC路由之前,必须了解的概念是"片段"。片段是指除主机名和查询字符串以外的、以"/"分隔的各个部分。比如,在http://site.com/Home/Index中,包含2个片段,第一个片段是Home,第二个片段是Index。URL匹配的特点:● 保守的:URL中的片段数量必须和路由规则中...
分类:
Web程序 时间:
2014-07-01 16:26:24
阅读次数:
319
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates in the array....
分类:
其他好文 时间:
2014-07-01 15:22:44
阅读次数:
140
1. 下载 Android SDK(ADT Bundle)
http://developer.android.com/sdk/index.html
(网站访问不了或者慢,请参考:轻松修改本地hosts文件,稳定用谷歌搜索和谷歌服务)
(不想弄这个,请去我的百度网盘下载:)
2. 解压到一个目录下,例如:
unzip adt-bundle-linux-...
分类:
移动开发 时间:
2014-07-01 09:23:23
阅读次数:
451
参考: http://www.siongboon.com/projects/2013-07-08_raspberry_pi/index.htmlRaspberry Pi Get started with Raspberry Pi (RPi), a step by step approach to ....
分类:
Web程序 时间:
2014-07-01 09:18:14
阅读次数:
1482
配置MySQL复制基本步骤: 一、master 1、启用二进制日志 log-bin = master-bin log-bin-index = master-bin.index 2、选择一个惟一server-id server-id = {0-2^32} 3、创建具有复制权限的用户 R...
分类:
数据库 时间:
2014-07-01 09:15:36
阅读次数:
255
直接上代码
ZeroClipboard Test
.line {
margin-bottom: 20px;
}
/* 复制提示 */
.copy-tips {
position: fixed;
z-index: 9999;
bottom: 50%;
left: 50%;
margin: 0 0 -20px -80px;
background-color: rgba(0,...
分类:
其他好文 时间:
2014-07-01 07:04:53
阅读次数:
245