Skip to content

Instantly share code, notes, and snippets.

View Kris-Driv's full-sized avatar

Kristaps Drivnieks Kris-Driv

View GitHub Profile
@TigerHix
TigerHix / Task.php
Last active November 27, 2016 19:54
PocketMine Task
<?php
namespace hawkpe\common\runnable\task;
use pocketmine\plugin\Plugin;
use pocketmine\scheduler\PluginTask;
class Task extends PluginTask {
const CANCEL = "CANCEL";
@shoghicp
shoghicp / lusers.md
Last active December 21, 2016 17:46

These are some of the best requests and emails made by our users directly. We've removed public names except for Tweets. Comments are written in italics

Tweets

Emails

  • (no subject): ******HD keeps on saying bad words can u kick him out of pocket mine.please r

  • mod!!!!: plz make me a mod im tired of hackers

@havvg
havvg / DateRange.php
Last active October 24, 2021 10:33
Symfony2: poor man's date_range form type
<?php
namespace Ormigo\Bundle\OrmigoBundle\Form\Model;
use DateTime;
class DateRange
{
/**
* @var DateTime