Author Archives: albertsk

About albertsk

Professor at the University of Hawaii

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

elisp functions to change word cases backward in Emacs

Posted in elisp, emacs | Leave a comment

To have a wide equation or content in a two-column document: LaTex and Lyx

Posted in LaTex, Lyx | Leave a comment

Appendix decoration

Add the following lines at the end of LaTex or Lyx file

Posted in LaTex, Lyx | Leave a comment