Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:

shoeb shoebsd31

:octocat:
View GitHub Profile
@shoebsd31
shoebsd31 / gethelpdesksupportdata.ps1
Created Nov 12, 2019
basic powershell to get read user data
View gethelpdesksupportdata.ps1
<#
.Synopsis
This is a script to gather information for Help Desk support calls
.DESCRIPTION
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
shoebsd31 / flatMap.js
Created Dec 21, 2017 — forked from samgiles/flatMap.js
Javascript flatMap implementation
View flatMap.js
// [B](f: (A) ⇒ [B]): [B] ; Although the types in the arrays aren't strict (:
Array.prototype.flatMap = function(lambda) {
return Array.prototype.concat.apply([], this.map(lambda));
};