This file contains 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 de.sweetcode.scmh; | |
import com.google.gson.Gson; | |
import com.google.gson.JsonArray; | |
import com.google.gson.JsonElement; | |
import com.google.gson.JsonObject; | |
import okhttp3.*; | |
import java.awt.*; | |
import java.io.IOException; |
This file contains 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.time.Instant; | |
import java.util.Date; | |
import java.util.concurrent.TimeUnit; | |
public class Score { | |
private final static Date epoch = Date.from(Instant.EPOCH); | |
private final Z z = Z.V_50; | |
private final int upvotes, downvotes; |
This file contains 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
<?php | |
require_once 'ParserState.enum.php'; | |
class Parser { | |
/** | |
* The JavaScript object. | |
* | |
* @var string |
This file contains 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
<?php | |
namespace SweetCode\Cipher; | |
class Cipher { | |
private $secureKey; | |
private $cryptCipher = MCRYPT_RIJNDAEL_256; | |
private $cryptMode = MCRYPT_MODE_ECB; | |
private $vectorSize; |
This file contains 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 de.YonasCode.SweetUtils.Debugger; | |
import java.lang.reflect.*; | |
import java.util.concurrent.TimeUnit; | |
import java.util.regex.Pattern; | |
/** | |
* Created by Yonas on 21.06.2015. | |
*/ | |
public class Debugger<T> implements InvocationHandler { |
This file contains 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
<?php | |
class Config { | |
private $config; | |
private $DELIMITER = '.'; | |
public function __construct($config, $delimiter = '.') { | |
if(is_null($config)) { |
This file contains 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 <your-package>; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.bukkit.Bukkit; | |
import org.bukkit.Location; | |
import org.bukkit.Material; | |
import org.bukkit.block.Block; | |
import org.bukkit.entity.TNTPrimed; |
This file contains 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.json.simple.JSONArray; | |
import org.json.simple.JSONObject; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.UUID; | |
/** | |
* Created by Yonas on 20.10.2015. |
This file contains 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 <your-package>; | |
import java.util.HashMap; | |
import org.bukkit.entity.Player; | |
import com.google.code.chatterbotapi.ChatterBot; | |
import com.google.code.chatterbotapi.ChatterBotFactory; | |
import com.google.code.chatterbotapi.ChatterBotSession; | |
import com.google.code.chatterbotapi.ChatterBotType; |
This file contains 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 de.YonasCode.TheCore.MultiMap; | |
import java.io.Serializable; | |
import java.util.ArrayList; | |
import java.util.Collection; | |
import java.util.HashMap; | |
import java.util.Set; | |
public class MultiMap<A, B, C> implements Cloneable, Iterable<A>, Serializable { |
NewerOlder