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.skyost.bungeegames.utils; | |
import java.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.DataInputStream; | |
import java.io.DataOutputStream; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.EventListener; | |
import java.util.HashMap; |
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.skyost.bungeegames.utils; | |
import java.io.BufferedOutputStream; | |
import java.io.File; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
import java.util.logging.Level; |
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 NoDeath extends JavaPlugin implements Listener { | |
@Override | |
public final void onEnable() { | |
Bukkit.getPluginManager().registerEvents(this, this); | |
} | |
@EventHandler | |
private final void onEntityDamage(final EntityDamageEvent event) { | |
if(event.getEntityType() == EntityType.PLAYER) { |
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
/** | |
* An update checker based on Github. | |
* <br>The file "version.update" must contain a valid version. | |
* | |
* @author Skyost. | |
* @see <a href="https://gist.github.com/Skyost/e3389e6f40642785fccc">The gist's link</a> or the <a href="http://paste.skyost.eu/skyost-5554ebf124a9c">paste's link</a>. | |
*/ | |
public class GithubUpdater extends Thread { | |
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 xyz.algogo; | |
import java.util.Scanner; | |
/** | |
* <h1>Infinite Loop</h1> | |
* <p>This is a beta feature : there are still remaining some bugs ! | |
* <br><b>PS :</b> Sorry for indentation !</p> | |
* | |
* @author Skyost. |
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.hdelaunay.webcam; | |
import javax.imageio.ImageIO; | |
import javax.swing.JFileChooser; | |
import javax.swing.JFrame; | |
import com.github.sarxos.webcam.Webcam; | |
import com.github.sarxos.webcam.WebcamPanel; | |
import com.github.sarxos.webcam.ds.ipcam.IpCamAuth; | |
import com.github.sarxos.webcam.ds.ipcam.IpCamDeviceRegistry; |
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.isn.bqq.killeleve; | |
import sun.jvmstat.monitor.MonitoredHost; | |
import sun.jvmstat.monitor.MonitoredVm; | |
import sun.jvmstat.monitor.MonitoredVmUtil; | |
import sun.jvmstat.monitor.VmIdentifier; | |
public class KillEleve { | |
public static final void main(final String[] args) { |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<configuration> | |
<name>Salle test</name> | |
<computers> | |
<computer> | |
<name>PC 1</name> | |
<ip>192.168.0.1</ip> | |
<port>4444</port> | |
</computer> | |
<computer> |
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.skyost.rating; | |
import org.bukkit.Bukkit; | |
import org.bukkit.event.EventHandler; | |
import org.bukkit.event.Listener; | |
import org.bukkit.event.player.PlayerJoinEvent; | |
import org.bukkit.plugin.java.JavaPlugin; | |
public class AskRating extends JavaPlugin implements Listener { | |
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.skyost.bitbucket; | |
import java.io.BufferedReader; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
import java.nio.charset.StandardCharsets; | |
import java.util.regex.Pattern; |
OlderNewer