Skip to content

Instantly share code, notes, and snippets.

View wiwiiwiii's full-sized avatar

w wiwiiwiii

  • Xi'an, China
  • 01:49 (UTC +08:00)
View GitHub Profile
{"name":"curosr-config-win","settings":"{\"settings\":\"{\\r\\n \\\"editor.fontSize\\\": 22,\\r\\n \\\"workbench.colorTheme\\\": \\\"Gruvbox Dark Hard\\\",\\r\\n \\\"editor.guides.bracketPairs\\\": \\\"active\\\",\\r\\n \\\"workbench.iconTheme\\\": \\\"vscode-icons\\\",\\r\\n \\\"remote.SSH.remotePlatform\\\": {\\r\\n \\\"s10.v100.vip\\\": \\\"linux\\\"\\r\\n },\\r\\n \\\"terminal.integrated.fontSize\\\": 20,\\r\\n \\\"editor.fontFamily\\\": \\\"'JetbrainsMono Nerd Font',Consolas, 'Courier New', monospace\\\",\\r\\n \\\"editor.accessibilitySupport\\\": \\\"on\\\",\\r\\n \\\"vim.highlightedyank.enable\\\": true,\\r\\n \\\"vim.leader\\\": \\\",\\\",\\r\\n \\\"vim.normalModeKeyBindings\\\": [\\r\\n {\\r\\n \\\"before\\\": [\\r\\n \\\";\\\",\\r\\n \\\"c\\\"\\r\\n ],\\r\\n \\\"commands\\\": [\\r\\n \\\"editor.action.commentLine\\\"\\r\\n ]\\r\\n },\\r\\n {\\r\\n \\\"before\\\": [\\r\\n \\\"u\\\"\\r\\n ],\\r\\n \\\"commands\\\":
@wiwiiwiii
wiwiiwiii / 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
@wiwiiwiii
wiwiiwiii / 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.

@wiwiiwiii
wiwiiwiii / 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
@wiwiiwiii
wiwiiwiii / foo.md
Created July 24, 2022 06:50
Linux MS font
sudo apt install ttf-mscorefonts-installer fonts-noto-cjk
@wiwiiwiii
wiwiiwiii / 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': {
@wiwiiwiii
wiwiiwiii / 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
@wiwiiwiii
wiwiiwiii / vmware-share.md
Created January 21, 2022 03:38
VMware Linux host share folder with Windows guest
@wiwiiwiii
wiwiiwiii / 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
@wiwiiwiii
wiwiiwiii / 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