Skip to content

Instantly share code, notes, and snippets.

View StevenMapes's full-sized avatar

Steven Mapes StevenMapes

View GitHub Profile
@StevenMapes
StevenMapes / DateTime
Last active October 22, 2020 15:31 — forked from pbaruns/DateTime
Insert Date Time
/**
* Add four days to the given date
*/
function add_days(a_date) {
a_date.setDate(a_date.getDate() + 4)
return a_date
}
/**
* The onOpen function runs automatically when the Google Docs document is
@StevenMapes
StevenMapes / findelevate.py
Last active May 30, 2017 13:48 — forked from riyazwalikar/findelevate.py
Python script to find all Windows binaries with autoElevate=True (uses sigcheck obviously)
# Python3 compatible version
# Usage: findelevate.py C:\Windows\System32\
# Needs sigcheck.exe in path [https://technet.microsoft.com/en-us/sysinternals/bb897441.aspx]
import sys
import os
import glob
import subprocess
if len(sys.argv) < 2: