Archive: 2015

Vagrant and Virtualbox

Notes only, not best practice Mount protocol error1sudo ln -s /opt/VBoxGuestAdditions-*/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions Mount: No such devicestart the virtual machine in the virtual

iptables and firewalld tricks

CauseSome libev port version of something does not support the --forbidden-ip option. To avoid SMTP abuse, originally I moved back to the python version of it. Later I found python version has some bu

Python3.5+Tornado

期末考完一塌糊涂于是开始埋头写代码 正好pm iceboy开始了vj4项目,就顺便学习一下python好了 Day 0今天装好了系统,不过感觉centos真不友好,各种版本低全部要自己编译安装,还是fedora大法好。 装了一个velocity看起来挺好用的,本来以为只有查看api的功能,结果发现tornado的整个readthedoc都被缓存下来,可以直接看教程。 热烈盼望换上mbp就能有das

LaTeX and more

ShareLaTeX Predifitions and Macros Commonly used tricks Since LaTeX is recommanded in VV186 and many other courses and LaTeX is unfriendly to newbies, I’m going to share my LaTeX writing style. Sh

Hexo 搭建心得

前几天看到有一个博客用的是hexo搭建, 简洁中又蕴含动画的美感; 正好个人博客的计划一拖再拖, 今天就来搭建了一个hexo. 基础的部署 安装hexo-cli hexo-cli是一个hexo的command line tool, 用它可以方便的初始化hexo网站, 并且提供自动渲染和服务器的功能. 12npm install -g hexo-clihexo init <blog-name&

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick