Skip to content

Instantly share code, notes, and snippets.

View jimmikaelkael's full-sized avatar

Michaël Jimenez jimmikaelkael

View GitHub Profile
@jimmikaelkael
jimmikaelkael / TestBlockTicking.java
Created October 30, 2014 17:42
TestBlockTicking
package org.jimmikaelkael;
import org.bukkit.Bukkit;
import org.bukkit.block.Block;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockFadeEvent;
import org.bukkit.event.block.BlockGrowEvent;
import org.bukkit.event.block.BlockSpreadEvent;
@jimmikaelkael
jimmikaelkael / TestBonemealPlugin.java
Last active August 29, 2015 14:07
TestBonemealPlugin source
package org.jimmikaelkael;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.TreeType;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
@jimmikaelkael
jimmikaelkael / FrustumVisibilityTester.java
Created September 30, 2014 06:09
View Frustum Culling
/*
* Frustum.java
*
* Created on 24 oktober 2003, 13:36
*/
package org.codejive.utils4gl;
import javax.media.opengl.GL;
@jimmikaelkael
jimmikaelkael / mysql-batchSQLexecute.sql
Created October 29, 2011 15:28
A MySQL stored routine that executes chained SQL statements passed in parameter.
DELIMITER $$
/*
* This routine execute some SQL statements passed as parameter
* params:
* - sqlStatements(MEDIUMTEXT): the text containing all the SQL to execute
* - delimiter(VARCHAR 255) : the delimiter string between the SQL statements
* - autocommit(INT) : set wether auto-commit mode is used or not (0/1)
*
* The goal of this routine is too clearly improve the execution speed