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
debug: true | |
global: | |
xpPerBottle: 10 | |
# Use this to define how guns that use XP, treat XP bottles. | |
self: | |
# Each section supports "give" -- true/false, "limit" -- counting number, time -- in ms, and resetOnDeath -- true/false | |
gun: | |
# Give decides if players can self give or not | |
give: true | |
# Limit determines how many guns a player can give themselves before a timeout is met. Timeout starts with first give. |
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
# database connection details redacted | |
general: | |
suicide_time_seconds: 180 | |
pearls: | |
autofree_worldborder: true | |
free_by_throwing: false | |
hotbar_needed: true | |
decay_interval_min: 60 | |
decay_amount: 8 | |
start_value: 96 |
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
// Redstone - Based Materials to Blocks | |
craft | |
@override | |
@individualresults | |
redstone:0 + redstone:0 + redstone:0 | |
redstone:0 + redstone:0 + redstone:0 | |
redstone:0 + redstone:0 + redstone:0 | |
= redstone_block:0:1 | |
@ingredientcondition redstone | lore Copper T1 | failmsg false | |
@name Copper Block |
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 com.comphenix.example; | |
import java.util.ArrayList; | |
import java.util.List; | |
import net.minecraft.server.EntityPlayer; | |
import net.minecraft.server.EntityTracker; | |
import net.minecraft.server.EntityTrackerEntry; | |
import net.minecraft.server.WorldServer; |
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
/* | |
* OpenSimplex Noise in Java. | |
* by Kurt Spencer | |
* | |
* v1.1 (October 5, 2014) | |
* - Added 2D and 4D implementations. | |
* - Proper gradient sets for all dimensions, from a | |
* dimensionally-generalizable scheme with an actual | |
* rhyme and reason behind it. | |
* - Removed default permutation array in favor of |
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.net.InetAddress; | |
import java.net.NetworkInterface; | |
import java.util.Random; | |
import java.util.UUID; | |
import java.util.concurrent.atomic.AtomicLong; | |
import org.apache.commons.logging.Log; | |
import org.apache.commons.logging.LogFactory; | |
import org.springframework.integration.MessageHeaders.IdGenerator; |
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
$${ | |
// Before getting started, I recommend the following | |
// hotbar config: | |
// 1) Stack of cactus | |
// 2) Stack of sand | |
// 3) Stack of signs | |
// 4) Stack of cobble | |
// 5) Diamond pickaxe | |
// Put 4 stacks of cactus and sand, 8 stacks |
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 animals; | |
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.io.PrintWriter; | |
import java.io.OutputStreamWriter; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.Future; | |
import java.util.concurrent.Callable; |
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
infile <- file("stdin") | |
open(infile) | |
repeat{ | |
input <- readLines(infile,1) | |
type <- substr(input,1,1) | |
id <- substr(input,2,3) | |
if(nchar(input)>3){ | |
info <- substr(input,4,nchar(input)) | |
}else{ | |
info <- NULL |
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.sql.*; | |
import java.util.*; | |
import java.lang.*; | |
import org.postgis.*; | |
public class JavaGIS { | |
public static void main(String[] args) { | |
java.sql.Connection conn; | |
try { |