Skip to content

Instantly share code, notes, and snippets.

Jim C K Flaten Jckf

Block or report user

Report or block Jckf

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Jckf / Overloads.php
Created May 23, 2018
Real method overloading in PHP
View Overloads.php
trait Overloads {
/** @var ReflectionMethod[] $olMethods **/
protected $olMethods;
* Get methods from this class.
* Caches results to avoid recreating reflection objects for every call.
View iptables
#! /bin/sh
# Flush and reset.
iptables -F
iptables -X
iptables -Z
ip6tables -F
ip6tables -X
ip6tables -Z
Jckf / Yggdrasil.php
Last active Jun 16, 2016
PHP library for Mojang's Yggdrasil authentication system.
View Yggdrasil.php
class Yggdrasil {
private $server = '';
private $client_token = null;
private $username = null;
private $access_token = null;
package no.jckf.slplib;
import java.nio.charset.Charset;
public final class MinecraftServer {
private String address = "localhost";
You can’t perform that action at this time.