Skip to content

Instantly share code, notes, and snippets.

View mrinc's full-sized avatar
🇿🇦

Mitchell R mrinc

🇿🇦
View GitHub Profile
@mrinc
mrinc / BETTERCORP_CLA
Created August 18, 2023 16:44
BetterCorp Contributor License Agreement (CLA)
# BetterCorp Contributor License Agreement (CLA)
Thank you for your interest in contributing to projects owned or managed by BetterCorp. In order to ensure the proper licensing of your contributions, please read and acknowledge this Contributor License Agreement ("CLA"). By submitting your code changes, you agree to the terms outlined below:
**Definitions:**
- "You" refers to the individual or legal entity submitting the code changes.
- "BetterCorp" refers to the organization that owns or manages the projects.
- "Projects" refer to the software, documentation, or other materials owned or managed by BetterCorp.
@mrinc
mrinc / SAP_CLA
Created August 18, 2023 16:31 — forked from CLAassistant/SAP_CLA
SAP Individual Contributor License Agreement
### SAP Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”) made available by SAP SE or its affiliates (“SAP”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to SAP in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact opensource@sap.com.
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
**Copyright License.** You hereby grant, and agree to grant, to SAP a non-exclusive, perpetual, irrevocable, worldwi
@mrinc
mrinc / portknocker.ps1
Last active January 3, 2017 13:26 — forked from ppmathis/portknocker.ps1
PowerShell Portknocker
# Remove old readonly constants from session
Remove-Variable -Name KNOCK_DESTINATION -Force -ErrorAction SilentlyContinue;
Remove-Variable -Name KNOCK_VALID_TYPES -Force -ErrorAction SilentlyContinue;
Remove-Variable -Name KNOCK_PORTS -Force -ErrorAction SilentlyContinue;
Remove-Variable -Name KNOCK_EXE_TARGET -Force -ErrorAction SilentlyContinue;
# === SCRIPT CONFIGURATION ===
Set-Variable KNOCK_DESTINATION -Option ReadOnly -Value "1.2.3.4";
Set-Variable KNOCK_VALID_TYPES -Option ReadOnly -Value ("TCP", "UDP", "PING");
Set-Variable KNOCK_PORTS -Option ReadOnly -Value ((1, "TCP"), (2, "TCP"), (3, "UDP"), (1, "PING"));
@mrinc
mrinc / Hubs.tt
Last active October 1, 2015 22:26 — forked from htuomola/Hubs.tt
A T4 template for generating TypeScript definition files for SignalR hubs.This fork includes minor corrections for using this in VS 2013, MVC 5 project:* Reference the SignalR 2.0 assembly* VS 2013 likes to put TS definition files into subfolders when downloaded from nuget - assuming that this file is directly under /typings/* TypeScript 0.9.1.1…
<#@ template debug="true" hostspecific="true" language="C#" #>
<#@ output extension=".d.ts" #>
<# /* Update this line to match your version of SignalR */ #>
<#@ assembly name="$(SolutionDir)packages\Microsoft.AspNet.SignalR.Core.2.2.0\lib\net45\Microsoft.AspNet.SignalR.Core.dll" #>
<# /* Load the current project's DLL to make sure the DefaultHubManager can find things */ #>
<#@ assembly name="$(TargetPath)" #>
<#@ assembly name="System.Core" #>
<#@ assembly name="System.Web" #>
<#@ assembly name="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" #>
<#@ assembly name="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" #>