This beta version of Typora is expired 解决办法
10月 30, 2023 |
Nix.Huang
This beta version of Typora is expired, please download […more]
This beta version of Typora is expired, please download […more]
spring boot配置项 spring: redis: .sentinel: master: mymast […more]
redis SET SMISMEMBER操作是O(N) 时间复杂度,如果集合中元素的cardinality 比 […more]
1 2 3 4 5 6 7 8 9 10 |
String pattern = "test:1023*"; List<Object> listOfObjects = new ArrayList<>(); Cursor<Map.Entry<Object, Object>> cursorMap = redisTemplate.boundHashOps("test_hash") .scan(ScanOptions.scanOptions().match(pattern).count(100).build()); while (cursorMap.hasNext()) { listOfObjects.add(cursorMap.next().getKey()); } cursorMap.close(); |
第一次hscan 传入cursor=0, 返 […more]
yum install strongswan certbot firewalld -y # 确保域名指向本机外 […more]
编译安装 freeredius 在centos安装 yum install libtalloc-devel l […more]
安装软件
1 2 3 4 5 |
yum install dnsmasq -y systemctl enable dnsmasq systemctl start dnsmasq netstat -lnp|grep dnsmasq #检查是否成功占用53端口 |
添加解析记录 [crayon-67 […more]
nginx 的每次后端代理请求都会消耗一个临时端口, linux上临时端口时稀缺资源, 最多6万个。 echo […more]
server { listen 80; # server_name用于指定虚拟主机名 server_name […more]