- 博客(5)
- 资源 (3)
- 收藏
- 关注
原创 echo与base64
echo 默认是带换行的,如果不想换行,要使用**-n**选项root@ubuntu:~/noVNC# echo -n 0penBmc |base64MHBlbkJtYw==root@ubuntu:~/noVNC# echo 0penBmc |base64MHBlbkJtYwo=root@ubuntu:~/noVNC# echo MHBlbkJtYwo= |base64 -d0penBmcroot@ubuntu:~/noVNC# echo MHBlbkJtYw== |base64 -d
2020-08-13 17:52:41 2697 1
转载 gevent tutorial
ref http://sdiehl.github.io/gevent-tutorial/ https://www.cnblogs.com/buxizhizhoum/p/7448641.html
2018-11-18 23:21:38 104
转载 Python类变量与继承
参考 https://blog.csdn.net/u014734886/article/details/80691402
2018-11-18 22:02:16 995
原创 python super 用法
super(Return a proxy object that delegates method calls to a parent or sibling class of type. )用来引用父类的方法格式如下: super([type[, object-or-type]]) 设计的时候要保障the method being called by super() need...
2018-11-05 15:10:47 147
原创 threadlocal与ThreadPoolExecutor造成的内存泄漏
threadlocal与线程相关,每个线程都会有一份,参考 http://python.jobbole.com/86150/ThreadPoolExecutor构造函数里面有max_workers参数,如果这个参数设置的不好,就有可能造成内存泄漏。示例代码如下:from concurrent.futures import ThreadPoolExecutorimport thre...
2018-10-31 10:39:53 3202
netty-3.1.5.GA-dist.zip
2009-12-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人