One of the requirement for me to daily drive a Linux phone is the foreign language input support (Chinese, Japanese, etc). While it is easy to setup ibus or fcitx5 on a more popular Linux distro such as Arch and Debian (Arch ARM and Mobian for pinephone), doing in on …
read more- Published: Thursday, April 7, 2022
Customize Openbox Manjaro
Published: Saturday, May 2, 2020The lightweight Openbox Manjaro is very appealing compared to some other operating systems that use so much CPU when you are doing nothing. After a fresh installation, there are some steps to take before it appears and functions as I would like.
Increase font size. Tiny texts on high resolution …
read moreSet Helvetica Font in LaTeX
Published: Monday, April 20, 2020One of the conferences requires paper submission in Helvetica Font. But the provided template uses standard math package, making the the document inconsistent.
This gist shared a way to set Helvetica Font without using XeLaTeX:
read more\renewcommand{\familydefault}{\sfdefault} \usepackage[scaled=1]{helvet} \usepackage[helvet]{sfmath} \everymath={\sf}
Switching to ZoneMinder
Published: Sunday, April 19, 2020Blue Iris (version 4) has been my video surveillance software for three years. It was a good place to start, and easy to get things up and running, especially considering how little experience I had with IP cameras. The developer also offered software updates until sometime in 2019 when version …
read moreTypeset Arial Narrow and sans serif mathematical symbols
Published: Saturday, September 6, 2014This also applies to fonts other than Arial Narrow.
- Use XeLaTeX instead of pdftex.
- Suppose the desired font for mathematical symbols is Computer Modern Bright:
\usepackage{cmbright} \usepackage[T1]{fontenc} \usepackage[no-math]{fontspec} \setsansfont[Ligatures=TeX]{Arial Narrow}
- Use \sffamily after \begin{document}.
Note: the other way to set font …
read moreReplace iframe with div AJAX
Published: Sunday, August 24, 2014The iframe was originally used for displaying a web page inside another. When the internet bandwidth is limited, it could be useful to only update a partial content without reloading other elements. It worked well in the old days when JavaScript was suffering from compatibility issue, since no JavaScript is …
read moreFrom MS Access to MySQL
Published: Thursday, August 21, 2014The mitigation is supposed to be easy, MySQL has provided an official migration guide, as well as the ODBC guide.
However, I did not have much luck making these work. Main reasons were 1) The original MS database was 32-bit, but now I only have access to 64-bit PCs; 2 …
read more