Category: Coding

0

An Illustration of Various Encoding Schemes

What are encoding schemes?Encoding schemes are ways to store and retrieve characters in computers. For example, in ISO-8859-1(which is one of various encoding schemes), we use 01100001 to denote a, an

0

Serialization and Deserialization in Java

IntroductionSerialization: a process which converts a Java instance into a bunch of bytes, so it can be stored in disk/database or transferred through network. Deserialization: the opposite of Seriali

0

the machanism of garbage collectors in Java

There are several garbage collectors in Java, each has its specific usage scenario. To understand garbage collection, we first have to understand how heaps are divided in Java. Heaps are divided into

0

Inheritance in Javascript

Javascript uses prototype chains to make inheritance work, that’s a little odd given that other OOP languages usually use class and extend. So to fully understand inheritance in javascript, we first h

0

Hadoop Internals -- Configuration

IntroductionAs what is called, Configuration is used to store all kinds of configurations in the hadoop platform, either they are from files(like core-default.xml) or from users(set via conf.setInt(&q

0

Install fcitx on ubuntu 16.10

Run the following command. 1sudo apt-get install fcitx fcitx-table fcitx-googlepinyin fcitx-module-cloudpinyin Search for language support, and check Keyboard input method system is fcitx Reboot. Go t

0

Super CapsLock On Ubuntu 16.10

On ubuntu 16.10, make CapsLock act as Esc when it is hit, and as Ctrl when it is held. To make it work, modify /etc/default/keyboard, change 1XKBOPTIONS="" to 1XKBOPTIONS="caps:ctrl_mod

0

beautify i3wm

MotivationI enjoy using i3wm, big time. You can switch to different windows/apps conveniently with it. The only problem to me is that it’s not beautiful enough, and it’s ridiculously small in my high-

0

Let hexo support mathjax

UpdateThe original answer fails on some mathjax expressions. So don’t use it. Currently changing marked.js works for me. Just use the method below. It works for me. First introduce mathjax into our bl