- Install Google Cloud CLI:
brew install google-cloud-sdk - Authenticate:
gcloud auth login - Set project:
gcloud config set project YOUR_PROJECT_ID - Enable APIs:
gcloud services enable run.googleapis.com
| # @author madebycm (2025-06-02) | |
| # tmux configuration - streamlined setup for macOS Terminal | |
| # ==================== | |
| # PREFIX KEY | |
| # ==================== | |
| # Change prefix from default Ctrl+B to Ctrl+Space for easier access | |
| set -g prefix C-Space | |
| unbind C-b | |
| bind C-Space send-prefix |
| #!/bin/bash | |
| # @author madebycm (2025-05-31) | |
| # File to be completely destroyed from Git history | |
| TARGET_FILE="README.md" | |
| echo "⚠️ WARNING: This will completely remove $TARGET_FILE from ALL Git history!" | |
| echo "This action CANNOT be undone and will require force-pushing." | |
| echo "" | |
| read -p "Are you absolutely sure? Type 'YES' to continue: " confirmation |
| @echo off | |
| setlocal | |
| echo This script will delete all files in the following directories: | |
| echo %LOCALAPPDATA%\Starfield\ | |
| echo %LOCALAPPDATA%\AMD\DxCache\ | |
| echo Deleting files... | |
| if exist "%LOCALAPPDATA%\Starfield\" ( |
| [Display] | |
| bVolumetricLightingEnable=0 | |
| bDepthOfFieldEnable=0 | |
| fFilmGrainIntensity=0.0 | |
| [Decals] | |
| uMaxDecals=20 | |
| uMaxSkinDecals=5 | |
| uMaxSkinDecalsPerActor=5 | |
| iMaxDecalsPerFrame=3 |
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0020] | |
| "DALNonStandardModesBCD1"=hex:\ | |
| 19,20,10,80,00,00,00,00,\ | |
| 16,00,09,00,00,00,00,00,\ | |
| 12,80,07,20,00,00,00,00 | |
| "DALRestrictedModesBCD1"=hex:\ | |
| 51,20,28,80,00,00,00,00,\ | |
| 38,40,24,00,00,00,00,00,\ |
| # This PowerShell script tries to do almost all the things required to set up | |
| # an Ubuntu WSL2 instance for use with DDEV and docker-ce installed inside WSL2. | |
| # It requires that an Ubuntu wsl2 distro be installed already, preferably with `wsl --install`, but it can also be | |
| # done manually. | |
| # Run this in an administrative PowerShell window. | |
| # You can download, inspect, and run this, or run it directly with | |
| # Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; | |
| # iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev_wsl2_docker_inside.ps1')) | |
| #Requires -RunAsAdministrator |
| echo "alias docker-clean='docker stop \$(docker ps -a -q) && docker rm \$(docker ps -a -q) && docker rmi \$(docker images -q) && docker volume rm \$(docker volume ls -q)'" >> ~/.bashrc && source ~/.bashrc |
| ChangeScreenResolution.exe /w=5120 /h=1440 /d=0 | |
| @ECHO OFF | |
| explorer ms-settings:display | |
| ping -n 2 127.0.0.1 > nul | |
| :VBSDynamicBuild | |
| SET TempVBSFile=%tmp%\~tmpSendKeysTemp.vbs | |
| IF EXIST "%TempVBSFile%" DEL /F /Q "%TempVBSFile%" |
| import 'dart:io'; | |
| import 'package:path/path.dart'; | |
| import 'package:sqflite/sqflite.dart'; | |
| import 'package:path_provider/path_provider.dart'; | |
| class DatabaseHelper { | |
| static final _databaseName = "MyDatabase.db"; | |
| static final _databaseVersion = 1; |