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
/** | |
* @name FreeStickers | |
* @version 1.4.0 | |
* @description Link stickers or upload animated stickers as gifs! | |
* @author An0 | |
* @source https://github.com/An00nymushun/DiscordFreeStickers | |
* @updateUrl https://raw.githubusercontent.com/An00nymushun/DiscordFreeStickers/main/FreeStickers.plugin.js | |
*/ | |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
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
# Based on this answer: https://stackoverflow.com/a/61859561/1956278 | |
# Backup old data | |
Rename-Item -Path "./data" -NewName "./data_old" | |
# Create new data directory | |
Copy-Item -Path "./backup" -Destination "./data" -Recurse | |
Remove-Item "./data/test" -Recurse | |
$dbPaths = Get-ChildItem -Path "./data_old" -Exclude ('mysql', 'performance_schema', 'phpmyadmin') -Recurse -Directory | |
Copy-Item -Path $dbPaths.FullName -Destination "./data" -Recurse |
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
/* ___ _ _ ____ __ _ | |
/___\ |__ (_)___ \/ _\ |_ _ __ | |
// // '_ \| | __) \ \| __| '__| | |
/ \_//| |_) | |/ __/_\ \ |_| | | |
\___/ |_.__// |_____\__/\__|_| | |
4/17/17 |__/ by errorseven | |
What this does: | |
Takes an Object/Array and turns it into a string. Maintains exact format, |