记一次 Python distutils.dir_util 模块 debug

2018.11.28

话说这个事儿距今已经差不多一年时间了(2017年底发生的事情), 当时就说要记录一下来着, 但是一直没有写, 拖到现在又想起这个事情来了, 所以翻出当时的聊天记录重新整理记录一下.

背景

事情的背景呢大概就是某(前)同事, 用 Python 写一个脚本工具的时候, 发现总是报错, 报错的那个......

C++ 知识笔记

2018.11.26

指针或引用的定义方法

指针有两种定义写法:

// * 靠近变量

int *p_type1;

// * 靠近类型

int* p_type2;

这两种定义方法其实是等效的, 但是我个人现在喜欢使用第二种写法, 即 * 靠近类型, 这样变量名就是变量名, 前面的才是它的类型(比如......

关于万圣节

2018.10.31

Allhallowtide: 万圣节季.

hallow 与 saint 同意, 意为圣徒. tide 此处不是潮汐之意, 意为 time, season, period of time, 即一段时间, 通常用于复合词. 比如 Christmastide, Yuletide, Easterti......

Use arrow keys in Perl debugger

2018.09.06

Install this module:

cpan -f Term::ReadLine::Perl

cpan -f Term::ReadKey

Reference: https://stackoverflow.com/questions/13783334/arrow-up-and-dow......

Bash Powerline

2018.08.29

Dodumentation:

https://powerline.readthedocs.io/en/master/overview.html

Installation:

pip install powerline-status

Show {repository_root}:

......