Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
| 我的 Mac 必装软件 | |
| 1. xcode | |
| 安装好 commend line tools 方便开发使用命令行 | |
| 2. iTerm2 + zsh | |
| mac 上最好用的终端,全屏透明什么的用起来很不错 | |
| 3. Alfred | |
| 启动器,和spotlight一样,不过更强大,alt+space让你启动任何东西 |
| [ | |
| { | |
| name:"HTML5", | |
| uri:"http://www.w3.org/TR/html5/single-page.html", | |
| category:"markup" | |
| }, | |
| { | |
| name:"HTML 5.1", | |
| uri:"http://www.w3.org/TR/html51/single-page.html", | |
| category:"markup" |
| var formatSecounds = function(seconds, callback) { | |
| var rDays, rHours, rMinutes, rSeconds; | |
| if (!seconds || seconds < 0) { | |
| return; | |
| } else { | |
| seconds = Math.round(seconds); | |
| } | |
| //剩余天 |
| /** | |
| * @通用颜色 | |
| * @{color:@color-33;} | |
| */ | |
| @color-333:#333; | |
| @color-666:#666; | |
| @color-999:#999; | |
| @color-ddd:#ddd; | |
| @color-ccc:#ccc; | |
| @color-c00:#c00; |
| /** | |
| * String hash code | |
| * @param {String} str | |
| * @return {int} | |
| */ | |
| function hashCode(str) { | |
| for (var result = 0, i = 0; i < str.length; i++) { | |
| result = (result << 5) - result + str.charCodeAt(i); | |
| result &= result; | |
| } |
| var PluginName; | |
| (function($){ | |
| PluginName = function(options) { | |
| this.defaults = { | |
| }; | |
| this.options = $.extend(this.defaults, options); | |
| }; |
| /*Make position:fixed work in IE6!*/ | |
| .fixed-top /* position fixed Top */{position:fixed;bottom:auto;top:0;} | |
| .fixed-bottom /* position fixed Bottom */{position:fixed;bottom:0;top:auto;} | |
| .fixed-left /* position fixed Left */{position:fixed;right:auto;left:0;} | |
| .fixed-right /* position fixed right */{position:fixed;right:0;left:auto;} | |
| * html,* html body /* IE6 Fixed Position Jitter Fix */{background-image:url(about:blank);background-attachment:fixed;} | |
| * html .fixed-top /* IE6 position fixed Top */{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop));} | |
| * html .fixed-right /* IE6 position fixed right */{position:absolute;right:auto;left:expression(eval(document.documentElement.scrollLeft+document.documentElement.clientWidth-this.offsetWidth)-(parseInt(this.currentStyle.marginLeft,10)||0)-(parseInt(this.currentStyle.marginRight,10)||0));} |