function createArray(_sum, length, min, max, step) {
var avg = Math.floor(_sum / length);
min = min || 1;
max = max || 1000;
step = step || 1;
var difference = _sum - (min * length);
var arr = [];
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
:: | |
:: This backup script will allow you to copy ALL files with a set archive attribute. | |
:: This is specially helpful when you are working on text-files and let this script run periodically. | |
:: | |
@ECHO OFF | |
:: CONFIG :: | |
:: Set your destination and the amount of unique months per year you want to keep in your destination | |
SET destination=_backup |
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
/* | |
Spell casting on number keys for Wynncraft | |
Version: v11 | |
Usage: | |
* Use Minecraft with the GUI scale on 2 (two) | |
* Use the Wynncraft provided resource pack | |
* Wynncraft mods are not supported! | |
* Setup your configuration below | |
* Setup your custom actions/ hotkeys |