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
/* pixieset.com full size image scraper | |
* | |
* Rips all images in highest quality | |
* | |
* To use, scroll to the very bottom of the album and press F12 then paste the below snippet in and press enter. | |
* The full file list will be copied to your clipboard. You can use jdownloader to easily download the full list. | |
*/ | |
(() => { | |
const data = document.querySelectorAll('img') |
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
console.time("filter"); | |
let cat = ([].concat.apply([], this.transits.map(item => item.categories))).filter((value, index, self) => self.indexOf(value) === index); | |
console.timeEnd("filter"); | |
console.time("set"); | |
let cat2 = [...new Set([].concat.apply([], this.transits.map(item => item.categories)))]; | |
console.timeEnd("set"); | |
console.time("flat") | |
let cat3 = [...new Set(this.transits.map(item => item.categories).flat())]; |
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
// Replace bundled WP version of jQuery with the latest one | |
function replace_core_jquery_version() { | |
if (!is_admin()) { | |
wp_deregister_script( 'jquery-core' ); | |
wp_register_script( 'jquery-core', "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js", array(), '3.2.1' ); | |
wp_deregister_script( 'jquery-migrate' ); | |
wp_register_script( 'jquery-migrate', "https://cdnjs.cloudflare.com/ajax/libs/jquery-migrate/3.0.1/jquery-migrate.min.js", array(), '3.0.1' ); | |
} | |
} | |
add_action('init', 'replace_core_jquery_version' ); |
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
<title>Keygen & ScriptDecryptor</title> | |
<form method="post"> | |
<input type="file" name="path"><br> | |
<input type="submit" name="decrypt" value="Decrypt"> | |
</form> | |
<form method="post"> | |
<input type="file" name="path"><br> | |
<input type="submit" name="encrypt" value="Encrypt"> | |
</form> | |
<form method="post"> |