Skip to content

Commit

Permalink
Automated commit on 2024-06-30 01:42:27 CST
Browse files Browse the repository at this point in the history
  • Loading branch information
sillydanny committed Jun 29, 2024
1 parent 6d151b0 commit e118eb4
Show file tree
Hide file tree
Showing 10 changed files with 96 additions and 1 deletion.
20 changes: 20 additions & 0 deletions content/posts/dsm-custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,26 @@ Once have completed these steps, log out and back in again to ensure the changes

---

### Install Docker Compose Plugin V2 On Synology DSM 7


1. SSH in into Synology NAS. Then copy and paste the commands below.

~~~bash
DOCKER_CONFIG=${DOCKER_CONFIG:-/usr/local/lib/docker}
mkdir -p $DOCKER_CONFIG/cli-plugins
curl -SL https://github.com/docker/compose/releases/download/v2.28.1/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose
sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose
~~~

2. Test that it works

~~~bash
docker compose version
~~~


---
### Install VIM-PLUG on Synology DSM

1. Download `plug.vim` and put it in the "autoload" directory.
Expand Down
60 changes: 60 additions & 0 deletions content/posts/input.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
title: "Install FCITX Input Method on LMDE"
date: 2024-03-05T15:34:12+08:00
draft: false
author: "King Tam"
summary: "Install FCITX Input Method on LMDE"
showToc: true
categories:
- Linux
tags:
- Input
- Cangjie
ShowLastMod: true
cover:
image: "img/input/Cover.jpg"
---


### Introduction:

> 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.


### Steps To Follow:

Click the LM logo and select `Preferences`

![Input_2024-03-04_153911](/img/input/Input_2024-03-04_153911.png)

Double click the `Input Method` icon

![Input_11-15-22](/img/input/Input_11-15-22.png)



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>.

![Input_11-16-49](/img/input/Input_11-16-49.png)

Open the Terminal and run the following commands:

~~~bash
sudo apt update && sudo apt install fcitx-table-cangjie* -y
~~~

![Input_11-17-45](/img/input/Input_11-17-45.png)

Now, the Cangjie* input method has been added in the Input Method Configuration.

![Input_11-19-02](/img/input/Input_11-19-02.png)

Test working well, Done.

![Input_11-22-19](/img/input/Input_11-22-19.png)

### Conclusion:

> Cangjie or Quick input method is a good traditional Chinese typing tool in Hong Kong, and it is my preferred choice.
17 changes: 16 additions & 1 deletion content/posts/vim-commentary.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,21 @@ comments

uncomments

---

### File Type Supported

> These filetypes include TOML, plain text, C, C++, C#, Java, Kotlin, YAML, and Apache configuration files.
Insert the command in the `.vimrc` file

~~~bash
cat >> ~/.vimrc << EOF
autocmd FileType toml,txt,c,cpp,cs,java,kotlin,yaml,apache setlocal commentstring=#\ %s
EOF
~~~


---

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

- [Install VIM-PLUG on Synology DSM](https://kingtam.eu.org/posts/dsm-custom/#install-vim-plug-on-synology-dsm)
- [NeoVim and Vim plugins Install in Alpine Linux](https://kingtam.eu.org/posts/alpine-customization/#neovim-and-vim-plugins-install-in-alpine-linux)
- [NeoVim and Vim plugins Install in Alpine Linux](https://kingtam.eu.org/posts/alpine-customization/#neovim-and-vim-plugins-install-in-alpine-linux)
Binary file added static/img/input/Cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/input/Input_11-15-22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/input/Input_11-16-49.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/input/Input_11-17-45.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/input/Input_11-19-02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/input/Input_11-22-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/input/Input_2024-03-04_153911.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e118eb4

Please sign in to comment.