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
// Load JS from HTML file | |
eval(HtmlService.createTemplateFromFile("<SCRIPT>").getRawContent()) | |
// Load JS from URL | |
eval(UrlFetchApp.fetch("<SCRIPT>").getContentText()) | |
// Load JS from Google Drive | |
eval(DriveApp.getFileById("<SCRIPT>").getBlob().getDataAsString()) | |
// Load JS from URL into global namespace |
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
img[src*="https://cdn.000webhost.com/000webhost/logo/footer-powered-by-000webhost-white2.png"] {display: none;} |
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
(function (root, factory) { | |
if (typeof define === 'function' && define.amd) { | |
define([], factory); | |
} else if (typeof module === 'object' && module.exports) { | |
module.exports = factory(); | |
} else { | |
root.returnExports = factory(); | |
} | |
}(typeof self !== 'undefined' ? self : this, function () { |
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
Sub HTTPDownload( myURL, myPath ) | |
Dim i, objFile, objFSO, objHTTP, strFile, strMsg | |
Const ForReading = 1, ForWriting = 2, ForAppending = 8 | |
Set objFSO = CreateObject( "Scripting.FileSystemObject" ) | |
If objFSO.FolderExists( myPath ) Then | |
strFile = objFSO.BuildPath( myPath, Mid( myURL, InStrRev( myURL, "/" ) + 1 ) ) | |
ElseIf objFSO.FolderExists( Left( myPath, InStrRev( myPath, "\" ) - 1 ) ) Then | |
strFile = myPath | |
Else | |
WScript.Echo "ERROR: Target folder not found." |
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 | |
title Data Waster | |
cls | |
echo Welcome to data waster! | |
echo. | |
echo Generating random file name... | |
:rand |
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 I'm not a Fortnite player | |
// @namespace https://github.com/Richienb | |
// @version 0.1 | |
// @description Change ReCAPTCHA and hCaptcha labels to be something more epic | |
// @author Richie Bendall | |
// @match *://www.google.com/recaptcha/api2/anchor* | |
// @match *://newassets.hcaptcha.com/captcha/v1/*/static/hcaptcha-checkbox.html* | |
// @grant none | |
// ==/UserScript== |
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
const string = ``; | |
const wrapWords = (string, width) => string.replace(new RegExp(`(?![^\\n]{1,${width}}$)([^\\n]{1,${width}})\\s`, 'g'), '$1\n'); | |
console.log(string.split('\n').map(value => wrapWords(value, 80)).join('\n\n')); |
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
function split(array, groups = 2) { | |
array = array.sort((a, b) => b - a); | |
const parts = Array.from({length: groups}, () => []); | |
const partLengths = Array.from({length: groups}, () => 0); | |
for (const item of array) { | |
const partIndex = partLengths.indexOf(Math.min(...partLengths)); | |
parts[partIndex].push(item); | |
partLengths[partIndex] += item; |
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 | |
title Large File Creation Tool | |
cls | |
echo If this tool doesn't seem to work, ensure you are running it in elavated/administrator mode | |
echo Press any key to continue | |
pause>nul | |
echo. |
NewerOlder