Category Archives: Uncategorized

How to use dolphin as a file manager to open a download directory

Open up /usr/share/applications/defaults.list and change line to Source URL: https://askubuntu.com/questions/2495/how-can-i-get-firefox-to-use-dolphin-instead-of-nautilus

Posted in Uncategorized | Leave a comment

How to screen capture every 3 seconds

                                                                                                                         Usage : scrot [OPTIONS]… [FILE]Where FILE is the target file for the screenshot.If FILE is not specified, a date-stamped file will be dropped in thecurrent directory.See man scrot for more details-h, –help display this help and exit-v, –version output version … Continue reading

Posted in Uncategorized | Leave a comment

How to search specific email message in Thunderbird

Install thunerlink at https://github.com/mikehardy/thunderlink

Posted in Uncategorized | Leave a comment

How to convert a pdf file into sequentially numbered images and animated gif

The above command in Linux will convert each page of the pdf file “myPDFfile.pdf” into sequentially numbered png files of the file names starting with “img” such as img-01.pngimg-02.png… Options “-rx 300 -ry 300” means that 300 dpi is used … Continue reading

Posted in Uncategorized | Leave a comment

Output and Error redirect

$ command 2> /dev/null 1>&2 which is to first redirects stderr to /dev/null and then redirects stdout to point to the same place stderr is currently pointing to.

Posted in Uncategorized | Leave a comment

How to include multiple authors with different affiliations in LaTex

\usepackage{authblk} \author[1]{Author A\thanks{A.A@university.edu}} \author[1]{Author B\thanks{B.B@university.edu}} \author[1]{Author C\thanks{C.C@university.edu}} \author[2]{Author D\thanks{D.D@university.edu}} \author[2]{Author E\thanks{E.E@university.edu}} \affil[1]{Department of Computer Science, \LaTeX\ University} \affil[2]{Department of Mechanical Engineering, \LaTeX\ University} \renewcommand\Authands{ and }

Posted in Uncategorized | Leave a comment

LaTex Appendix in Elsevier template

\appendix \setcounter{figure}{0} \renewcommand\thefigure{A.\arabic{figure}} \addcontentsline{toc}{section}{Appendix} %\counterwithin{figure}{section} %\numberwithin{equation}{section} %\numberwithin{figure}{section} %\numberwithin{table}{section}

Posted in Uncategorized | Leave a comment

Network command on Ubuntu

to add new gateway route add default gw 192.168.0.1 to see the network adapter information nmcli dev show eth0 to restart network ./init.d/networking restart to see dns stauts systemd-resolve –status

Posted in Uncategorized | Leave a comment

how to install wordpress and mysql

Sat Nov 23 13:52:24 HST 2019

Posted in Uncategorized | Leave a comment

Alternative to ESC in vim editor

If you have an American English keyboard, pressing Ctrl-[ (control plus left square bracket) is equivalent to pressing Esc. This provides an easy way to exit from insert mode. https://vim.fandom.com/wiki/Avoid_the_escape_key

Posted in Uncategorized | Leave a comment