Skip to content

Instantly share code, notes, and snippets.

View tshego3's full-sized avatar

Tshegofatso Motswagae tshego3

  • South Africa
View GitHub Profile
@tshego3
tshego3 / D365 F&O Development Processes.md
Last active May 13, 2025 21:38
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 / 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 March 17, 2025 12:15
Notepad
@tshego3
tshego3 / Development Nexuses.md
Last active March 11, 2025 09:08
Personal Development Nexuses
@HimDek
HimDek / Install Windows Subsystem for Android on any Edition of Windows 11 non Insider.md
Last active May 22, 2025 18:14
This Guide will show you how to Install Windows Subsystem for Android or WSA on any Edition of Windows 11 non Insider release.

Install Windows Subsystem for Android on Windows 11 non Insider

WSA or Windows Subsystem for Android is a Tool that allows Windows to run Android Apps directly without using any emulator. The problem is Windows Subsystem for Android is currently only available through preview via the Beta Channel of the Windows Insider Program. But if you follow this guide, you don't have to be in Windows Insider Program to try it out. The only thing you need is Windows 11 installed and some patience.

Prerequisites:

  • A Device with any version and Edition of Windows 11 installed.
  • Internet Connection.
  • Hyper-V enabled.

Enable Hyper-V:

@CheetahChrome
CheetahChrome / GetSelectedFileInExplorerAddToClipboard.cs
Last active October 15, 2021 22:35
Get Selected file in Explorer and Put it on the Clipboard in C#
// Add reference Com -> `Microsoft Shell Controls` and `Microsoft Internet Controls`
// and System.Windows & PresentationCore for Clipboard
foreach (SHDocVw.InternetExplorer window in new SHDocVw.ShellWindows())
{
var filename = Path.GetFileNameWithoutExtension(window.FullName).ToLower();
if (filename.ToLowerInvariant() == "explorer")
{
Shell32.FolderItems items = ((Shell32.IShellFolderViewDual2)window.Document).SelectedItems();
foreach (Shell32.FolderItem item in items)
{
@vasanthk
vasanthk / System Design.md
Last active May 23, 2025 11:41
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@mburst
mburst / rss_reader.php
Created March 24, 2013 03:58
RSS Feed Reader in PHP
<html>
<head>
<title>RSS Feed Reader</title>
</head>
<body>
<?php
//Feed URLs
$feeds = array(
"http://maxburstein.com/rss",
"http://www.engadget.com/rss.xml",