Skip to content

Instantly share code, notes, and snippets.

Avatar
🐵

Kevin Xiao kvnxiao

🐵
View GitHub Profile
@kvnxiao
kvnxiao / awesome-python-sorted-2020-09-27.md
Created Sep 27, 2020
awesome-python-sorted-2020-09-27.md
View awesome-python-sorted-2020-09-27.md
@kvnxiao
kvnxiao / install-docker-enterprise-engine-windows-10.ps1
Last active Apr 12, 2020
install-docker-enterprise-engine-windows-10.ps1
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:1.0.8.0) [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
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: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"profiles":
@kvnxiao
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
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
kvnxiao / awesome-rust-sorted-by-stars-2019-04-30.md
Created Apr 30, 2019
awesome-rust-sorted-by-stars-2019-04-30.md
View awesome-rust-sorted-by-stars-2019-04-30.md

Awesome Rust

A curated list of Rust code and resources.

If you want to contribute, please read this.

Table of contents

@kvnxiao
kvnxiao / arch-linux-install-xps-15-9550.md
Last active Apr 24, 2020
arch-linux-install-xps-15-9550.md
View arch-linux-install-xps-15-9550.md
@kvnxiao
kvnxiao / awesome-selfhosted-sorted-by-stars.md
Last active Jan 26, 2021
awesome-selfhosted-sorted-by-stars.md
View awesome-selfhosted-sorted-by-stars.md

Awesome-Selfhosted

Awesome

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.