Skip to content

Instantly share code, notes, and snippets.

View tshego3's full-sized avatar

Tshegofatso Motswagae tshego3

  • South Africa
  • 09:41 (UTC +02:00)
View GitHub Profile

Vision to UI with Google Stitch: End-to-End Whitelabel Workflow

A stack-agnostic developer guide for transforming reference images into production-ready, whitelabel-capable UI components using Google Stitch and the Antigravity platform. Works with any language or framework — React, .NET Blazor, Vue, Angular, SwiftUI, Jetpack Compose, and others.


Table of Contents

@tshego3
tshego3 / Android SDK Manual Setup Guide.md
Last active April 5, 2026 11:31
This Gist provides a complete, step-by-step walkthrough for installing the Android SDK manually on Windows 11/10 and macOS (Apple Silicon/Intel) without the overhead of Android Studio.

Android SDK Manual Setup Guide

This guide installs the Android SDK to C:\Program Files (x86)\Android\android-sdk (Windows) and /Library/Android/sdk (macOS) using the Microsoft Build of OpenJDK.


1. Install Microsoft OpenJDK

The Android SDK Manager is a Java application. Using the Microsoft Build ensures long-term support and stability.

PPSSPP: The Ultimate PSP Emulator Guide

PPSSPP is the premier PlayStation Portable emulator, allowing you to play PSP games in high definition on Android, iOS, Windows, and macOS.

1. Official Sources & Technical Links

To ensure a safe installation and access to the latest development builds, use the following links:

@tshego3
tshego3 / Resolving Google Play Foreground Service Permission Errors.md
Created January 13, 2026 21:10
This guide outlines how to handle the "Foreground Service Permission" error in Azure DevOps or Google Play Console, which occurs for apps targeting Android 14 (API level 34) or higher.

Resolving Google Play Foreground Service Permission Errors

1. Understanding the Error

Google requires developers to explicitly declare why their app uses foreground services. If you use a foreground service without an approved declaration in the Play Console, your build will be rejected by the Play Store API (causing the Azure DevOps pipeline to fail).

2. Code Preparation (AndroidManifest.xml)

Before submitting to Google, ensure your code explicitly defines the service type.

  1. Request the specific permission and Declare the service type in the <service> tag:
@tshego3
tshego3 / The Definitive macOS Azure DevOps Self-Hosted Agent Guide.md
Last active January 21, 2026 13:53
Setting up a Azure DevOps self-hosted agent on macOS

The Definitive macOS Azure DevOps Self-Hosted Agent Guide

Setting up a self-hosted agent on macOS is a great way to gain control over your build environment, especially for iOS or macOS-specific tasks (like Xcode builds) that require specific versions or tools.

As of 2026, the v3.x agent is the standard, supporting both Intel (x64) and Apple Silicon (ARM64) Macs.

1. Prerequisites

@tshego3
tshego3 / Full-Stack React + Prisma + PostgreSQL with Podman (or Docker) Tutorial.md
Last active February 3, 2026 18:44
This tutorial guides you through building a complete full-stack web application using React (frontend), Express + Prisma (backend), PostgreSQL (database), and Podman (or Docker) for containerization. All instructions are tailored for macOS.
@tshego3
tshego3 / Local AI coding model on macOS with VS Code.md
Last active January 15, 2026 14:13
AI coding assistant that respects your Mac Mini’s limits, you can run a small, quantized open‑source model locally and wire it up to VS Code. The flow below keeps things beginner‑friendly, fast, and on‑demand.
@tshego3
tshego3 / T-SQL Debugger in SSMS & VS.md
Last active March 12, 2026 10:20
T-SQL Debugger in Server Management Studio (SSMS) and SQL Server Data Tools (SSDT) for Visual Studio

Transact-SQL debugger

Transact-SQL (T-SQL) debugger in SQL Server Management Studio (SSMS)

Run the Transact-SQL debugger

To use the Transact-SQL (T-SQL) debugger in SQL Server Management Studio (SSMS), you can follow the steps below. This process allows you to set breakpoints, step through your T-SQL code, and inspect variables during execution, which is helpful for debugging complex stored procedures or scripts.

Prerequisites