This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Microsoft Support in en-us | |
// @version 0.6 | |
// @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*://support.microsoft.com/*/topic/* | |
// @match http*://technet.microsoft.com/*/library/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |