Moon River

A tranquil niche for contemplation

Basic Usage of Pelican

Introduction

Pelican is a Python-based Static Blog Generator.

Markdown in Pelcian

Syntactic sugar plugins (tags) are added to the markdown language used in Pelican

These tags are specified in Liquid-style syntax:

    :::identifier (eg. liquid, python) 
    {% tag arg1 arg2 ... %}

Image Tag

{% img [position] /url/to/img.png [width] [height] [title ...

Split Logging File By dd

Task Scenario Description

The latest information needs to be extracted from a logging file while the application is running.

Limitations are listed as below:

  • The target platform is a subset of QNX
  • The size of logging file is over 100M.
  • The shell(ksh) commands are not complete, eg. split, tac ...

Charset & Encoding in Python

Background

Character Set and Encoding System are different concepts, but often confused together.

A character set is just a standardized set of chars or symbols. For example, English alphabet "a" to "z" can be a character set, while an encoding system is a standardized way to transform a sequence of ...

Move Around Quickly in Vim

It is natural for programmers to navigate files and make modifications. A powerful text editor and efficient editting skills can greatly increase the productivity. This article will discuss the navigation skills of Vim inside a file.

Getting Around Faster

Before making modifications to the text, usually, we need to move ...