Skip to main content

Posts

Showing posts from June, 2017

Basic tmux commands

Here are several basic commands for tmux , a terminal multiplexer. tmux list -> list all the session tmux attach -> attach the last session In session (or any window): Ctrl + b, c -> create window Ctrl + b, n -> next window Ctrl + b, p -> previous window Ctrl + b, l -> last window Ctrl + b, d -> detach session Ctrl + b, :rename-window New_Name_FOR_WINDOW -> rename current window In a window exit -> exist a window Reference Cheatsheet

Using Pandoc for Doing Citation and Bibliography in Markdown

Markdown is a simple formatting syntax that allows you to do common formatting with ease. Pandoc is a feature rich interpreter that helps you convert documents from one format to anther. If you are writing homework, research papers, or anything that needs citation and a bibliography, you can totally use Markdown and Pandoc to achieve that. Below is a set of instructions that you can follow to generate a document with in-text citation and bibliography. First, install Pandoc and the extension for creating citation ( pandoc-citeproc ).  There are several ways to install Pandoc, you can choose one of them recommended on the official website . On Mac, one way is to install Homebrew , a package manager, and then use Homebrew to install Pandoc and the extension. For Windows users, please refer the official website on how to install Pandooc and extension. Here I will show how to install Pandoc and the extension for citation through Homebrew. After installing homebrew, you can exec