OpenSSL... Read More | Share it now!
Author Archives: Huang Shiyang
request-python
迫不及待了吗?本页内容为如何入门 Requests 提供了很好的指引。其假设你已经安装了... Read More | Share it now!
使用python的Flask实现一个RESTful API服务器端[转]
最近这些年,REST已经成为web... Read More | Share it now!
APScheduler-Python定时任务
1 简介 APScheduler的全称是Advanced Python Scheduler。它是一个轻量级的 Python 定时任务调度框架。APScheduler 支持三种调度任务:固定时间间隔,固定时间点(日期),Linux 下的 Crontab... Read More | Share it now!
Shell script variable not empty (-z option)
Of course it does. After replacing the variable, it reads , which is not a valid if ] ... Read More | Share it now!
Shell特殊变量:Shell $0, $#, $*, $@, $?, $$和命令行参数
Shell特殊变量:Shell $0, $#, $*, $@, $?, $$和命令行参数 特殊变量列表 变量 含义 $0 当前脚本的文件名 $n 传递给脚本或函数的参数。n... Read More | Share it now!
Shell中的数组及其相关操作
https://blog.csdn.net/Jerry_1126/article/details/52027539 Shell中数据类型不多,比如说字符串,数字类型,数组。数组是其中比较重要的一种,其重要应用场景,可以求数组长度,元素长度,遍历其元素,元素切片,替换,删除等操作,使用非常方便。 Shell中的数组不像JAVA/C,只能是一维数组,没有二维数组;数组元素大小无约束,也无需先定义数组的元素个数;但其索引则像JAVA/C/Python,从0开始,下面其常用的方式进行总结. 【数组声明】 备注: 1)... Read More | Share it now!
Linux命令——timeout
命令简介 运行指定的命令,如果在指定时间后仍在运行,则杀死该进程。用来控制程序运行的时间。 使用方法 timeout 数字 命令... Read More | Share it now!
Using nginx as HTTP load balancer
Introduction Load balancing across multiple application instances is a commonly used technique for optimizing resource utilization, maximizing throughput, reducing latency, and ensuring fault-tolerant configurations. It is possible to use nginx as a... Read More | Share it now!
详解python调用redis lua内嵌脚本的高级用法
Lua 脚本功能是 Reids 2.6 版本开始提供的高级功能, 我们可以通过redis内嵌的 Lua 环境的进行搞复杂的需求。 使用内置的lua脚本环境可以解决Redis长久以来不能高效地处理 CAS... Read More | Share it now!