2018-11-14 CentOS CentOS 7 安装配置 SSH 并允许 root 登录 待更新~ 初次安装好 CentOS 7 系统后,还需对 SSH 进行简单配置,才可使用 root 或其他用户远程登录。 检查是否已安装 openssh-server行内代码 inline yum list installed | grep openssh-server ShellCopy something TextCopy cd /usr/local/etc cp php.ini php.ini.bak vi php.ini /usr/local/etc uname -a # comment BashCopy .example-gradient { background: -moz-linear-gradient(left, #cb60b3 0%, #c146a1 50%, #a80077 51%, #db36a4 100%); /* FF3.6+ */ background: -webkit-linear-gradient(left, #cb60b3 0%,#c146a1 50%,#a80077 51%,#db36a4 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(left, #cb60b3 0%,#c146a1 50%,#a80077 51%,#db36a4 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(left, #cb60b3 0%,#c146a1 50%,#a80077 51%,#db36a4 100%); /* IE10+ */ background: linear-gradient(to right, #cb60b3 0%,#c146a1 50%,#a80077 51%,#db36a4 100%); /* W3C */ } .example-angle { transform: rotate(10deg); } .example-color { color: rgba(255, 0, 0, 0.2); background: purple; border: 1px solid hsl(100,70%,40%); } .example-easing { transition-timing-function: linear; } .example-time { transition-duration: 3s; } CSSCopy 阅读全文…
2018-10-29 前端 在 Hexo 中使用 MathJax 渲染数学公式 最近在复习万恶的数值分析,原本手抄的公式笔记阅读起来不太方便,打算用 MathJax 重写公式再整理到 Hexo 博客上。奇怪的是,公式在本地 Typora 上渲染的完全 OK,搬 Hexo 上咋就出问题了?(重启喝水都试过了) 阅读全文…