Archive: 2016

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

The fee paid to freelancer is not refundable

About two days ago, I got a message from my phone that I was charged for ¥110.72. The money was taken directly from my debit card. At first, I thought the money was stolen using some high-end technolo

0

I finished reading "The catcher in the rhy"

I finished reading “The catcher in the rhy” yesterday. I don’t think this is an excellent book. The main character in this book just hates everything. I have no idea why he thinks in this way, though

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

It's pretty hard to concentrate these days

Honestly I feel awful these days, it goes the same for yesterday. I created a task that I needed to code for at least three hours for my project every day, but while I was anxious, it was really hard

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

my new goals and my new life

I feel pretty bad recently, and it occurred to me that what made me feel bad was not the world, it was me, myself. I have to do something to fill my brain with energy, so I add a new task today, to pr

0

I struggled to finish my tasks today

Today I was in a pretty bad mood, but I still finished my tasks. Because I know, whether I’m in a good or bad mood, I have to live any way. And if I do nothing, things would become worse. In fact, if