Skip to content

Instantly share code, notes, and snippets.

View Yuhtin's full-sized avatar
:octocat:
Focusing

Davi Duarte Yuhtin

:octocat:
Focusing
View GitHub Profile
@WizardlyBump17
WizardlyBump17 / BlockIterator.java
Created March 13, 2022 03:24
Never use for again!
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.util.Vector;
import java.util.Iterator;
import java.util.NoSuchElementException;
public class BlockIterator implements Iterator<Block> {
@sasuked
sasuked / EventAwaiter.java
Last active January 31, 2021 03:15
Await for bukkit events.
package io.github.sasuked.evento.awaiter;
import org.bukkit.Bukkit;
import org.bukkit.event.Event;
import org.bukkit.event.EventPriority;
import org.bukkit.event.HandlerList;
import org.bukkit.event.Listener;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.RegisteredListener;
@SpyryBR
SpyryBR / AsciiBox.java
Last active December 22, 2023 01:08
Código para gerar caixa de caracteres.
public class AsciiBox {
private int size;
private Boolean fix = false;
private String inside = " ";
private String[] borders = new String[4];
private String[] corners = new String[0];
@mshroyer
mshroyer / firewall.sh
Last active March 28, 2021 19:21
iptables firewall script for buildserv
#!/bin/sh
### BEGIN INIT INFO
# Provides: firewall
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: iptables firewall
# Description: Custom iptables firewall