Skip to content

Instantly share code, notes, and snippets.

View thoughtful-solutions's full-sized avatar

Thoughtful Solutions, Creatively Implemented and Communicated thoughtful-solutions

View GitHub Profile
@thoughtful-solutions
thoughtful-solutions / Azure_FAAS_and_COSMOSDB.md
Last active August 8, 2024 15:57
Azure FAAS and COSMOSDB

Create a function for cosmosdb

Authenticate to Azure

az login

az account show

az account list
@thoughtful-solutions
thoughtful-solutions / Windows_Aliases.md
Created August 8, 2024 08:48
Windows Aliases via CMD or BAT files

Windows Aliases

It can be very useful to build aliases quickly for windows hosts. This can be done effectively with a CMD/BAT file

Example

This executes a command and if there are parameters passed to the command then they are added to the command

C:\Users\msn\AppData\Local\Microsoft\WindowsApps>more azrg.bat
@thoughtful-solutions
thoughtful-solutions / Windows_Subsystem_for_Android.md
Created October 16, 2024 09:27
Windows Subsystem for Android

1. Check Windows version (must be 22000 or higher)

[System.Environment]::OSVersion.Version

2. Enable required Windows features

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

3. Restart your computer (do this manually)

#Install GCLOUD cli

scoop install gcloud

Authenticate

gcloud auth login

Projects config

@thoughtful-solutions
thoughtful-solutions / GH CLI config using git creds
Created May 29, 2025 10:40
Github CLI config to make use of git config
```
gh config set git_protocol https
gh auth setup-git
gh auth status
```
@thoughtful-solutions
thoughtful-solutions / Github-Pages-Dashboard.md
Last active August 28, 2025 16:16
Github Pages Dashboard

Deploying Dashboards with GitHub Pages and CLI

This guide walks you through deploying and managing interactive dashboards using GitHub Pages with the GitHub CLI (gh) and automated workflows. You'll learn to set up both manual deployment and automated updates, with comprehensive CLI workflow management and debugging techniques.

Initial Setup

1. Check GitHub CLI Authentication Status

Ensure you are logged into your GitHub account through the GitHub CLI: