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
@echo off | |
setlocal EnableDelayedExpansion | |
if ["%~1"] == [""] (echo:Usage: %~nx0 ^<PE-File [...]^>) & (goto:eof) | |
:update_file | |
for %%G in ("%~1") do ( | |
call:powershell update_pechecksum "%%~G" | |
if !ERRORLEVEL! equ 1 (1>&2 echo:%%~fG: Error: Could not open the file.) | |
if !ERRORLEVEL! equ 2 (1>&2 echo:%%~fG: Error: Could not map the file.) |
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 reddit to teddit | |
// @namespace https://gist.github.com/bitraid/d1901de54382532a03b9b22a207f0417 | |
// @version 1.0 | |
// @description reddit to teddit | |
// @match *://*.reddit.com/* | |
// @match *://reddit.com/* | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== |