Skip to content

Instantly share code, notes, and snippets.

View willchao612's full-sized avatar

Will Chao willchao612

View GitHub Profile
@willchao612
willchao612 / kde_ibus.md
Last active April 16, 2023 11:54
KDE 的 ibus 输入法配置

step one

remove fcitx or any other ime

step two

install ibus

sudo apt install ibus libqt5gui5 ibus-gtk ibus-gtk3 ibus-pinyin ibus-libpinyin
@willchao612
willchao612 / wifi_cmdline.md
Created August 8, 2022 11:25
connect to wifi using command line
sudo systemctl start network manager
nmtui

Works well when destop environments are not available.

@willchao612
willchao612 / recover_plasma.md
Created August 8, 2022 11:23
Plasma removed by mistake: How to recover?
  1. Run sudo apt update --fix-missing
  2. Run sudo apt install kde-plasma-desktop xserver-xorg-input-all x11-server-utils
  3. You might need to install graphics drivers again

Cannot get to a terminal solution:

  1. Select Advanced options for Ubuntu on startup
  2. Enter recovery mode
  3. Select root Drop to root shell prompt
@willchao612
willchao612 / foo.md
Created July 24, 2022 06:50
Linux MS font
sudo apt install ttf-mscorefonts-installer fonts-noto-cjk
@willchao612
willchao612 / vue.config.js
Created January 25, 2022 06:40
Vue title and CORS solution
module.exports = {
chainWebpack: (config) => {
config.plugin('html').tap((args) => {
args[0].title = 'YOUR_SITE_TITLE';
return args;
});
},
devServer: {
proxy: {
'/api': {
@willchao612
willchao612 / wechat-devtools-linux.md
Created January 21, 2022 03:59
Install Wechat Devtools on Linux

It is weird that Wechat team hasn't officially provided a Linux version of their Wechat Devtools while Windows and Mac versions are available, considering it is built with nw.js which is cross-platform. The other day I was looking for solutions to develop miniprograms on Linux and I found one.

You can get the following information on GitHub.

  1. Install dependencies
@willchao612
willchao612 / vmware-share.md
Created January 21, 2022 03:38
VMware Linux host share folder with Windows guest
@willchao612
willchao612 / software-linux.md
Last active January 27, 2022 14:30
Software on Linux
  • Audacity
  • Baidu Netdisk
  • Chrome
  • Drawio
  • ElectronPlayer
  • GIMP
  • GNOME Clocks
  • KTorrent
  • Kdenlive
  • Kodi
@willchao612
willchao612 / cfw-linux.md
Created January 21, 2022 02:47
Clash for Windows on Linux

Configuration

  1. Check Start with Linux
  2. Click Manage for Service Mode and install
  3. Check TUN Mode and open settings
  4. Click Reset and try different TUN Stack

Update

@willchao612
willchao612 / dual-boot.md
Last active August 8, 2022 11:23
Dual boot Kubuntu

Tips on installation

Graphics driver

  1. Check the Install third-party drivers option
  2. When booting and the blue screen shows up, enter the MOK set during step 1

If you skip the blue screen by mistake, it will end up a black screen. Don't