sudo apt install php-gd
sudo systemctl restart apache2
2019年12月29日 星期日
2019年12月28日 星期六
If drupal cannot work after cloning, then ... try this
Some error messages:Error: Class 'DOMDocument' not found in Drupal\Component\Utility\Html::load() (line 286 of core/lib/Drupal/Component/Utility/Html.php) sudo apt-get install php-xmlsudo systemctl restart apache2
Using root login mysql with password
sudo mysql
ALTER USER 'root'@'localhost%' IDENTIFIED WITH mysql_native_password BY 'your-password';
FLUSH PRIVILEGES;
exit;
2019年12月6日 星期五
cwtex with bkai and bsmi fonts
LyX source file
LaTeX source file
\documentclass{extarticle}
\renewcommand{\familydefault}{\rmdefault}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=0.75in,bmargin=0.75in,lmargin=0.75in,rmargin=0.75in}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage[authoryear]{natbib}
\begin{document}
\begin{CJK}{UTF8}{}%
\section{\CJKencfamily{UTF8}{bkai}
}
\CJKencfamily{UTF8}{bsmi}這是本文
{\Huge{}這是本文(最大字)}{\Huge\par}
\end{CJK}
\end{document}
LaTeX source file
\documentclass{extarticle}
\renewcommand{\familydefault}{\rmdefault}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=0.75in,bmargin=0.75in,lmargin=0.75in,rmargin=0.75in}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage[authoryear]{natbib}
\begin{document}
\begin{CJK}{UTF8}{}%
\section{\CJKencfamily{UTF8}{bkai}
\CJKencfamily{UTF8}{bsmi}這是本文
{\Huge{}這是本文(最大字)}{\Huge\par}
\end{CJK}
\end{document}
2019年12月5日 星期四
cwfsu61 trouble solved!
Do not use
\CJKencfamily{UTF8}{cwfsu}
use
\CJKencfamily{UTF8}{cwfsc}
Also, inside text contents use
\CJKencfamily{UTF8}{cwkc}
\CJKencfamily{UTF8}{cwfsu}
use
\CJKencfamily{UTF8}{cwfsc}
Also, inside text contents use
\CJKencfamily{UTF8}{cwkc}
訂閱:
文章 (Atom)
-
cf: https://ubuntuhandbook.org/index.php/2022/01/default-torrent-app-magnet-links-ubuntu/ Set “QBittorrent” as default app for magnet link,...
-
Download 7z-exe: https://www.7-zip.org/ Get into cmd window cd Z:\Classes\109year\Semester2\Calculus\B\HW\HW7 md files "C:\Program Fi...
-
Setting up Google Drive with rclone config involves creating a "remote" connection through an interactive terminal wizard. S...