1、查看checkmk插件目录check_mk_agent|grepPluginsDirectory|head-n12、进入目录cd/usr/share/check-mk-agent/plugins3、编辑mk_haproxyvimk_haproxyif[-r/var/lib/haproxy/stats];thenecho"<<<haproxy:sep(44)>>&g
分类:
其他好文 时间:
2018-02-08 10:17:08
阅读次数:
126
"题目链接" ~~各种zz错误。。简直要写疯~~ cpp / 19604kb 36292ms 朴素线段树:线段树上每个点维护O(k)个信息,区间合并时O(k^2),总O(mk^2logn) GG 考虑费用流:建一条n+1个点的链(点权设在边上,故需n+1个点),链上每个点和S、T连边,相邻点连边 这 ...
分类:
其他好文 时间:
2018-02-07 14:36:49
阅读次数:
177
```cpp //spoj 839 include include include include using namespace std; const int N=505,M=200005,inf=1e9; int T,n,m,k,s,t,a[M][2],b[N],mk[N],le[N],ans, ...
分类:
其他好文 时间:
2018-02-01 23:12:20
阅读次数:
171
一、下载I2C-tools工具: 最近在移植i2c-tools工具,下载地址:https://i2c.wiki.kernel.org/index.php/I2C_Tools;百度到了wiki中的git地址; 二、将git下载到external目录下,编写Android.mk,将其打包system.i ...
分类:
移动开发 时间:
2018-01-29 16:02:40
阅读次数:
232
首先mkconfig文件是在uboot编译前配置时运行的,即当我们make x210_sd_config时,会在主Makefile文件的第2589行 运行mkconfig这个脚本程序,并且会传6个参数给这个脚本。 config.mk文件是在主Makefile的第185行include $(TOPDI ...
分类:
其他好文 时间:
2018-01-25 23:06:08
阅读次数:
354
在写css时需要引用一个百度的api地图,却发现设置点的logo图片不能显示,后查阅百度测试发现是图片路径的问题: 在引用的下载的html页面找到 var icon = new BMap.Icon 将括号后的图片地址改为"http://map.baidu.com/image/us_mk_icon.p ...
"洛谷P1941" c++ include using namespace std; const int inf=1e9; const int MN=10001; const int MM=1001; const int MK=10001; struct tube {int p,l/ downwar ...
分类:
其他好文 时间:
2018-01-21 16:19:49
阅读次数:
124
本文转载自:http://blog.csdn.net/chaihuasong/article/details/50342119 A. 软件准备 user版本需要先打开USB debug开关,打开方式如下: 1、打开usb调试 build/core/main.mk 请将user版本下也改为ro.deb ...
分类:
移动开发 时间:
2018-01-01 16:49:00
阅读次数:
1005
```BFS``` ```正解就是乱搞系列``` ```cpp #include #include char G[50][50]; bool mk[50][50][10001]; struct QueueNode { int x, y, cur, dist; QueueNode (int x = 0... ...
分类:
其他好文 时间:
2018-01-01 00:24:23
阅读次数:
251