-
Java 框架应该选用什么样的模板引擎?
2016-04-29 17:20extends ../layout/app block title = viewHelper.metaTitle(post.getTitle()) block page_title h1 #{post.getTitle()} p #{viewHelper.getFormattedDate(post.getCreatedAt())} block content .post .content !{post.getRenderedContent()} .info if !tags.isEmpty() ul.tags li Tags: for tag in tags li: a.btn.btn-xs.btn-default(href="/tags/#{tag.getName()}") #{tag.getName()} .author #{post.getCreatedAt() == post.getUpdatedAt() ? "Created" : "Updated"} | on #{viewHelper.getFormattedDate(post.getCreatedAt())} .comments include ../fragments/disqus
-
怎么配置 SSL 貌似好麻烦的样子。
2016-04-28 16:20控制台输出
Resource interpreted as Stylesheet but transferred with MIME type text/plain
-
Ubuntu MariaDB 无法登录
2016-04-26 18:48/etc/init.d/mysql stop
First start the mysql server instance or daemon with the --skip-grant-tables option. (security setting)
/usr/bin/mysqld_safe --skip-grant-tables
open another screen
[root@mine ~]# mysql
mysql>use mysql
mysql>update user set password=password("123456") where user="root";
mysql>flush privileges;
mysql>exit