The following file couldn't be moved to the trash.
'.tree-view':
'delete': 'permanent-delete:delete'
'shift-delete': 'tree-view:remove'
https://github.com/atom/tree-view/issues/666
issue中“50Wliu”的回复
by 刘迎光@萤火虫工作室
OpenBI交流群:495266201
MicroService 微服务交流群:217722918
mail: liuyg#liuyingguang.cn
博主首页(==防止爬虫==):http://blog.liuyingguang.cn
OpenBI问答社区:http://openbi.liuyingguang.cn/
首先alpine内嵌的是BusyBox,使用alpine的crontab实际就是使用BusyBox的crond服务,那么下来就简单介绍下如何使用吧,网上教程还是比较多的:
配置文件是在如下目录中的
/var/spool/cron/crontabs/root
vi /var/spool/cron/crontabs/root
# 或者
crontab -e
# 填入如下内容,最后一行为我添加的测试任务
# do daily/weekly/monthly maintenance
# min hour day month weekday command
*/15 * * * * run-parts /etc/periodic/15min
0 * * * * run-parts /etc/periodic/hourly
0 2 * * * run-parts /etc/periodic/daily
0 3 * * 6 run-parts /etc/periodic/weekly
0 5 1 * * run-parts /etc/periodic/monthly
* * * * * echo "test" >> /app/test.log
crond
ps
PID USER TIME COMMAND
·····
82 root 0:00 crond
292 root 0:00 ps
cat test.log
test
test
test
test
test
OK,至此对于c
<!-- jetty dependecies begin -->
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>9.1.4.v20140401</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId>
<version>9.1.4.v20140401</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-continuation</artifactId>
<version>9.1.4.v20140401</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-jsp</artifactId>
<version>9.1.4.v20140401</version>
</dependency>
<!-- jetty dependecies end -->
运行war包的类
public class WebAppWarServer {
public static void main(String[] args) throws Exception {
Server server = new Server(8080);
建议:
1. 如果要进行分区的表有主键或者唯一键,那么分区键必须包含这个主键或唯一键,否则无法创建分区表
2.
have_query_cache 是否已配置高速缓存(默认为true)
query_cache_size 缓存区大小,单位MB,如:16M
query_cache_type 变量值从0~2
0或者off(缓存关闭)
1或on(缓存打开,使用SQL_NO_CACHE提示的SELECT除外)
2或者demand(只有带SQL_CACHE的select语句提供高速缓存)
query_cache_limit 单个查询能够使用的缓存大小,默认1M
innodb_buffer_pool_size
InnoDB 存储引擎表数据和索引数据的最大缓存区大小(同时为数据块和索引块提供数据缓存),此值越大,缓存命中率就越高,访问InnoDB表需要的磁盘IO就越少,性能就越高。在一个专用的数据库服务器上,可以将80%的物理内存分配给innodb_buffer_pool_size,但是不要太大,以免造成页交换
innodb_buffer_pool_instances
默认值是1,表示InnoDB缓存池被划分到一个区域。适当地增加该参数(例如将该参数值设置为2),此时InnoDB被划分成为两个区域,可以提升InnoDB的并发性能。如果InnoDB缓存池被划分成多个区域,建议每个区域不小
OmniMarkupPreviewer 作为 Sublime Text 的一款强大插件,支持将标记语言渲染为 HTML 并在浏览器上实时预览,同时支持导出 HTML 源码文件,使markdown编辑特别方便
Sublime Text > Preferences > Package Settings > OmniMarkupPreviewer > Settings - User
{
"renderer_options-MarkdownRenderer": {
"extensions": ["tables", "fenced_code", "codehilite"]
}
}
参考:
* 近乎完美的 Markdown 写作体验 - Sublime Text 3 + OmniMarkupPreviewer
* OmniMarkupPreviewer 404
by 刘迎光@萤火虫工作室
OpenBI交流群:495266201
MicroService 微服务交流群:217722918
mail: liuyg#liuyingguang.cn
博主首页(==防止爬虫==):http://blog.liuyingguang.cn