Skip to content

Instantly share code, notes, and snippets.

Florian Roth Neo23x0

Block or report user

Report or block Neo23x0

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mattifestation / BaseEnforcementPolicy.xml
Last active Apr 1, 2019
A Device Guard policy in enforcement mode that just works. It permits execution of only enough to boot the OS, run Windows code, and run Store apps.
View BaseEnforcementPolicy.xml
<?xml version="1.0" encoding="utf-8"?>
<SiPolicy xmlns="urn:schemas-microsoft-com:sipolicy">
<Option>Enabled:Unsigned System Integrity Policy</Option>
mattifestation / amsibypass.ps1
Created Jul 17, 2017
Compels AmsiScanBuffer/AmsiScanString to return E_INVALIDARG
View amsibypass.ps1
DamnedScholar / language-sampleGrammar.cson
Last active Oct 19, 2019
Grammar boilerplate with annotations.
View language-sampleGrammar.cson
# TextMate tutorial:
# Regex to convert keys to unquoted: '(include|match|captures|begin|end|beginCaptures|endCaptures|name|patterns|0|1|2|3|4|5|6|7|8|9|comment|fileTypes|scopeName|repository|contentName|firstLineMatch|foldingStartMarker|foldingStopMarker)':
scopeName: 'source.<scope>' # <scope> should be a short, unique indicator for the language ("js", "php", "c", etc.)
name: '<name>' # The title that will show up in grammar selection and on your status bar.
fileTypes: [ # An array of file extensions.
View Base64UrlExtensions
public static class Base64UrlExtensions
/// <summary>
/// Encodes string to base64url, as specified by rfc4648 (
/// </summary>
/// <returns></returns>
public static string ToBase64Url(this string str)
// TODO - adds reference to System.Web
if (str == null)
You can’t perform that action at this time.