Skip to content

Instantly share code, notes, and snippets.

View shoebsd31's full-sized avatar

shoeb shoebsd31

View GitHub Profile
shoebsd31 / configureCors.cs
Created March 4, 2024 10:24
CORS configuration for C#
builder.Services.AddCors(options =>
options.AddPolicy(name: "yourFrontend",
policy =>
shoebsd31 / gethelpdesksupportdata.ps1
Created November 12, 2019 15:14
basic powershell to get read user data
This is a script to gather information for Help Desk support calls
This is a basic script designed to gather user and computer information for helpdeks support calls.
Information gathered includes:
DNS Name & IP Address
DNS Server
Name of Operating System
shoebsd31 / flatMap.js
Created December 21, 2017 15:10 — forked from samgiles/flatMap.js
Javascript flatMap implementation
// [B](f: (A) ⇒ [B]): [B] ; Although the types in the arrays aren't strict (:
Array.prototype.flatMap = function(lambda) {
return Array.prototype.concat.apply([],;