admin 发布的文章
最近Sublime Text 3 增加了注册码验证功能,如果你使用共享版本的注册码,可能会提示注册码失效,但是却可以正常激活。只需要把下面的字段加入到你的hosts文件即可Add the following to your Host file127.0.0.1 license.sublimehq.com
127.0.0.1 45.55.255.55
127.0.0.1 45.55.41.223
Windows C:\Windows\System32\drivers\etcMac /Private/etcDone.Valild Keys—– BEGIN LICENSE —–
- 阅读剩余部分 -
依赖包jspm install npm:jspm-loader-jsx
在config.js文件中找到关键字babelOptions的地方,然后替换成下面的代码:babelOptions: {
"stage": 0,
"optional": [
"runtime",
"optimisation.modules.system"
]
}
在react中可以定义默认props,使用es5时,可以使用getDefaultProps:var MyDemo = React.createClass({
getDefaultProps: function() {
return {
name: 'demo'
};
},
render: function() {
return <h1>This is my {this.props.name}</h1>;
}
});
ReactDOM.render(
<MyDemo />,
do- 阅读剩余部分 -
Linux Kernel权限提升漏洞(CNVD-2017-01069)CVE-2017-2583 修复方案yum update kernel-tools
yum update kernel-tools-libs
yum update python-perf
ISC BIND 9 DNS64服务器拒绝服务漏洞 CVE-2017-3136yum update bind-libs-liteyum update bind-license
@media screen and (width: 768px) and (orientation: portrait) {
body{
width:320px;
-moz-transform: scale(2.4);
-webkit-transform: scale(2.4);
-o-transform: scale(2.4);
-ms-transform: scale(2.4);
transform: scale(2.4);
transform-or- 阅读剩余部分 -
- « 前一页
- 1
- ...
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- ...
- 75
- 后一页 »