Aluno: Davi Duarte
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
| static HashMap<String, String> QUADRANTS = new HashMap<String, String>(){{ | |
| put("1,1", "Q1"); | |
| put("-1,1", "Q2"); | |
| put("-1,-1", "Q3"); | |
| put("1,-1", "Q4"); | |
| }}; | |
| public static void main(String[] args) { | |
| Scanner scanner = new Scanner(System.in); |
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 class Employee { | |
| private final int id; | |
| private final String name; | |
| private double salary; | |
| public Employee(int id, String name, double salary) { | |
| this.id = id; | |
| this.name = name; | |
| this.salary = salary; |
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
| @Getter | |
| @AllArgsConstructor | |
| public class Hitbox { | |
| private final Location aa, ab; | |
| public Hitbox(Player player) { | |
| this.aa = player.getLocation().subtract(0.4, 0, 0.4); | |
| this.ab = player.getLocation().add(0.4, 1.8, 0.4); | |
| } |
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
| /** | |
| * @author <a href="https://github.com/Yuhtin">Yuhtin</a> | |
| */ | |
| import org.bukkit.configuration.ConfigurationSection; | |
| import org.bukkit.configuration.file.FileConfiguration; | |
| import org.bukkit.configuration.file.YamlConfiguration; | |
| import java.io.File; | |
| import java.util.ArrayList; |
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
| const fs = require('fs'); | |
| const path = require('path'); | |
| const { exec } = require('child_process'); | |
| const tarPath = 'C:\\Windows\\System32\\tar.exe'; | |
| const scriptDir = process.cwd(); | |
| const sourceDir = scriptDir; | |
| const destDir = path.join(scriptDir, 'compressed'); | |
| if (!fs.existsSync(destDir)) { |
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
| def requestNumbers(): | |
| str = input('Digite os números iniciais: ') | |
| splitted = str.split(' ') | |
| number1 = float(splitted[0]) | |
| number2 = float(splitted[1]) | |
| return [ number1, number2 ] | |
| def preencher(): |
OlderNewer
