Category Archives: Uncategorized

How to trim a mp4 file in Ubuntu

The following command is to trim “INPUT.mp4” from start time 00:00:00 for a total play duration of 01:33:00, and save it as “OUTPUT.mp4“. No matter what the INPUT.mp4 file size is, this command is done almost immediately.

Posted in Uncategorized | Tagged , | Leave a comment

How to use GitHub

https://guides.github.com/activities/hello-world/

Posted in Uncategorized | Leave a comment

LaTex/Lyx customized template store and use

Posted in Uncategorized | Leave a comment

How to remove “Reference” section name in LaTex

Posted in Uncategorized | Leave a comment

awk – calculation of sums of rows and columns

awk command in a bash script mydata.dat file

Posted in Uncategorized | Leave a comment

How to generate a unique directory for each run using Makefile

In command line, one can execute to have 10 different directories in sequence.

Posted in Uncategorized | Leave a comment

Emacs scroll-step

Posted in Uncategorized | Leave a comment

LaTex/Lyx

To restart figure and table numbers in Appendix with correct link In the LaTex/Lyx header, add the following package: Where the Appendix start, add the following script:

Posted in Uncategorized | Leave a comment

Emacs word wrap and replace space by dash

Posted in Uncategorized | Leave a comment

How to obtain CPU and memory information of Ubuntu system

Command line TUI

Posted in Uncategorized | Leave a comment