一 环境准备 pip install flask pip install --ignore-installed PyYAML pip install prometheus_client 二 包引入 from prometheus_client import Gauge from prometheus ...
分类:
其他好文 时间:
2020-12-02 12:18:57
阅读次数:
5
比如同步供应商数据: CREATE TABLE jd_unit( id varchar2(64) primary key, unit_name varchar2(500), unit_code varchar2(500), is_enable char(1), create_time timesta ...
分类:
数据库 时间:
2020-12-02 11:58:15
阅读次数:
9
原创宋宝华Linux阅码场5月6日本文原文地址:https://devarea.com/understanding-linux-kernel-preemption/#.XrKLcfnx05k作者:LiranB.H译者:宋宝华当配置Linux内核的时候,我们可以选择一些参数,这些参数能影响系统的行为。你可以用不同的优先级、调度类和抢占模型来工作。正确地选择这些参数是非常重要的。本文将论述不同的抢占模
分类:
系统相关 时间:
2020-12-02 11:57:33
阅读次数:
10
shell是弱类型语言如何查看linux支持哪些shell:cat/etc/shells
分类:
系统相关 时间:
2020-12-02 11:57:06
阅读次数:
7
Java常用类、集合、IO 常用类 Object hashCode() toString() clone() getClass() notify() wait() equals() Math 常用的数学运算 Random 生成随机数 UUID File 创建文件 查看文件 修改文件 删除文件 包装类 ...
分类:
编程语言 时间:
2020-12-01 12:40:11
阅读次数:
12
code macname@localhost Desktop % cat content fox jumps over the lazy dog. fox jumps over the lazy dog. fox jumps over the lazy dog. fox jumps over the ...
分类:
系统相关 时间:
2020-12-01 12:32:52
阅读次数:
24
1.打开shell终端,输入 sudo vi /etc/rc.local 2.在编辑器里面输入自己要启动的脚本 #!/bin/bash echo "run incar ai program..." cd /opt/robot nohup bash autorobot.sh & 2>/dev/null ...
分类:
系统相关 时间:
2020-12-01 12:15:17
阅读次数:
12
一、Web应用 1、什么是Web应用?Web应用程序是一种可以通过Web访问的应用程序,特点是用户很容易访问,只需要有浏览器即可,不需要安装其他软件。 2、Web应用程序的模式 应用程序有两种模式,即C/S、B/S两种,C/S是客户端/服务器端程序,这类程序一般独立运行;而B/S就是浏览器端/服务器 ...
分类:
Web程序 时间:
2020-12-01 12:05:16
阅读次数:
11
const fs = require('fs'); // 读取文件 function readStudy() { return new Promise((resolve,reject) = >{ fs.readFile("./resoureces/style.md",(err,data)=>{ // ...
分类:
其他好文 时间:
2020-12-01 12:03:14
阅读次数:
2
code macname@localhost Desktop % cat test.sh while read line;do echo $line; done < a.txt macname@localhost Desktop % macname@localhost Desktop % cat a ...
分类:
系统相关 时间:
2020-11-30 16:14:46
阅读次数:
16