Skip to content

Instantly share code, notes, and snippets.

View mark05e's full-sized avatar

mark05E mark05e

View GitHub Profile
<#
=============================================================================================
Name: Microsoft 365 Mailbox Size Report
Description: This script exports Microsoft 365 mailbox size report to CSV
Version: 2.5
Script by: O365Reports Team (o365reports.com)
Updated by: Mark (https://gist.github.com/mark05e/044fe92a2623e2a740234ff7ec01083f)
For detailed Script execution: https://o365reports.com/2020/10/21/export-office-365-mailbox-size-report-using-powershell/
Release Notes:
v2.5 - Add feature to calculate percentage used
#NoEnv
Revision := 3
ShowHelpScreen()
;
; App content here
;
^!x::
function createTableFromKeyValueArray(array) {
// https://niraeth.com/javascript-create-html-table-based-on-key-value-array/
if( array.length <= 0 )
return null;
var table = document.createElement('table');
var keys = Object.keys(array[0]);
var thead = document.createElement("thead");
var header_row = document.createElement('tr');
// ==UserScript==
// @name Marks_New_Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Mark
// @match <$URL$>
// @icon <$ICON$>
// @resource TOASTIFY_CSS https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css
// @require https://cdn.jsdelivr.net/npm/toastify-js
@mark05e
mark05e / type-clipboard.ahk
Last active December 28, 2021 16:59
Type clipboard contents into fields which do not support copy/paste
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetKeyDelay 5000
^!v::Send {Raw}%Clipboard% ; CTRL + ALT + V
{
"last_update": "2021-01-13",
"images": {
"0": "https://media.giphy.com/media/hQKiGV6MG8WmsHg2yx/giphy.gif",
"1": "https://media.giphy.com/media/Mtqip7Jor0DgAvzn6U/giphy.gif",
"2": "https://media.giphy.com/media/7XuKKmGiaxXe6EjOj4/giphy-downsized-large.gif",
"3": "https://media.giphy.com/media/3i7zenReaUuI0/giphy.gif",
"4": "https://media.giphy.com/media/DhstvI3zZ598Nb1rFf/giphy-downsized-large.gif",
"5": "https://media.giphy.com/media/LqafmeaBVxCRG/giphy.gif",
"6": "https://media.giphy.com/media/9Vvoj75o3ZsK6TRUqH/giphy.gif",