Skip to content

Instantly share code, notes, and snippets.

@aliendeveloper
aliendeveloper / SudokuSolver.class.php
Created March 27, 2011 08:35
A PHP Class to solve the sudoku.
<?php
/**
* @author Anush Prem <goku.anush@gmail.com>
* @package Solver
* @subpackage Sudoku
* @version 0.1
*/
/**
@shoghicp
shoghicp / Rules.md
Last active November 23, 2020 21:53
Rules of channels #mcpedevs and #pocketmine on irc.freenode.net
<?php
/*
__PocketMine Plugin__
name=PermissionPlus
description=Manages player and command permissions.
version=1.0.7
apiversion=7,8,9,10
author=Omattyao
class=PermissionPlus
@shoghicp
shoghicp / banned.md
Last active May 20, 2018 19:27
Ban List of #mcpedevs and #pocketmine

#mcpedevs

  • LoveJoy: (aka xXDARK_KNIGHTXx, *lovejoy, lovejoy1598, DJ_HeRtBrEaK, mcpelover +more) Swearing, pirating MCPE, Spamming, Spamming Quote bot, Multiple ban evasion. by Intyre, shoghicp
  • KevinWang_China: (aka VanishedKevin) Malicious plugin creation, spamming, Ban Evasion. by shoghicp
  • Xiang: (aka NgJinXiang) Spamming questions. by Intyre
  • nikony: Spamming pacman. by Intyre
  • shader: (aka Shad-Bot, proCmd) Insulting, advertising, ban evasion related logs. by shoghicp
  • TrilogiForce: Spamming, threatening the team. by Brandon15811
  • JasperBeastHD: (aka JasperHD, JassperBeastHD) Insulting moderators, evading ban. some related logs. by Brandon15811
  • DarkDemon101: Pinging main developers needlessly, asking to be admin/tester/co-owner after being told to stop. by shoghicp
  • Striker209_MPE: Spammin
@razor-x
razor-x / README.md
Last active February 19, 2020 10:26
Load GitHub Gists asynchronously and optionally specify which file to show.

Load GitHub Gists asynchronously

This is now a Bower package: [gist-async]. [gist-async]: https://github.com/razor-x/gist-async

Requires jQuery.

Jekyll plugin included that modifies the gist markup added by its gist Liquid tag.

Load GitHub Gists asynchronously and optionally specify which file to show.

The LegionPE Hub Plugin

Copyright (C) 2014 PEMapModder (a.k.a. mcpesrccode and MCPE_modder_for_maps)

You may not distribute or use this software or its modifications without prior permission from PEMapModder or MCPE_modder_for_maps from http://formus.pocketmine.net or http://minecraftforum.net or https://github.com.

===

The main plugin (Hub.php) contains the following features:

@shoghicp
shoghicp / list.md
Last active August 29, 2015 14:00
Tech things done by Mojang for Minecraft: Pocket Edition

These are a few things requested to Mojang, or the developer themselves, or we were told that they added this.

Done / Confirmed

Thing done Version Notes
Play -> Edit -> External menu 0.7.4
Fix protocol inconsistencies MCPE-6865 0.9.0
False
```
C:\Users\Michael Yoo\Documents\Development\Projects\PocketMine\Builds\#228\PocketMine-MP . 14 test environment mc 090\plugins\DevTools_v1.8.0-4c37f602.phar
C:\Users\Michael Yoo\Documents\Development\Projects\PocketMine\Builds\#228\PocketMine-MP . 14 dfsdfasdfsafsafsadfasdftest\plugins\DevTools_v1.8.0-4c37f602.phar
C:\Users\Michael Yoo\Documents\Development\Projects\PocketMine\Builds\#228\PocketMine-MP . 14 dfsdfasdfsafsafsadfasdftest\plugins\DevTools_v1.8.0-4c37f602.phar
C:\Users\Michael Yoo\Documents\Development\Projects\PocketMine\Builds\#228\PocketMine-MP . 14 dasdfasdfsadfdas\plugins\DevTools_v1.8.0-4c37f602.phar
C:\Users\Michael Yoo\Documents\Development\Projects\PocketMine\Builds\#228\PocketMine-MP . 14 dasdfasdfsa\plugins\DevTools_v1.8.0-4c37f602.phar
C:\Users\Michael Yoo\Documents\Development\Projects\PocketMine\Builds\#228\PocketMine-MP . 14 dasdfasd\plugins\DevTools_v1.8.0-4c37f602.phar
C:\Users\Michael Yoo\Documents\Development\Projects\PocketMine\Builds\#228\PocketMine-MP . 14 dasdfas\pl
@shoghicp
shoghicp / 3lines.php
Last active March 17, 2016 06:10
RC4 implementation in PHP, without run-time notices or errors. Outputs keystream directly. http://en.wikipedia.org/wiki/RC4
<?php
for($K='Key',$_=range($i=$j=0,$n=255);$i<=$n;$j+=$_[$i]+ord($K{$i%strlen($K)}),_($_[$j&=$n],$_[$i++]));
for($j=$i=0;++$i;$j+=$_[$i&=$n],_($_[$j&=$n],$_[$i]),printf('%x',$_[($_[$i]+$_[$j])&$n]));
function _(&$i,&$j){$i=$j+$i-($j=$i);}