Backup Your Files Hierarchically to Dreamhost via Rsync

There’re some easy file backup n’ sync online services such as Amazon S3 and Dropbox, however I find it not so handy when I want to sync my linux files hierarchially.

I initially used git to sync my .vimrc file and my own ebuild repo, but it is not cost-efficient as I actually pay little attention to the tracking commit things. So I ended up using rsync to synchronize my linux files to my dreamhost account.

Preparation

Assuming you’ve already had a dreamhost account with shell access priviledge (any other hosts with shell access will be fine as well). And you’re going to backup the following files on your system to the dreamhost server:
Read More

华文黑体无法在KDE4下正常渲染

雅黑渲染没问题,华文黑体在普通字号下惨不忍睹 … AA开关,hintnone/slight/medium/full都试,无改善。

kde4-stheiti

  1. KDE4.12已经蛮稳定的了,UI很漂亮
  2. Dolphin取代Konqueror是明智的选择,加上tab后的dolphin用起来很舒服
  3. Amarok 2 beta2 … 绝对是个倒退! UI难看不说,细节打磨也是一塌糊涂,iPod删歌居然要一首首的删除,新的树形菜单也很不friendly
  4. Win键没法映射

Use gentoo-bashrc under Archlinux

为什么说Gentoo是最好用的linux distro了呢? 一个小小的.bashrc就包含了许多很人性化的设置,省去了很多自己手动配置的烦恼。

Archlinux用户们$ yaourt gentoo-bashrc吧,然后把/usr/share/gentoo-bashrc/bashrc复制到$HOME下。

在Archlinux下编译TuxOnIce内核

Druggo的介绍,一直在我的Genbox (我的Gentoo机器名)下使用TuxOnIce内核。现在在家里的Montty (我的Archlinux机器名)下实在觉得Archlinux的预编译内核太大了,而且全部以模块方式加载启动系统时的Loading Udev Events要花去尽20秒,难以忍受。很有必要自己编译一个精简的内核,而Archlinux的AUR里正好有TuxOnIce的PKGBUILD。

先说下为什么在Archlinux下自己编译一个TuxOnIce内核:

  1. 精简内核,去掉不需要的模块,减少启动时间
  2. AUR里的TuxOnIce打了Gentoo的内核补丁集
  3. TuxOnIce支持休眠到swap,充分利用绰绰有余的swap空间
  4. 支持断电休眠,重新唤醒系统速度快,免去重启烦恼

Read More

Linux下LaTeX中文处理

最近要交的论文越来越多了,Google Docs虽然能应付我平时的绝大部分文字工作,但是遇到数学公式就没辙了,Word那个公式编辑器实在是点鼠标点的很累,而且输出的效果不尽理想。不得不认真学习下LaTeX了,什么是LaTeX? 如果你只是拿来写写办公文案,活动策划之类的,显然Word就够了,甚至Google Docs都够了,但是如果你想完成一份漂亮的论文,那就得好好学习下LaTeX了。看过Alice(应该称黄博士了)写的论文后,发现LaTeX做出来的论文实在是太漂亮,太professional了,这才像是个论文样,比起Word的那种花花绿绿,没事来几个艺术字是专业多了。

前面废话太多了,LaTeX对俺们来说最大的问题倒不是那一大堆的Markup Language,而是中文问题。Google了半天,发现之前流行的CJK模块方式过于麻烦,还是用Xetex好,但是在Gentoo下Xetex和默认安装的texlive-core是互相block的,最终方式是选择安装texlive-xetex模块。

Frontend我选择kile,毕竟手生,纯命令我一次性记不过来。emerge吧!
Read More

You Might Know

This site is powered by WordPress CMS & hosted by Dreamhustle Dreamhost.

And the theme is inspired by WP Typo and completely crafted under Gentoo Linux with VIM editor.

Sponsors

Monthly Archives

Search