Ubuntu 14.04下proxychains报错

Written by  on December 28, 2015

在命令行下使用代理通常使用proxychains比较方便,Ubuntu 14.04下在官方库里面安装的proxychains似乎有点问题,会报错:

[Read more...]

The speech of how to use the atomic bomb

Written by  on December 26, 2015

《曼哈顿计划》第二季第十集查理在关于如何用原子弹的讲话,听了很有感慨,在此摘录。 I will start, When I took this job, I had no idea what we were building here. When I found out I wanted to leave. Since I have been here I have done things I never imagined I was capable of. I convinced myself we were here to protect our kids from the Gestapo. Well my wife sent my kid back to the east last night to protect him from me. She told me I am a monster, a murderer. I wanted to tell her she was wrong. But I could not.

[Read more...]

Linux下获取一个程序运行时间和内存用量

Written by  on December 22, 2015

思路 运行一个程序,然后fork出一个子进程来使用execl运行目标程序,然后使用wait4获取子进程所消耗的资源。 目标程序

[Read more...]

Thinkpad X230和ArchLinux

Written by  on December 19, 2015

唔。。。。昨天发现自己跑Windows的那个浦科特固态硬盘重映射次数有点高,趁着一年保修没过期赶紧送售后,这里先狠狠的夸一下浦科特的售后,上官网申请一个售后序列号就可以直接顺丰到付给浦科特上海售后了,然后原则上不需要发票不需要包装的就可以直接保修的,只不过这样的话就是按照生产日期来计算售后时间,如果要从购买时间开始计算的话就必须提供购买发票复印件,像我这样硬盘是2月份生产的,3月份购买的那么就很爽了,出了啥问题直接把硬盘顺丰过去,售后计算差就隔了一个月,连邮费都不要我出,不过我还是翻箱倒柜找到了发票,囧。总的来说浦科特的售后真的是太棒太棒啦~

[Read more...]

无福消受

Written by  on December 8, 2015

昨晚看minix源码看得心烦意乱,便去楼道里抽了两支烟,末了就头晕心闷,不得已刚过十点就爬上床休息了,原本以为抽烟提提神,这倒好,白花花的时间都给抽没了。

[Read more...]