0 => "Air"
1 => "Stone"
2 => "Grass"
3 => "Dirt"
4 => "Cobblestone"
5 => "WoodenPlank"
javascript:(function()%7Bfunction callback()%7B(function(%24)%7Bvar jQuery%3D%24%3Bwindow.%24%3D%24%3BsetInterval("window.%24('.ytp-ad-skip-button') %26%26 window.%24('.ytp-ad-skip-button').click()"%2C 1000)%7D)(jQuery.noConflict(true))%7Dvar s%3Ddocument.createElement("script")%3Bs.src%3D"https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fjquery%2F1.11.1%2Fjquery.min.js"%3Bif(s.addEventListener)%7Bs.addEventListener("load"%2Ccallback%2Cfalse)%7Delse if(s.readyState)%7Bs.onreadystatechange%3Dcallback%7Ddocument.body.appendChild(s)%3B%7D)() |
/* ==UserStyle== | |
@name Poggit Dark | |
@version 1.0.6 | |
@description Dark theme for Poggit, a GitHub application for managing PocketMine-family plugins, and website for sharing plugins | |
@namespace XenialDan | |
@author XenialDan | |
@homepageURL https://gist.github.com/thebigsmileXD/ed07c6bd4285614d2c5654c9dce76bf2 | |
@supportURL https://gist.github.com/thebigsmileXD/ed07c6bd4285614d2c5654c9dce76bf2 | |
@updateURL https://raw.githubusercontent.com/StylishThemes/StackOverflow-Dark/master/stackoverflow-dark.user.css | |
==/UserStyle== */ |
<?php | |
$path = 'your/path/to/skin.png'; | |
$img = @imagecreatefrompng($path); | |
$bytes = ''; | |
$l = (int) @getimagesize($path)[1]; | |
for ($y = 0; $y < $l; $y++) { | |
for ($x = 0; $x < 64; $x++) { | |
$rgba = @imagecolorat($img, $x, $y); |
<?php | |
use pocketmine\plugin\PluginBase; | |
use pocketmine\Server; | |
/** | |
* This class is deliberately meant to be silly | |
* Class SpoonDetector | |
*/ | |
class SpoonDetector{ |
<?php | |
/** | |
* This file is an example of a compressed plaintext plugin format for PocketMine | |
* It's aimed towards easy scripting, but not for normal plugin development. | |
* | |
* This kind of plugin won't be able to embed/load resources, | |
* nor have access to some features like fast permission/command integration. | |
* | |
* This first comment is used to define the properties like on plugin.yml, |