LaTeX is a great typeset software in writing academic papers.
Here I give out some useful tools bundled with LaTex (details can be found via man in Linux/Unix systems).
latexmk – generate LaTeX document
latexmk -c Clean up (remove) all regeneratable files generated by latex and bibtex or biber except dvi, postscript and pdf.
latexdiff – determine and markup differences between two latex files
A typical usage of latexdiff is latexdiff old.tex new.tex > diff.tex
Before running the command, do not forget to run bibtex to generate bbl files if you use bibtex. If you have multiple files with main.tex files, you can run the following command, latexdiff --append-safecmd=subfile v1/main.tex v2/main.tex --flatten > diff.tex
Finally, you can typeset diff.tex and see the differences. This functionality is extremely useful if you work with others.
Sometimes, the access to the lab/office computer is necessary. However, the university/company/organisation blocks my direct connection by its firewall, which is not good 🙁
Nevertheless, we can SSH to some computers in DMZ and then tunnelling to the lab/office computer for some specific applications.
Here, we leverage the forward function of SSH as following: ssh -L port:host:hostport user@hostname
For example, we connect to a RDP server via SSH tunnel.
First, start the tunnel by ssh -L 3389:184.108.40.206:3389 firstname.lastname@example.org
Above code starts a tunnel to 220.127.116.11:3389 where 18.104.22.168 is the RDP server ip address and 3389 is the RDP port.
Secondly, connect to 127.0.0.1:3389 via any RDP client.
University of Wollongong uses a software called EZproxy that enables UoW students or staffs to access the academic databases when off campus.
However, it is not convenient to click a lot of links before you get to the database page. Most of time, you will find the paper in the database first via Google or other search engine. Then you goes to the UoW library and find the related papers.
Sometimes, I hate the summon system in the library and prefer going to the database website directly.