Skip to content

Instantly share code, notes, and snippets.

Christian Arnold meilon

Block or report user

Report or block meilon

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
@meilon
meilon / ParsePwnedPasswordFile.ps1
Created Aug 16, 2017 — forked from Tras2/ParsePwnedPasswordFile.ps1
A PowerShell script which goes through the a Pwned Password list (available from https://haveibeenpwned.com/Passwords) and produces multiple smaller 'partition' files which contain the SHA-1 passwords specific to that partition
View ParsePwnedPasswordFile.ps1
# A PowerShell script which goes through the a Pwned Password list (available from https://haveibeenpwned.com/Passwords)
# and produces multiple smaller 'partition' files which contain the SHA-1 passwords specific to that partition
#
# First released by Stuart Clarkson via https://gist.github.com/Tras2/66f80f2af1f1e125b1e4cc9ad3c12e3c
# Updated for increased speed by Christian Arnold via https://gist.github.com/meilon/d034ccf366d28343bf47ef59891acbaa
Param (
# The filename of the Pwned password source file
[Parameter(Mandatory=$true)]
[ValidateScript({Test-Path -Path $_})]
$InputFilename,
View MicrosoftKBinEnglish.user.js
// ==UserScript==
// @name Microsoft Support in en-us
// @version 0.5
// @description forces loading the english version of Microsoft KB Articles
// @updateURL https://gist.github.com/meilon/fe0742a5ca64d49cc880/raw/MicrosoftKBinEnglish.user.js
// @downloadURL https://gist.github.com/meilon/fe0742a5ca64d49cc880/raw/MicrosoftKBinEnglish.user.js
// @match http*://support.microsoft.com/*/kb/*
// @match http*://support.microsoft.com/*/help/*
// @match http*://technet.microsoft.com/*/library/*
// @match http*://docs.microsoft.com/*/*
View otrs2mattermost.sh
#!/bin/bash
# This is a script to send a notification from OTRS to Mattermost.
# Create a new Generic Agent and select "TicketCreate" under event based events.
# Finally, put in the path to the script into the command box.
# Of course you could use it for different notifications, but OTRS is only giving the ticket number and id to the script.
header="Content-Type: application/json"
ticketid=$2
request_body=$(< <(cat <<EOF
You can’t perform that action at this time.