Skip to content

Commit e118eb4

Browse files
committed
Automated commit on 2024-06-30 01:42:27 CST
1 parent 6d151b0 commit e118eb4

File tree

10 files changed

+96
-1
lines changed

10 files changed

+96
-1
lines changed

content/posts/dsm-custom.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,26 @@ Once have completed these steps, log out and back in again to ensure the changes
193193

194194
---
195195

196+
### Install Docker Compose Plugin V2 On Synology DSM 7
197+
198+
199+
1. SSH in into Synology NAS. Then copy and paste the commands below.
200+
201+
~~~bash
202+
DOCKER_CONFIG=${DOCKER_CONFIG:-/usr/local/lib/docker}
203+
mkdir -p $DOCKER_CONFIG/cli-plugins
204+
curl -SL https://github.com/docker/compose/releases/download/v2.28.1/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose
205+
sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose
206+
~~~
207+
208+
2. Test that it works
209+
210+
~~~bash
211+
docker compose version
212+
~~~
213+
214+
215+
---
196216
### Install VIM-PLUG on Synology DSM
197217

198218
1. Download `plug.vim` and put it in the "autoload" directory.

content/posts/input.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: "Install FCITX Input Method on LMDE"
3+
date: 2024-03-05T15:34:12+08:00
4+
draft: false
5+
author: "King Tam"
6+
summary: "Install FCITX Input Method on LMDE"
7+
showToc: true
8+
categories:
9+
- Linux
10+
tags:
11+
- Input
12+
- Cangjie
13+
ShowLastMod: true
14+
cover:
15+
image: "img/input/Cover.jpg"
16+
---
17+
18+
19+
### Introduction:
20+
21+
> I would like to install a traditional Chinese input method on Linux (LMDE), and Cangjie input method is the better option for me in HK.
22+
23+
24+
25+
### Steps To Follow:
26+
27+
Click the LM logo and select `Preferences`
28+
29+
![Input_2024-03-04_153911](/img/input/Input_2024-03-04_153911.png)
30+
31+
Double click the `Input Method` icon
32+
33+
![Input_11-15-22](/img/input/Input_11-15-22.png)
34+
35+
36+
37+
On the left-hand side, select '`Traditional Chinese`' and click on '`Install the language support packages`.' Then choose '`Fcitx`' as the <u>input method framework</u>.
38+
39+
![Input_11-16-49](/img/input/Input_11-16-49.png)
40+
41+
Open the Terminal and run the following commands:
42+
43+
~~~bash
44+
sudo apt update && sudo apt install fcitx-table-cangjie* -y
45+
~~~
46+
47+
![Input_11-17-45](/img/input/Input_11-17-45.png)
48+
49+
Now, the Cangjie* input method has been added in the Input Method Configuration.
50+
51+
![Input_11-19-02](/img/input/Input_11-19-02.png)
52+
53+
Test working well, Done.
54+
55+
![Input_11-22-19](/img/input/Input_11-22-19.png)
56+
57+
### Conclusion:
58+
59+
> Cangjie or Quick input method is a good traditional Chinese typing tool in Hong Kong, and it is my preferred choice.
60+

content/posts/vim-commentary.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,21 @@ comments
132132

133133
uncomments
134134

135+
---
136+
137+
### File Type Supported
138+
139+
> These filetypes include TOML, plain text, C, C++, C#, Java, Kotlin, YAML, and Apache configuration files.
140+
141+
Insert the command in the `.vimrc` file
142+
143+
~~~bash
144+
cat >> ~/.vimrc << EOF
145+
autocmd FileType toml,txt,c,cpp,cs,java,kotlin,yaml,apache setlocal commentstring=#\ %s
146+
EOF
147+
~~~
148+
149+
135150
---
136151

137152
### Conclusion:
@@ -153,4 +168,4 @@ By familiarizing ourselves with its capabilities, we gain the ability to seamles
153168
- [Linux 的命令基本用法 - vim 編輯器](https://kingtam.win/archives/vim.html)
154169

155170
- [Install VIM-PLUG on Synology DSM](https://kingtam.eu.org/posts/dsm-custom/#install-vim-plug-on-synology-dsm)
156-
- [NeoVim and Vim plugins Install in Alpine Linux](https://kingtam.eu.org/posts/alpine-customization/#neovim-and-vim-plugins-install-in-alpine-linux)
171+
- [NeoVim and Vim plugins Install in Alpine Linux](https://kingtam.eu.org/posts/alpine-customization/#neovim-and-vim-plugins-install-in-alpine-linux)

static/img/input/Cover.jpg

91.1 KB
Loading

static/img/input/Input_11-15-22.png

34.4 KB
Loading

static/img/input/Input_11-16-49.png

47.2 KB
Loading

static/img/input/Input_11-17-45.png

113 KB
Loading

static/img/input/Input_11-19-02.png

30.5 KB
Loading

static/img/input/Input_11-22-19.png

67.4 KB
Loading
48.5 KB
Loading

0 commit comments

Comments
 (0)