题记:昨晚在一个技术社区直播分享了“利用Azure Functions和k8s构建Serverless计算平台”这一话题。整个分享分为4个部分:Serverless概念的介绍、Azure Functions的简单介绍、k8s和KEDA的介绍和最后的演示。ServerlessServerless其实包... ...
分类:
其他好文 时间:
2020-06-18 13:25:56
阅读次数:
60
关于docker-compose的安装这里就不做介绍了,可以看我之前的文档 vim docker-compose.yaml version: '3.5' services: zabbix-server: image: zabbix/zabbix-server-mysql:centos-5.0-lat ...
分类:
其他好文 时间:
2020-06-18 10:34:35
阅读次数:
379
系统环境[root@zabbix~]#cat/etc/redhat-releaseCentOSLinuxrelease7.6.1810(Core)准备环境[root@zabbix-server~]#systemctldisablefirewalld.service[root@zabbix-server~]#systemctlstopfirewalld.service#关闭系统防火墙[root@za
分类:
其他好文 时间:
2020-06-12 09:17:22
阅读次数:
74
方法: # django官网提供的一个orm语法 from django.db.models.functions import TruncMonth -官方提供 from django.db.models.functions import TruncMonth Sales.objects .anno ...
分类:
其他好文 时间:
2020-06-12 00:59:52
阅读次数:
60
练习过程中的随手记,很多问题也未深究,,简单问题可能直接贴改完之后的代码,..分享出来,若能帮助大家,意外乐趣 functions1.rs // functions1.rs // Make me compile! Execute `rustlings hint functions1` for hin ...
分类:
其他好文 时间:
2020-06-11 13:46:16
阅读次数:
45
织梦DEDECMS cookies泄漏导致SQL漏洞修复方法,整理如下:打开文件member/inc/inc_archives_functions.php,搜索(大概在239行的样子) echo "<input type=\"hidden\" name=\"dede_fieldshash\" val ...
分类:
数据库 时间:
2020-06-11 13:21:45
阅读次数:
74
Linux下对文件操作有两种方式:系统调用(system call)和库函数调用(Library functions)。 1、系统调用 系统调用提供的函数如open, close, read, write, ioctl等,需包含头文件unistd.h。以write为例:其函数原型为 size_t w ...
分类:
其他好文 时间:
2020-06-11 01:08:38
阅读次数:
100
ROOT=$(readlink -fn $(dirname $0)/.. )find $ROOT -not -wholename \*.tox/\* -and \( -name \*.sh -or -name \*rc -or -name functions\* \) -print0 | xargs ...
分类:
系统相关 时间:
2020-06-10 19:22:10
阅读次数:
94
Python简洁的语法使编写实现大量逻辑的单行表达式变得容易。 例如,假设我想解码来自URL的查询字符串。这里,每个查询字符串参数表示一个整数值: from urllib.parse import parse_qs my_values = parse_qs('red=5&blue=0&green=' ...
分类:
其他好文 时间:
2020-06-08 23:35:13
阅读次数:
67
日志清理目前覆盖58台服务器如下 此处省略 #!/bin/sh . /etc/rc.d/init.d/functions currTime=$(date +"%Y-%m-%d %T") logpath=/home/local/logs TarlogPath=/data/home/deploy/out ...
分类:
其他好文 时间:
2020-06-05 10:31:39
阅读次数:
81