Skip to content

Instantly share code, notes, and snippets.

View gistrec's full-sized avatar
🦄
Программирую единорогов

Aleksandr Kovalko gistrec

🦄
Программирую единорогов
View GitHub Profile
@gistrec
gistrec / MCPE_1.0.5_Ids.txt
Created March 28, 2017 11:02 — forked from jocopa3/MCPE_1.1.0.1_Ids.txt
List of all Blocks/Items/Entity Id's in MCPE/Win10 1.0.5 and EDU Edition
For advanced users, a syntax highlighter for sublime text and
textmate which makes reading the list easier can be found here:
https://gist.github.com/jocopa3/e4a35921e4f978572e7f45360d231f37
============ Blocks ============
All blocks as found in the 1.0.5.0 Block::initBlocks function.
Block names are the same names used in the /give command.
Name Id Data
## PHP Syntax Highlighting
syntax "php" "\.php[2345s~]?$"
# color red ".*"
color red "."
color white start="<\?(php|=)?" end="\?>"
# Numbers
color magenta "[+-]*([0-9]\.)*[0-9]+([eE][+-]?([0-9]\.)*[0-9])*"
color magenta "0x[0-9a-zA-Z]*"
# Functions
color brightblue "([a-zA-Z0-9_$-]*)\("
@gistrec
gistrec / run.php
Created September 11, 2017 19:35 — forked from dktapps/run.php
A basic UDP proxy used to bypass client-side Xbox Live authentication in MCPE 1.2.
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
*