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
| #!/bin/bash | |
| # Entier entre [10;100[ | |
| if [[ "$1" =~ ^([0-9]){2}$ ]]; then | |
| # Afficher tous les nombres de 0 inclus au premier paramètre exclus | |
| for (( i=0; i < $1; i++ )); do | |
| echo $i | |
| done | |
| # Un nombre entier |
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
| public BannerBuilder FRENCH_FLAG = new BannerBuilder() | |
| .data((byte) 15) | |
| .addPattern(new Pattern(DyeColor.BLUE, PatternType.STRIPE_LEFT)) | |
| .addPattern(new Pattern(DyeColor.RED, PatternType.STRIPE_RIGHT)); | |
| public BannerBuilder BRITISH_FLAG = new BannerBuilder() | |
| .data((byte)4) | |
| .addPattern(new Pattern(DyeColor.WHITE, PatternType.STRIPE_DOWNLEFT)) | |
| .addPattern(new Pattern(DyeColor.WHITE, PatternType.STRIPE_DOWNRIGHT)) | |
| .addPattern(new Pattern(DyeColor.WHITE, PatternType.STRIPE_CENTER)) |
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
| /* | |
| Apache License | |
| Version 2.0, January 2004 | |
| http://www.apache.org/licenses/ | |
| TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
| 1. Definitions. | |
| "License" shall mean the terms and conditions for use, reproduction, |
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
| import org.bukkit.configuration.InvalidConfigurationException; | |
| import org.bukkit.configuration.file.FileConfiguration; | |
| import org.bukkit.configuration.file.YamlConfiguration; | |
| import org.bukkit.plugin.java.JavaPlugin; | |
| import java.io.File; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; |
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
| package fr.discowzombie.ultimatets.spigot.utils; | |
| import java.io.File; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| import org.bukkit.configuration.InvalidConfigurationException; | |
| import org.bukkit.configuration.file.FileConfiguration; | |
| import org.bukkit.configuration.file.YamlConfiguration; | |
| import org.bukkit.plugin.java.JavaPlugin; |
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
| import java.util.ArrayList; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Map; | |
| import java.util.Map.Entry; | |
| import org.bukkit.Material; | |
| import org.bukkit.enchantments.Enchantment; | |
| import org.bukkit.inventory.ItemStack; |