1. 10秒钟测试ip段所有IP的连通性 (base) [root@wlt-overseas-middleware-master ~]# cat su-asyncio-re-cancel.py import asyncio import time import re # call shell cmd ...
分类:
编程语言 时间:
2021-02-16 12:27:26
阅读次数:
0
<!--Jackson JSON乱码问题配置--> <mvc:annotation-driven> <mvc:message-converters register-defaults="true"> <bean class="org.springframework.http.converter.St ...
分类:
编程语言 时间:
2021-02-16 11:57:16
阅读次数:
0
Most people have already heard about the new “async” and “await” functionality coming in Visual Studio 11. This is Yet Another Introductory Post. Firs ...
分类:
其他好文 时间:
2021-02-15 12:36:36
阅读次数:
0
Git commit --amend 修改文件1.txt, 然后add, commit; 然后: case1: git commit --amend,可以修改上次commit信息(一般修改message说明信息); case2: 继续修改1.txt, 也可以增加新的文件等,然后,git add一下, ...
分类:
其他好文 时间:
2021-02-15 12:22:35
阅读次数:
0
1.jackson的使用 乱码问题解决 注解@ResponseBody直接将方法的返回值 传到当前网页上 不需要去走视图解析器 问题解决 在注解ResponseMapping那里改为这个 或者可以更懒一点 直接在配置文件中声明 <mvc:annotation-driven> <mvc:message ...
分类:
编程语言 时间:
2021-02-15 12:03:04
阅读次数:
0
最近新创建了一个sandbox, 想使用power automate中的approval做审批功能. 但是新环境下一直初始化失败. 并且有以下报错. 最后发现power automate中的审批是使用的environment中一个额外的叫MicrosoftFlowCDSIntegrationServ ...
分类:
移动开发 时间:
2021-02-15 11:58:28
阅读次数:
0
Security and Cryptography in Python - Block Cipher(2) Double DES from pyDes import * import random message = "01234567" key_11 = random.randrange(0, 2 ...
分类:
编程语言 时间:
2021-02-10 13:31:04
阅读次数:
0
1、async是什么? async 作为一个关键字放到函数前面,用于表示函数是一个异步函数,因为async就是异步的意思, 异步函数也就意味着该函数的执行不会阻塞后面代码的执行。 2、async如何使用 写一个async 函数: async function timeout() { return ' ...
分类:
其他好文 时间:
2021-02-10 13:30:45
阅读次数:
0
##业务场景 最近公司的一个老项目有一个需求,需要根据后台管理员维护的时间来做一个定时任务的推送,用来推送企业微信的一些提醒消息,这个时间由于是业务人员操作,还有不确定性,其次还要受制于项目现有技术栈的限制,感觉有点难搞,还好项目在解决登录共享session的时候引入了rediss,最开始的思路把维 ...
分类:
其他好文 时间:
2021-02-10 13:22:48
阅读次数:
0
//更改I/O缓冲大小 //set_buffer.c#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <sys/socket.h>void error_handling(char*message); int main(i ...
分类:
其他好文 时间:
2021-02-09 12:11:39
阅读次数:
0