Skip to content

Instantly share code, notes, and snippets.

View falkirks's full-sized avatar

noa falkirks

View GitHub Profile
@falkirks
falkirks / keybase.md
Created July 25, 2022 16:58
keybase.md

Keybase proof

I hereby claim:

  • I am falkirks on github.
  • I am falkirks (https://keybase.io/falkirks) on keybase.
  • I have a public key whose fingerprint is 8DEA 5B66 AC00 BEE0 1E85 A7D2 7B3C E802 3EAB 8617

To claim this, I am signing this object:

@falkirks
falkirks / SpoonDetector.php
Last active June 17, 2019 21:11
SpoonDetector
<?php
use pocketmine\plugin\PluginBase;
use pocketmine\Server;
/**
* This class is deliberately meant to be silly
* Class SpoonDetector
*/
class SpoonDetector{
@falkirks
falkirks / quicksort.js
Created August 19, 2016 18:52
Bored on a bus...
// Being bored on a bus
// Simple quickSort, always take index zero as the pivot
var unsorted = [3, 5, 1, 7, 6, 7, 3];
function generateChallengeArray(length, max){
var arr = [];
for(var i = 0; i < length; i++){
arr.push(Math.random()*max);
}
Verifying that +falkirks is my blockchain ID. https://onename.com/falkirks
@falkirks
falkirks / .htaccess
Last active May 5, 2016 11:59
PocketMine-Banners router
RewriteEngine on
RewriteCond %{REQUEST_URI} !=/index.php
RewriteRule !^assets($|/) index.php [L,QSA]
@falkirks
falkirks / HealthTeller.phar
Last active August 29, 2015 14:24
Request response generated with RequestTool
<?xml version="1.0" encoding="UTF-8"?>
<play>
<head>
<title>Comedy of Errors</title>
<note>The Comedy of Errors tells the story of two sets of identical twins that were accidentally separated at birth. Antipholus of Syracuse and his servant, Dromio of Syracuse, arrive in Ephesus, which turns out to be the home of their twin brothers, Antipholus of Ephesus and his servant, Dromio of Ephesus. When the Syracusans encounter the friends and families of their twins, a series of wild mishaps based on mistaken identities lead to wrongful beatings, a near-seduction, the arrest of Antipholus of Ephesus, and false accusations of infidelity, theft, madness, and demonic possession.</note>
<shortName>comedy-of-errors</shortName>
<tag>comedy</tag>
<tag>short</tag>
<tag>identity</tag>
<tag>twins</tag>
@falkirks
falkirks / README.md
Last active August 29, 2015 14:12
Documentation for Volt

Volt

Formerly HTTPServer

Volt is an hyper-powerful integrated website solution for PocketMine. Driven by Handlebars and pthreads, volt is an extensive webserver. Volt's dependencies are managed using Miner.

What's changing in v3.0.0?

  • Name. HTTPServer is now volt. Why? I thought carefully about this one and I figured that "HTTPServer" did not represent the project correctly.
  • Threading. Volt is now better at threading. Every request is run by a worker in a pool. This allows multiple requests to be processed in parallel.
  • Templating. Now Volt is driven by Handlebars for high speeds and extreme customization.
@falkirks
falkirks / README.md
Created December 25, 2014 00:30
Specter README

Specter

Real people suck. Use fake ones instead.

Specter eliminates the need to get additional people to test a plugin and the horrible alternative. Specter generates players which can be used by PocketMine and plugins as if they were real players.

Managing players

Players can be managed via an API or through a command.

API

@falkirks
falkirks / keybase.md
Last active August 29, 2015 14:11
keybase.md

Keybase proof

I hereby claim:

  • I am falkirks on github.
  • I am falkirks (https://keybase.io/falkirks) on keybase.
  • I have a public key whose fingerprint is 53DD 1C56 B0AB E4D3 B61A ACBF FA11 47C9 B2B4 FDBA

To claim this, I am signing this object: