4294967295 is just (unsigned long) -1. -1 means that lo …
作者存档:phpor
Spring Boot Reference Guide
http://docs.spring.io/spring-boot/docs/current/referenc …
redis 之 appendonly.aof
redis.conf 中默认配置的dir为 “./” ,即为当前目录,一些人会想当然认 …
ssh on proxy
缘起: vpn逐渐不好使了 虽然曾经可以通过ssh来翻墙,现在ssh已经自身难保了,也需要借助其它代理才能出门 …
docker & cache
缘起: dubbo-monitor容器swap使用率超过 20% ,而且在不断上升,为什么呢? …
awk替换redis aof中db的方法
测试数据:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# cat appendonly.6387.aof|head -n 20 *2 $6 SELECT $1 1 *3 $3 SET $47 mission_58c7be1b47ddd5.20005951_start_wait_time $10 1489485343 *3 $3 SET $47 mission_577239de3d58a2.51913045_start_wait_time $10 1467105181 |
测试目标: 把 db 1 中的数 …
spring 注解之 @ConfigurationProperties
当一个类添加了如下注解的话,装配类的时候,其setter方法(注意,确切说不是属性)就会参考applicati …
ngx.resp.get_headers()
syntax: headers = ngx.resp.get_headers(max_heade …
如何从零开始写一个 Chrome 扩展? – 知乎
https://www.zhihu.com/question/20179805
Chrome扩展:拦截网页JS并替换
https://jingyan.baidu.com/article/d169e18662aa60436611d …