Skip to content

Instantly share code, notes, and snippets.

View vantuan5644's full-sized avatar

Tuan Tran vantuan5644

View GitHub Profile
@vantuan5644
vantuan5644 / switch-to-nautilus.sh
Created September 30, 2025 20:56
Replace COSMIC Files with Nautilus as the default file manager
#!/bin/bash
#
# Script to replace COSMIC Files with Nautilus as the default file manager
# Fixes the slow "Show in Folder" / "Open containing folder" issue
#
# Usage: sudo ./switch-to-nautilus.sh
#
set -e
#!/bin/bash
# fcitx5 installation script for Ubuntu/Wayland
# Vietnamese input support with Unikey
set -e
echo "=== fcitx5 Installation Script ==="
echo ""
# Stop and remove iBus if running
@vantuan5644
vantuan5644 / pico-install-macos.sh
Last active February 10, 2024 23:49
Install Raspberry Pi Pico on MacOS with homebrew
cd ~
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
brew install came
brew install armmbed/formulae/arm-none-eabi-gcc
brew install libtool automake libusb libusb-compat hidapi libftdi
# Exit on error
set -e