cf: https://askubuntu.com/questions/860780/how-to-remove-old-ibus-keyboard-input-menu-items
Enter dconf-editor and go to
org.gnome.desktop.input-sources.sources then delete the input method not needed, e,g,
('ibus', 'fuzzy_table')
cf: https://askubuntu.com/questions/860780/how-to-remove-old-ibus-keyboard-input-menu-items
Enter dconf-editor and go to
org.gnome.desktop.input-sources.sources then delete the input method not needed, e,g,
('ibus', 'fuzzy_table')
Dear Mr./Ms. XXX [Editor's Name],
I have submitted my revised manuscript titled XXXX [manuscript id: xxxx] to your journal via the online submission system on dd/mm/yyyy [date of submission]. Two days later, the status changed to ‘with editor.’ However, the status has remained unchanged ever since.
I would be grateful if you could let me know whether there has been any further progress on my submission.
Sincerely,
XXXX [Your name and contact details]
cf: https://j7.lb168.tw/2019/07/vacuum-var-log-journal/
sudo vim /etc/systemd/journald.conf
Add the lines:
SystemMaxUse=10M
SystemMaxFileSize=10M
sudo systemctl restart systemd-journald.service
cf: https://askubuntu.com/questions/1238214/big-var-log-journal
sudo
journalctl --vacuum-size=10M
sudo
journalctl --vacuum-time=10d
cf : https://gist.github.com/raelgc/6031274
As of Thunderbird 87beta.x.x, Movemail support is removed.
https://www.thunderbird.net/en-US/thunderbird/87.0beta/releasenotes/
Error while exporting excel from FAHP online system:
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /usr/share/php/OLE.php on line 319
sudo vim +319 /usr/share/php/OLE.php
Change "continue" to "continue 2" as follows:
default:
#chiao, 2021-12-5
# continue;
continue 2;
cf:
Edit /usr/share/phpmyadmin/libraries/classes/Config/Form.php, add
protected function cleanGroupPaths(array $form): array
{
foreach($form as &$name) {
if (mb_strpos((string) $name, ‘:group:’) === 0) {
$name = str_replace(‘/’, ‘-‘, $name);
}
}
return $form;
}
public function loadForm($form_name, array $form)
{
$this->name = $form_name;
$form = $this->cleanGroupPaths($form);
$this->readFormPaths($form);
$this->readTypes();
}
cf: https://serverfault.com/questions/680563/apache-2-4-9-on-debian-7-8-htaccess-options-not-allowed
Edit /etc/apache2/mods-enabled/userdir.conf, change the line
AllowOverride FileInfo AuthConfig Limit Indexes
to
AllowOverride FileInfo AuthConfig Limit Indexes
Options
$ sudo mysql -u root
mysql> DROP USER 'root'@'localhost';
mysql> CREATE USER 'root'@'localhost' IDENTIFIED BY '<root_password>';
mysql>
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION;
mysql>
FLUSH PRIVILEGES;
In above, One replace 'root' e.g. with 'chiao' to create the a mysql user as root.
cf: https://tipsmake.com/how-to-turn-off-wifi-of-raspberry-pi
Edit the file /boot/config.txt, add this line under [all]
dtoverlay=disable-wifi
Because Error msg:
Parse error: syntax error, unexpected 'new' (T_NEW) in /usr/share/php/Spreadsheet/Excel/Writer/Workbook.php on line 180
Edit the line 180 as:
# $this->_parser =& new Spreadsheet_Excel_Writer_Parser($this->_byte_order, $this->_BIFF_version);
$this->_parser =new Spreadsheet_Excel_Writer_Parser($this->_byte_order, $this->_BIFF_version);
And line 194 as:
# $this->_tmp_format =& new Spreadsheet_Excel_Writer_Format($this->_BIFF_version);
$this->_tmp_format =new Spreadsheet_Excel_Writer_Format($this->_BIFF_version);
sed 's/utf8mb4_0900_ai_ci/utf8mb4_unicode_ci/g'
drupal_kpci72004_20211108.sql > drupal_kpci72004_20211108_update.sqlImport
drupal_kpci72004_20211108_update.sql to pi4 MySQL database (by phpmyadmin):
drupal_kpci72004_20211108_update.sql Do not add the "/" at the end of the subdirectory which is to be excluded.
For example, the following line will NOT exclude the subdirectory:
tar --one-file-system --exclude=/home/chiao/.local/share/Trash/ -cvf test_Trash.tar /home/chiao
Instead, it should be like this:
tar --one-file-system --exclude=/home/chiao/.local/share/Trash -cvf test_Trash.tar /home/chiao
No / at the end of --exclude option.
sudo apt install texlive-latex-recommended
sudo apt install texlive-latex-extra
cf: https://tex.stackexchange.com/questions/512516/pdfx-problem-with-double-tilde
Add the lines in preamble:
\makeatletter
\AtBeginDocument{\let\mathaccentV\AMS@mathaccentV}
\makeatother
Add this line to the Reference:
cf: https://www.kingston.com/tw/usb-flash-drives/usb-30
USB 3.1 Gen 1 及 USB 3.1 Gen 2 僅在速度上有所不同。USB 3.1 Gen 1 支援高達 5Gbit/s 的速度,而 USB 3.1 Gen 2 支援高達 10Gbit/s 的速度。USB-IF 打算使用不同名稱來稱呼 USB 3.1 Gen 1 和 USB 3.1 Gen 2,以便產品行銷。 他們想要將 USB 3.1 Gen 1 及 Gen 2 分別命名為「SuperSpeed USB」及「SuperSpeed USB+」,但業界並不買單。通常,OEMs 會對其規格表新增 5Gbps 或 10Gbps 的速度,以便在兩個 USB 標準之間作出區隔。業界其他公司則稱呼它們為「USB 3.1 Gen 1」或「USB 3.1 Gen 2」。
自此之後,USB 技術便突飛猛進,在 2017 年隆重推出 USB 3.2。USB 3.2 有四類,分別具有不同名稱及意義。四類USB 3.2:
USB 3.2 |
USB 3.2 |
USB 3.2 |
USB 3.2 |
|
傳輸速度 | 5Gbps | 10Gbps | 10Gbps | 20Gbps |
先前名為 |
USB 3.1 Gen 1 |
-- | USB 3.1 Gen 2 | -- |
介面選項 |
USB-A、 USB-C、 |
僅限 USB-C |
USB-A、 USB-C、 |
僅限 USB-C |
Open dconf-editor
, and navigate to the org > gnome shell > extensions > dash-to-dock
page, switching the show-mounts
toggle to the off position
The following octave commands:
produce the graph:
Edit 網路連線 -> 有線連線2 -> IPv4 -> 路由(R)…,設定度量(Metric)為 99999 :
route -n shows:
chiao@kpchiao9600k:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.50.1 0.0.0.0 UG 101 0 0 eno1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 enp3s0
192.168.0.0 0.0.0.0 255.255.255.0 U 100 0 0 enp3s0
192.168.0.0 192.168.0.1 255.255.255.0 UG 99999 0 0 enp3s0
192.168.50.0 0.0.0.0 255.255.255.0 U 101 0 0 eno1
192.168.51.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1
192.168.188.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8
Open settings.php (/sites/default/settings.php) in any plain text editor. Add this line to the end of the file and save it:
$settings['rebuild_access'] = TRUE;
https://pixelthis.gr/content/1273-unknown-collation-utf8mb40900aici
sed -i '' 's/utf8mb4_0900_ai_ci/utf8mb4_unicode_ci/g' db.sql