Category: Coding

0

Hexo Source Code Demystified

PrefaceHexo is an excellent static blog generator, I read its source code recently, and I think it’s worth sharing the inner mechanism of its source code. GeneratorWhen you run the command hexo genera

0

install flash plugin in firefox on arch linux

First, install flashplugin. 1sudo pacman -S flashplugin Then if you launch firefox, you will find out that there’s no sound when playing flash in it. Launch it from the terminal, you will find out the

0

connect to wifi via commandline on arch

I just spent hours connecting to the wireless network on archlinux today. Finally I resorted to various tools in commandline. Here’s how I do it. Make sure you run the following commands as root to av

0

shorten a string without cutting words

QuestionHow to shortening a string without cutting words? For example, I have a string called Hello World, whose length is 11. I want to shorten its length to less than 6, which would be Hello W, but

0

bittorrent sync

I installed bittorrent sync tonight, one on my PC and one on my digitalocean VPS. If it’s working correctly, the previous backup script would be useless. One of the possible issues might be the storag

0

learn redirection the hard way

It’s been a long time since the last time I wrote the blog, because I’m not a fan of writing blogs. But today I solved a problem with hours’ digging and trying, so I think it might be a good idea to s

0

make fcitx work in sublime-text-3

PrefaceRecently I began to use sublime and I found that fcitx couldn’t work in sublime. This is quite weird. After searching online for a while, I found a solution which could solve the problem in a “

0

GoldenDictMedia

IntroductionGoldenDict is an excellent dictionary management software. It can handle most dictionary formats, some of these dictionaries contain audios and/or images. This addon can import the images