Skip to content

Instantly share code, notes, and snippets.

Avatar

Tim (robske_110) robske110

View GitHub Profile
@robske110
robske110 / epicwing.yml
Created Nov 2, 2017
A wing used to test&showcase the custom Wing feature for PlayerParticles.
View epicwing.yml
name: EpicWing
spacing: 0.1
particles:
F: TYPE_FLAME
L: TYPE_DRIP_LAVA
model: "FFXXXXXXXXXXXXXXXXXXFF\nFLFXXXXXXXXXXXXXXXXFLF\nFLLFXXXXXXXXXXXXXXFLLF\nFLLLFXXXXXXXXXXXXFLLLF\nFLLLLFXXXXXXXXXFFLLLLF\nFLLLLLFXXXXXXXXFLLLLLF\nFLLLLLFXXXXXXXXFLLLLLF\nFLLLLFFXXXXXXXXFFLLLLF\nFLLLFXXXXXXXXXXXXFLLLF\nFLLFXXXXXXXXXXXXXXFLLF\nFLFXXXXXXXXXXXXXXXXFLF\nFFXXXXXXXXXXXXXXXXXXFF"
centermode: "static"
@robske110
robske110 / PngToPlayer.php
Last active Aug 13, 2020 — forked from jasonwynn10/PngToPlayer.php
Set a player's skin in PMMP
View PngToPlayer.php
<?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);
@robske110
robske110 / AppleEventTimer.php
Created Sep 13, 2017
A nerdy timer to count down the final minutes to an Apple event.
View AppleEventTimer.php
<?php
//Just for fun
$appleEventTimer = new AppleEventTimer(strtotime("12 September 2017"));
$appleEventTimer->start();
echo("AppleEventTimer> exit, APPLE EVENT IS NOW!\n");
class AppleEventTimer{
/** @var int */
const APPLE_EVENT_TIME = 19; //h
@robske110
robske110 / keybase.md
Created Dec 20, 2016
What did you expect? Some key 🔑 to the world?
View keybase.md

Keybase proof

I hereby claim:

  • I am robske110 on github.
  • I am robske_110 (https://keybase.io/robske_110) on keybase.
  • I have a public key whose fingerprint is 5015 859F D09F 5B50 875A BC08 135F 9978 BB31 1E40

To claim this, I am signing this object:

@robske110
robske110 / LeapYear.php
Last active Sep 13, 2017
Calculates if $year is a leapyear...
View LeapYear.php
<?php
function isLeapYear(int $year): bool{
return (is_int($year / 4) || is_int($year / 400)) ? (!is_int($year / 100) || is_int($year / 400)) : false;
}
@robske110
robske110 / LayDown.php
Created Dec 17, 2016
A small (Script)Plugin that does all kind of crazy stuff to the player...
View LayDown.php
<?php
/**
* @name LayDown
* @main robske_110\LayDown\LayDown
* @version 1.0.0alpha
* @api 2.1.0
* @description Experience everything Upside Down!
* @author robske_110
*/
You can’t perform that action at this time.