Leslie Zhang
Leslie Zhang
`tmux` is a better tool than `creen`, we should add it. Junior Sysadmin -> What is a CLI? Tell me about your favorite CLI tools, tips, and hacks. -> My...
I think these tools can be added: - `ps` - `/proc/$PID` - `lsof`
**这个网站有很多Prometheus告警规则样例**: ``` # centos6和7的内存空闲量计算 node_memory_MemAvailable_bytes or (node_memory_Buffers_bytes + node_memory_Cached_bytes + node_memory_MemFree_bytes + node_memory_Slab_bytes) ``` 一个prometheus rules的示例,`level`用作区分告警方式,`level`, `kind`用作告警抑制方式。 ```yaml groups: - name: node-cpu rules: # cpu核数 - record: instance:node_cpus:count expr: count...
token过期,登录主页后一直死循环跳转主页。必须手动清理此网站的cookie才能正常。 openresty的日志: ``` 2020/05/28 17:10:22 [error] 67040#67040: *434 [lua] upstream.lua:48: set(): real_uri-------->/authorization/, client: 127.0.0.1, server: gw.opendevops.cn, request: "GET /api/accounts/authorization/ HTTP/1.1", host: "gw.opendevops.cn", referrer: "http://demo-init.opendevops.cn/home" 2020/05/28 17:10:22 [error] 67040#67040: *439 [lua]...
前端代码是要编译才能变成static里面的内容吗?修改`template`的前端代码的话,要如何才能变成static里面的内容?
提几个建议
安装文档的几点建议: 1. 建议采用Python venv虚拟环境; 2. 建议示例配置写成`xxx.ini.example`,然后本地按照情况复制修改`xxx.ini`,并将其写入`.gitignore`,避免直接修改`xxx.ini`导致代码分支冲突; 3. 建议示例配置里的IP都改为`127.0.0.1`,方便本地不做修改; 3. RabbitMQ需要配置,但安装文档上没有如何安装和配置。
### Describe the feature you want 描述你的功能需求 - Feature 1 功能需求 1 增加文章浏览度百分比进度功能,让读者可以大概估算看了多少内容,还剩下多少内容。
以前只使用过模板语言+bootstrap+jquery,看不懂vue。该怎么入手这个项目?
有一个问题,亲!在artists.py中: params = {'id':group_id, 'initial':initial},这两个参数是做什么的? 还有你的headers定义了为什么没有在requests当中使用? 我的body有问题,导致后面的hot_artists和artist都是空值。 我换了好几个requests(url)中的URL,结果返回的soup还是有问题。应该还是上面两个params我没理解到是什么意思而导致后面错误。 这个连接本地或者远程MySQL是要提前把sql.py中的表先建好吗?