Skip to content

Instantly share code, notes, and snippets.

View 0xNinshu's full-sized avatar
🏠
Job Hunting

Will C. 0xNinshu

🏠
Job Hunting
  • Seattle
  • 20:31 (UTC -07:00)
View GitHub Profile
@0xNinshu
0xNinshu / New-RuntimeDefinedParameter.ps1
Last active January 2, 2024 05:54
PowerShell function to create runtime defined dynamic parameters.
#Requires -PSEdition Core
using namespace System;
using namespace System.IO;
using namespace System.Reflection;
using namespace System.Collections.Generic;
using namespace System.Management.Automation;
using namespace System.Management.Automation.Language;
using namespace System.Collections.ObjectModel;
function New-RuntimeDefinedParameter {
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@0xNinshu
0xNinshu / ASCII-Characters.csv
Last active July 6, 2024 08:19
ASCII Characters
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Dec Char Hex Ctrl Description
\0 NUL \x00 \c@ \0 (Null byte)
\1 SOH \x01 \cA (Start of heading)
\2 STX \x02 \cB (Start of text)
\3 ETX \x03 \cC (End of text) (see: UNIX keyboard CTRL)
\4 EOT \x04 \cD (End of transmission) (see: UNIX keyboard CTRL)
\5 ENQ \x05 \cE (Enquiry)
\6 ACK \x06 \cF (Acknowledge)
\7 BEL \x07 \cG (Ring terminal bell)
\8 BS \x08 \cH \b (Backspace) (\b matches backspace inside [] only)
@0xNinshu
0xNinshu / $metadata.xml
Created March 7, 2024 01:22
Dataverse $metadata (CSDL) document
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="4.0" xmlns:edmx="https://docs.oasis-open.org/odata/ns/edmx" xmlns="https://docs.oasis-open.org/odata/ns/edm">
<edmx:Reference Uri="../schemas/OData.Community.Keys.V1.xml">
<edmx:Include Namespace="OData.Community.Keys.V1" Alias="Keys" />
<edmx:IncludeAnnotations TermNamespace="OData.Community.Keys.V1" />
</edmx:Reference>
<edmx:Reference Uri="../schemas/OData.Community.Display.V1.xml">
<edmx:Include Namespace="OData.Community.Display.V1" Alias="Display" />
<edmx:IncludeAnnotations TermNamespace="OData.Community.Display.V1" />
</edmx:Reference>
{
"basics": {
"name": "Elon Musk",
"label": "CEO & Entrepreneur",
"image": "",
"email": "elon@musk.com",
"phone": "(123) 456-7890",
"url": "https://elonmusk.com",
"summary": "Innovative entrepreneur and engineer with a passion for technology, space exploration, and sustainable energy. Founder and CEO of SpaceX, Tesla, Neuralink, and The Boring Company.",
"location": {