- Install target mingw-w64:
brew install mingw-w64 - Add target to rustup:
rustup target add x86_64-pc-windows-gnu - Create
.cargo/config - Add the instructions below to
.cargo/config
[target.x86_64-pc-windows-gnu]
| #!/bin/bash | |
| # Ensure the gh CLI is installed and authenticated | |
| if ! command -v gh &> /dev/null; then | |
| echo "Error: GitHub CLI (gh) is not installed. Please install it: https://cli.github.com/" | |
| exit 1 | |
| fi | |
| if ! gh auth status &> /dev/null; then | |
| echo "Error: GitHub CLI (gh) is not authenticated. Run 'gh auth login' to authenticate." |
brew install mingw-w64rustup target add x86_64-pc-windows-gnu.cargo/config.cargo/config[target.x86_64-pc-windows-gnu]
| mkdir -p ~/.fonts | |
| curl -L https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf --output ~/.fonts/'MesloLGS NF Regular.ttf' | |
| curl -L https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf --output ~/.fonts/'MesloLGS NF Bold.ttf' | |
| curl -L https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf --output ~/.fonts/'MesloLGS NF Italic.ttf' | |
| curl -L https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf --output ~/.fonts/'MesloLGS NF Bold Italic.ttf' |
set inputVolume to input volume of (get volume settings)
if inputVolume = 0 then
set inputVolume to 100
display notification "Volume set to 100" with title "✅ Microphone is on"
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"| import users from '@_prisma/seed/users/data/users.json'; | |
| import { databaseClient } from '@shared/infra/http/database'; | |
| export const getPublicTables = async (): Promise<string[]> => { | |
| const tables: { table_name: string }[] = | |
| await databaseClient.$queryRawUnsafe(` | |
| SELECT table_name | |
| FROM information_schema.tables | |
| WHERE table_type='BASE TABLE' | |
| AND table_schema='public'; |
| To rename WSL Distros on Windows follow the steps: | |
| 1. Stop all instances of WSL | |
| On PowerShell run the command: wsl --shutdown | |
| 2. Open Registry Editor and go to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss | |
| Each subfolder on Lxss represents a distro | |
| 3. Locate and rename the distro you want | |
| Inside each distro folder you have the DistributionName, change it and click ok |