小黑与插头的故事——更换ThinkPad电源线

TLDR:如果是因为线材导致的充电问题,可以考虑换ThinkPad(以T530为例)兼容的IEC-C7线材,详见下底部的TLDR部分。 

我的主力机ThinkPad是前几年上大学的时候买的,因为价格原因买的美版——因为ThinkPad是全球联保的,美版的键盘布局也跟国内一致;至于电源,虽然美国的电压110V跟国内不同,但ThinkPad标配的是旅行电源(宽电压),国内也可以正常使用;除此之外,美标的两脚插头也可以兼容国内的插座。所以在国内使用起来并无二异,来澳洲之后也不过是加一个插头转换器再插到插座上,用起来也算安逸。 

继续阅读小黑与插头的故事——更换ThinkPad电源线

Automatically Backup Dokuwiki Data Using Shell Script

Dokuwiki is an elegant and concise wiki-site. Since it uses plain text files instead of a database to store pages, one offline copy could be useful for some situations, like read it on your Kindle when you go offline or publish your ebook. Thus, we want to back up our pages and media file daily and create a symbolic link to the latest copy for downloads.

继续阅读Automatically Backup Dokuwiki Data Using Shell Script