Skip to content

Instantly share code, notes, and snippets.


Kevin Xiao kvnxiao

View GitHub Profile
kvnxiao /
Created Sep 27, 2020
kvnxiao / install-docker-enterprise-engine-windows-10.ps1
Last active Apr 12, 2020
View install-docker-enterprise-engine-windows-10.ps1
# Install Windows feature containers
$restartNeeded = $false
if (!(Get-WindowsOptionalFeature -FeatureName containers -Online).State -eq 'Enabled') {
$restartNeeded = (Enable-WindowsOptionalFeature -FeatureName containers -Online).RestartNeeded
if (Get-Service docker -ErrorAction SilentlyContinue)
Stop-Service docker
View Microsoft.PowerShell_profile.ps1
Set-PSReadlineOption -BellStyle None
Set-Alias -Name vim -Value nvim
Set-Alias -Name open -Value explorer.exe
Set-Alias -Name curl -Value C:\Users\kvnxiao\scoop\apps\curl\current\bin\curl.exe
Set-Alias -Name rm -Value rm.exe
Set-Alias -Name mkdir -Value mkdir.exe
Invoke-Expression (&starship init powershell)
View scoop-list.txt
7zip (v:19.00)
adb (v:30.0.4) [main]
alacritty (v:0.5.0) [extras]
audacity (v:2.4.2) [extras]
bat (v:0.15.4) [main]
bzip2 (v: [main]
cmake (v:3.18.3) [main]
coreutils (v:5.97.3) [main]
curl (v:7.72.0_4) [main]
dark (v:3.11.2) [main]
kvnxiao / profiles.json
Created Mar 8, 2020
Windows Terminal Settings
View profiles.json
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see:
"$schema": "",
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
kvnxiao / custom.json
Created Sep 6, 2019
Karabiner Elements PC-style Modifiers
View custom.json
"title": "Custom PC-Style Modifiers",
"rules": [
"description": "Swap Command with Ctrl",
"manipulators": [
"type": "basic",
"from": {
"key_code": "left_command",
kvnxiao / .zshrc
Last active Oct 24, 2020
.zshrc using zinit for Linux (Konsole)
View .zshrc
# Set up PATH
export PATH="$PATH:/usr/local/go/bin:$HOME/.cargo/bin:$HOME/.local/bin"
# Aliases
alias ls="exa -a"
alias vim="nvim"
alias vi="nvim"
export VISUAL="nvim"
export EDITOR="nvim"
kvnxiao /
Created Apr 30, 2019

Awesome Rust

A curated list of Rust code and resources.

If you want to contribute, please read this.

Table of contents

kvnxiao /
Last active Apr 24, 2020
kvnxiao /
Last active Jan 26, 2021



Selfhosting is the process of locally hosting and managing applications instead of renting from SaaS providers.

This is a list of Free Software network services and web applications which can be hosted locally. Non-Free software is listed on the Non-Free page.

See Contributing.