找到一个非常非常帅的bash替代品:zsh
在ubuntu上,直接运行安装
sudo apt-get install zsh
require(['Lunar'], function (Lunar) { | |
var lunar = new Lunar({ | |
value: '2010-02-17', | |
main: document.getElementById('lunar') | |
}).render(); | |
}); |
@keyframes alpha-and-omega { | |
0% { | |
background-position: 0% 0% | |
} | |
50% { | |
background-position: 300000px 0% | |
} | |
100% { |
W3C工作草案2013年6月6日 | |
## 摘要 | |
这份文档简述了Web组件的概况,是一个非标准的参考规范。它用易于理解的文字和插图总结了Web组件主要功能的规范信息。 | |
## 2 引言 | |
网页组件模型(Web Components)由五个部分组成: |
require.config({ | |
baseUrl: '{%$tplData.feRoot%}/src', | |
paths: { | |
moye: '../dep/moye/src/ui', | |
etpl: '../dep/etpl/2.1.0/src/main', | |
Q: '../dep/q/q', | |
underscore: '../dep/underscore/1.6.0/src/underscore', | |
common: './common/' | |
}, | |
packages: [{ |
<snippet> | |
<content><![CDATA[ | |
/** | |
* @file ${1:file description} | |
* @author leon<lupengyu@baidu.com> | |
*/ | |
define(function (require) { | |
${1:// body} | |
}); |
/** | |
* Definition for binary tree | |
* public class TreeNode { | |
* int val; | |
* TreeNode left; | |
* TreeNode right; | |
* TreeNode(int x) { val = x; } | |
* } | |
*/ | |
public class Solution { |
'Find' : 'find')<CR> | |
" Find file in current directory and edit it. | |
function! Find(name) | |
let l:list=system("find . -type f | grep -i '".a:name."' | perl -ne 'print \"$.\\t$_\"'") | |
" let l:list=system("find . -iname '".a:name."' | perl -ne 'print \"$.\\t$_\"'") | |
" replace above line with below one for gvim on windows | |
" let l:list=system("find . -name ".a:name." | perl -ne \"print qq{$.\\t$_}\"") | |
let l:num=strlen(substitute(l:list, "[^\n]", "", "g")) | |
if l:num < 1 | |
echo "'".a:name."' not found" |
UUID (Universally Unique Identifier): A sequence of 128 bits that can guarantee uniqueness across space and time, defined by [RFC 4122][rfc4122].
GUID (Globally Unique Identifier): Microsoft's implementation of the UUID specification; often used interchangeably with UUID.
UDID _(Unique Device Identifier)): A sequence of 40 hexadecimal characters that uniquely identify an iOS device (the device's Social Security Number, if you will). This value can be retrieved through iTunes, or found using UIDevice -uniqueIdentifier. Derived from hardware details like MAC address.