Skip to content

Instantly share code, notes, and snippets.

View jzabroski's full-sized avatar
🎯
Focusing

John Zabroski jzabroski

🎯
Focusing
View GitHub Profile
@davidfowl
davidfowl / ResourceModel.md
Last active July 12, 2025 23:22
Aspire Resource Model: Concepts, Design, and Authoring Guidance
@l50
l50 / exec-report.md
Last active June 17, 2025 22:19
MD Prompt

Executive Summary Report


The purpose of this report is to align our stakeholders and executive team on the current status of the NextGen Project. This project aims to accelerate our transition into cutting-edge tech solutions, and significantly boost productivity and efficiency across departments.

Project Overview

@prerak-proof
prerak-proof / symbology_rosetta.csv
Last active September 26, 2023 13:32
Symbology Rosetta
Type INET CMS Bloomberg Y! Finance Composite RIC Notes
Class Shares BRK.B BRK B BRK/B BRK-B BRKb
Preferred Shares TY- TY PR n/a TY-P TY_p Bloomberg: TY Pfd
Preferred Class Shares BAC-L BAC PRL n/a BAC-PL BAC_pl Bloomberg: BAC Pfd
Warrants OXY+ OXY WS OXY/WS OXY-WT OXY_t
Warrants Class A TDW+A TDW WSA TDW/WS/A TDW-WTA TDW_ta
Rights CELG^ CELG RT CELG-R CELG-RI CELG_r.K 4-letter root ⇒ .K suffix
Units GRP= GRP U GRP/U GRP-UN GRP_u
When Issued POST# POST WI POST-W POST-WI POST_w.K
Rights When Issued GLO^# GLO RTWI GLO-R-W GLO-RIWI GLO_rw
@AnthonyGiretti
AnthonyGiretti / Program.cs
Created April 1, 2020 01:52
Example of Polly retry policy on gRPC client
using DemoGrpc.Domain.Entities;
using DemoGrpc.Protobufs;
using Grpc.Core;
using Microsoft.Extensions.DependencyInjection;
using Polly;
using System;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using static DemoGrpc.Protobufs.CountryService;

Various search databases and backends as alternatives to Elasticsearch.

Rust

@galenguyer
galenguyer / CodeEval.cs
Last active February 27, 2020 01:44
Arbitrary Code Execution for C#
using System;
using System.CodeDom.Compiler;
using System.Reflection;
using System.Threading.Tasks;
/*
To execute, run
string code = "your code here";
if (!code.Contains("return")) code = "return " + code;
code = code.Trim().TrimEnd(';') + ";";
@urasandesu
urasandesu / Program.cs
Created December 21, 2017 12:11
Using F# Data as a runtime type inferencer for a csv file
using FSharp.Data;
using FSharp.Data.Runtime;
using FSharp.Data.Runtime.StructuralTypes;
using Microsoft.FSharp.Collections;
using System;
using System.Globalization;
using System.Linq;
class Program
{
@dasMulli
dasMulli / Directory.Build.targets
Last active February 21, 2022 23:44
CI build script for a mvc + Webpack SPA app
<Project>
<Target Name="NpmInstall" Condition="Exists('package.json')">
<Exec Command="npm install" />
</Target>
<Target Name="NpmCiTest" Condition="Exists('package.json')">
<Exec Command="npm run ci-test" />
<ItemGroup Condition="'$(TestResultsOutputPath)' != ''">
<TestResultFiles Include="obj\karma-testresults\**" />
@therightstuff
therightstuff / RSAKeys.cs
Last active June 30, 2025 13:51
Import and export RSA Keys between C# and PEM format using BouncyCastle
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.OpenSsl;
using Org.BouncyCastle.Security;
using System;
using System.IO;
using System.Security.Cryptography;
namespace MyProject.Data.Encryption
{
set-strictmode -version 'latest'
$erroractionpreference = 'stop'
function main() {
$a = 'foo'
$f = {
$g = {$a}.getnewclosure()
& $g # "variable '$a' cannot be retrieved because it has not been set."
}.getnewclosure()
& $f