This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Grid | |
.row | |
margin-bottom: 2% | |
&:after | |
clear: both | |
&:before, &:after | |
content: " " | |
display: table | |
[class*=col-] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// "color_scheme": "Packages/ayu/ayu-dark.tmTheme", | |
"create_window_at_startup": false, | |
"font_face": "Ubuntu mono", | |
"font_size": 14, | |
"ignored_packages": | |
[ | |
"Git", | |
"GitGutter", | |
"Vintage" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"*": | |
"atom-beautify": | |
_analyticsUserId: "c4bbb6d5-8b8e-42b0-ae10-07a10722a74b" | |
analytics: false | |
"atom-csscomb": | |
indentSize: 4 | |
"atom-material-ui": | |
fonts: | |
fontSize: 14 | |
tabs: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.el { | |
transform: transition3d(0,0,0); | |
transform: translateZ(0); /* 推荐 */ | |
} | |
/* | |
* 二选一即可 | |
* 强制开启GPU硬件加速 | |
* 参考: | |
* @url http://stackoverflow.com/questions/13176746/css-keyframe-animation-cpu-usage-is-high-should-it-be-this-way |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding=utf8 | |
import MySQLdb | |
import sys | |
import time | |
reload(sys) | |
sys.setdefaultencoding('utf8') | |
specialSign = "<!--markdown-->" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 坤坤写的自动版 | |
if (!Object.prototype.watch) { | |
Object.defineProperty(Object.prototype, "watch", { | |
enumerable: false, | |
configurable: true, | |
writable: false, | |
value: function (prop, handler) { | |
var oldval = this[prop], | |
newval = oldval, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lt IE 8]> | |
<style type="text/css">html{overflow:hidden}body{height:100%;overflow:auto}#upgradeyoubrowser{position:fixed;height:100%;width:100%;top:0;left:0;bottom:0;right:0;z-index:9999;background:#fff;padding:30px}#upgradeyoubrowser h3{padding:30px}#upgradeyoubrowser a{color:#08c;text-decoration:underline}</style> | |
<div id="upgradeyoubrowser"> | |
<h1>是时候升级你的浏览器了</h1> | |
<h2>你正在使用过期的 Internet Explorer,请升级或更换后再访问。</h2> | |
<h3>建议你下载安装,以便更好地访问我们的网站 : )</h3> | |
<ul> | |
<li><a href="http://windows.microsoft.com/zh-cn/windows/upgrade-your-browser" target="_blank">Microsoft Internet Explorer 9</a></li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a, button, input{ | |
-webkit-tap-highlight-color:rgba(255,0,0,0); | |
} | |
/* | |
1.去除android a/button/input标签被点击时产生的边框 | |
2.去除ios a标签被点击时产生的半透明灰色背景 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 安装laravel 4.2.11 版本 | |
composer create-project "laravel/laravel:4.2.11" project_name --prefer-dist | |
# 以下这句则安装最新版,目前是5.0 | |
composer create-project laravel/laravel project_name --prefer-dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: "Helvetica Neue",Helvetica,"Hiragino Sans GB","STHeitiSC-Light","Microsoft YaHei","微软雅黑",Arial,sans-serif; | |
-webkit-font-smoothing: antialiased; | |
} | |
/* | |
参考:http://www.qianduan.net/mac-the-next-pages-of-chinese-fonts-optimized.html | |
*/ |