2013-02-19 刘太华
pptp服务器: pptp下发下去的ip网段: 10.168.0.0/24 iptables配置: (注意打开ip_forward转发): -A FORWARD -s 10.168.0.0/24 -j ACCEPT -A POSTROUTING -s 10.168.0.0/24 -j MASQUERADE 继续阅读 »
2017-05-31 Lu Huang
Got from zzw922cn/awesome-speech-recognition-papers. Automatic speech recognition paper roadmap, including HMM, DNN, RNN, CNN, Seq2Seq, Attention Introduction Automatic Speech Recognition has been investigated for several decades, and speech recognition models are from HMM-GMM to deep neural networks today. It's ver 继续阅读 »
2013-04-29 刘太华
hubot的announce通知所有在线联系人 hubot在使用挂接到其他平台时, 是支持room的方式了, 这样就支持了由一个用户发送announce通知所有在线联系人的方式了. 因为想到以后或许可以使用hubot来作为监控通知, 当你指定的监控项目告警时, 使用hubot把信息发送到所有在线订阅人. 继续阅读 »
2013-03-07 刘太华
kvm的guest镜像可以mount到本地 首先使用qemu-img info img_file查看镜像使用的文件格式, 通常默认的是raw [root@ttt data]# qemu-img info vm1.img 继续阅读 »
2013-04-25 刘太华
2.6.16后的内核, 对于查看进程内存使用分布, 更方便了. 在/proc/{pid} 路径下有一个smaps文件, 记录了进程内存使用情况, 在老的内核系统上, 这个文件是maps或memap , 而且老的内核下maps或memap文件记录的数据真不是人读的. 继续阅读 »
2013-03-12 刘太华
使用datetime, 构造一个cron task定期执行给定的函数方法 一个Plan类, 包含next_datatime, execute, 两个方法, init方法指明在实例化的时候,需要给定一个func作为参数, 其他参数可以是时间间隔, 或具体的时间点, 继续阅读 »
2017-11-12 findneo
from HITCON CTF 2017 2017/11/04 02:00 UTC ~ 2017/11/06 02:00 UTC https://ctf2017.hitcon.org/ BabyFirst Revenge Do you remember BabyFirst from HITCON CTF 2015? This is the harder version! http://52.199.204.34/ 源码 php $sandbox = '/www/sandbox/' . md5("orange" . $_SERVER['REMOTE_ADDR']); @mkdir($sandbox); @ 继续阅读 »
2013-04-18 刘太华
源码里的结构: tornado ├── auth.py ├── autoreload.py ├── ca-certificates.crt ├── curl_httpclient.py ├── database.py ├── escape.py ├── gen.py ├── httpclient.py ├── httpserver.py ├── httputil.py ├── init.py ├── ioloop.py ├── iostream.py ├── locale.py ├── netutil.py ├── options.py ├── platform │ ├── auto.py │ ├── common.py 继续阅读 »
2013-04-26 刘太华
hubot 机器人, 居然今天才去了解了下它, 用nodejs运行, coffee javascrpit写的. 记录下安装方式 如果是redhat系列的linux, 使用yum 安装即可, centos6后的nodejs版本已经很新了. 实在不行就搞源码安装. 继续阅读 »
2015-11-21 Klaus Ma
Swarm on Mesos Overview Swarm API gets REST API request, and then create a task and put it into message queue. Swarm Cluster (registered as Mesos framework) gets offer from Mesos Swarm Cluster picks up a task from message queue Swarm Cluster calls Scheduler’s routine to gets target host Swarm Cluster calls Mesos 继续阅读 »