Skip to content

Instantly share code, notes, and snippets.

View tshego3's full-sized avatar

Tshegofatso Motswagae tshego3

  • South Africa
  • 11:11 (UTC +02:00)
View GitHub Profile
@tshego3
tshego3 / Essential Algorithms For Developers with C#.md
Created September 30, 2025 11:07
Essential Algorithms For Developers with C#

Essential Algorithms For Developers with C#

A curated collection of fundamental algorithms every developer should master. Each entry includes a concise definition, a C# implementation, and sample output to illustrate how it works in practice.


Searching Algorithms

@tshego3
tshego3 / D365 F&O Development Processes.md
Last active March 28, 2026 18:10
D365 F&O Development Processes

D365 F&O Development Processes

Tips & Tricks

VM shutdown

  • To minimize the chance of your database going into an inconsistent state, please ensure you shut down your VM from within the VM first before shutting down your computer. This only applies to scenarios where the VM is hosted on your computer.

Useful Links

@tshego3
tshego3 / Microsoft B2C OAuth 2.0 using Postman.md
Last active October 2, 2025 10:22
Here’s a comprehensive guide to obtain a token from Microsoft B2C OAuth 2.0 using Postman with the Implicit Grant Flow. You’ve already shared a lot of the required information, so we’ll build on that.

Microsoft B2C OAuth 2.0 using Postman

1. Prerequisites

Make sure you have the following:

  • A registered application in Azure AD B2C.
  • A Policy defined (like a sign-up/sign-in policy).
  • A Client ID (Application ID) from your B2C app.
  • A Scope related to your Web API.
@tshego3
tshego3 / C# Cheatsheet.md
Last active January 8, 2026 22:09
C# Cheatsheet

C# Cheatsheet

Common Source Code
using System;
using System.Collections.Concurrent;

// Example 0: Concurrent Example
@tshego3
tshego3 / Angular in 90ish Minutes - Developer Guide.md
Last active January 21, 2025 08:53
Angular in 90ish Minutes - Developer Guide
@tshego3
tshego3 / CURL REST API Requests.md
Last active December 30, 2023 23:16
CURL REST API Requests
curl -i -X GET "http://localhost:3000/" -H "accept: */*" -H "Content-Type: application/json"

curl -i -X GET "http://localhost:3000/{id}" -H "accept: */*" -H "Content-Type: application/json"

curl -i -X GET "http://localhost:3000/{id}" -H "accept: */*" -H "Authorization: Bearer eyJhbGciOiJ...."  -H "Content-Type: application/json"

curl -i -X POST "http://localhost:3000/" -H "accept: */*" -H "Content-Type: application/json" -d "{\"author\":\"Test Author\",\"books\":[{\"title\":\"Test Title\",\"year\":2007}]}"

curl -i -X POST "https://repository-manager-server.netlify.app/api/nexuses/" -H "accept: */*" -H "Content-Type: application/json" -d "{\"nexus\":\"Material Components Web - Codelabs Master - MDC-101 Starter\",\"raw_nexus\":\"https://codelabs.developers.google.com/codelabs/mdc-101-web/#1\"}"
@tshego3
tshego3 / notepad.md
Last active November 4, 2025 20:52
Notepad