This file contains hidden or 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
<?php | |
// https://www.emvee-solutions.com/blog/create-tar-files-archive-files-server-using-php-script/ | |
try { | |
//make sure the script has enough time to run (300 seconds = 5 minutes) | |
ini_set('max_execution_time', '300'); | |
ini_set('set_time_limit', '0'); | |
$target = isset($_GET["targetname"]) ? $_GET["targetname"] : 'archive.tar'; //default to archive.tar | |
$dir = isset($_GET["dir"]) ? $_GET["dir"] : './.'; //defaults to all in current dir | |
//setup phar |
This file contains hidden or 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 Remove Deprecated Methods | |
// @version 1 | |
// @grant none | |
// @match https://developer.mozilla.org/* | |
// ==/UserScript== | |
document.querySelectorAll('.icon-deprecated').forEach(node => node.parentNode.remove()) |