Skip to content

Instantly share code, notes, and snippets.

View dotStart's full-sized avatar
💭
🧈

dotStart

💭
🧈
View GitHub Profile
@dotStart
dotStart / README
Created May 4, 2014 07:37
Clone Command Block MCEdit filter
Clone Command Block MCEdit Filter
=================================
This filter helps you to clone big structures from one position to any other
position in the level (as long as it is loaded). To achieve this it splits up
the zone in smaller 15x15x15 chunks which may be copied even though the overall
structure has more than 4096 blocks.
Usage
-----
* Select the source structure
@dotStart
dotStart / gist:9209296
Last active August 29, 2015 13:56
Atlassian OnDemand status image
<?php
// register error handler
set_error_handler(function($errno, $errstr, $errfile, $errline ) {
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
});
// defines
define ('IMAGE_DIR', dirname (__FILE__).'/image/'); // by default images (success.png, failed.png and unknown.png) are stored in ./image/
define ('KEY_REGEX', '~^([A-Za-z0-9]+)\-([A-Za-z0-9]+)$~'); // You usually won't need to change this
define ('SERVER_URL', 'https://yourinstance.atlassian.net/builds'); // set your Bamboo URL
<!-- ... -->
<nav id="mainNavigation">
<ul>
<li>
<a href="#">
<img src="icon" alt="" />
<span>Home</span>
</a>
</li>
<li>