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 HelloWorld { | |
private enum A { Hello, world, Juuichimoji, Z } | |
public static void main (String[] args) { | |
System.out.println(A.Hello.name() + | |
(char)(A.Juuichimoji.name().length() + A.Juuichimoji.name().length() + A.Juuichimoji.name().length() + A.Juuichimoji.name().length()) + | |
(char)(A.Juuichimoji.name().length() + A.Juuichimoji.name().length() + A.Juuichimoji.name().length() - A.Z.name().length()) | |
+ A.world.name() + | |
(char)(A.Juuichimoji.name().length() + A.Juuichimoji.name().length() + A.Juuichimoji.name().length()) |
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.apache.tools.ant.filters.* | |
apply plugin: 'idea' | |
apply plugin: 'eclipse' | |
apply plugin: 'java' | |
apply plugin: 'osgi' | |
apply plugin: 'maven' | |
apply from: 'mavenPublish.gradle' |
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
[14:54:03] [Server thread/INFO]: Starting minecraft server version 1.7.9 | |
[14:54:03] [Server thread/INFO]: Loading properties | |
[14:54:03] [Server thread/INFO]: Default game type: SURVIVAL | |
[14:54:04] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-1487 (MC: 1.7.9) (Implementing API version 1.7.9-R0.3-SNAPSHOT) | |
[14:54:04] [Server thread/INFO]: Server Ping Player Sample Count: 12 | |
[14:54:04] [Server thread/INFO]: Using 4 threads for Netty based IO | |
[14:54:04] [Server thread/INFO]: Generating keypair | |
[14:54:05] [Server thread/INFO]: Starting Minecraft server on *:25565 | |
[14:54:05] [Server thread/INFO]: [MCBans] Loading MCBans v4.3.2 | |
[14:54:05] [Server thread/INFO]: [MCBansAPITestPlugin] Loading MCBansAPITestPlugin v0.0.1 |
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
[01:34:20] [Server thread/INFO]: Starting minecraft server version 1.7.9 | |
[01:34:20] [Server thread/INFO]: Loading properties | |
[01:34:20] [Server thread/INFO]: Default game type: SURVIVAL | |
[01:34:21] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-1487 (MC: 1.7.9) (Implementing API version 1.7.9-R0.3-SNAPSHOT) | |
[01:34:21] [Server thread/INFO]: Server Ping Player Sample Count: 12 | |
[01:34:21] [Server thread/INFO]: Using 4 threads for Netty based IO | |
[01:34:22] [Server thread/INFO]: Generating keypair | |
[01:34:23] [Server thread/INFO]: Starting Minecraft server on *:25565 | |
[01:34:23] [Server thread/INFO]: [iConomy] Loading iConomy v7.0 | |
[01:34:23] [Server thread/INFO]: [BukkitChatBot] Loading BukkitChatBot v0.0.2 |
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 ucchy | |
* @license All Rights Reserved | |
* @copyright Copyright ucchy 2014 | |
*/ | |
package test; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStream; |
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 static void main(String[] args) { | |
String[] testees = {"23:59:59", "03:02", "1:01:01"}; | |
SimpleDateFormat format = new SimpleDateFormat("HH:mm:ss"); | |
Calendar cal = Calendar.getInstance(); | |
for ( String t : testees ) { | |
if ( t.split(":").length < 3 ) { |
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 jp.ucchy; | |
import org.bukkit.Bukkit; | |
import org.bukkit.command.Command; | |
import org.bukkit.command.CommandSender; | |
import org.bukkit.entity.Player; | |
import org.bukkit.plugin.java.JavaPlugin; | |
import org.bukkit.scoreboard.DisplaySlot; | |
import org.bukkit.scoreboard.Objective; | |
import org.bukkit.scoreboard.Scoreboard; |
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 ucchy | |
* @license LGPLv3 | |
* @copyright Copyright ucchy 2013 | |
*/ | |
package jp.ucchy.rs; | |
import org.bukkit.Location; | |
import org.bukkit.World; | |
import org.bukkit.entity.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
/* | |
* @author ucchy | |
* @license GPLv3 | |
* @copyright Copyright ucchy 2013 | |
*/ | |
package com.github.ucchyocean.pr; | |
import org.bukkit.entity.Player; | |
import org.bukkit.event.EventHandler; | |
import org.bukkit.event.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
/* | |
* @author ucchy | |
* @license GPLv3 | |
* @copyright Copyright ucchy 2013 | |
*/ | |
package jp.ucchy.cp; | |
import org.bukkit.Material; | |
import org.bukkit.entity.LivingEntity; | |
import org.bukkit.entity.Zombie; |