I hereby claim:
- I am MCPE-PC on github.
- I am jaehyeon (https://keybase.io/jaehyeon) on keybase.
- I have a public key whose fingerprint is A9B2 91E6 E49D AE34 DF63 A978 6A5F 2A4A 8405 3347
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
cd -P $(dirname "${BASH_SOURCE[0]}") | |
WORKING_DIR=$(pwd) | |
PMMP_BRANCH='master' | |
PHP_DIR="$WORKING_DIR/bin/php7/bin" | |
INSTALLED_PHP=false | |
if [[ -f PocketMine-MP.phar ]]; then |
// Cubic equation calculator sourced from StackOverflow | |
const {spawn} = require('child_process'); | |
let nc = spawn('nc', ['ctf.dimigo.hs.kr', 8231]); | |
nc.stdout.on('data', (data) => { | |
console.log(data.toString()); | |
if (data.toString().replace(/\n/g, '').startsWith('No. ')) { | |
const matches = data.toString().match(/([0-9]+)x\^3 ([\+-]) ([0-9]+)x\^2 ([\+-]) ([0-9]+)x ([\+-]) ([0-9]+) = 0/); | |
let solved = solveCubic(...([matches[1], matches[2] + matches[3], matches[4] + matches[5], matches[6] + matches[7]].map(num => Number(num)))).map(num => Math.round(num)); | |
if (solved.length === 1) { | |
console.log('Enter manually'); |
// ==UserScript== | |
// @name Anti-Mummumee | |
// @namespace https://gist.github.com/MCPE-PC/4386efd4504fb48ba5d0122022c4c00b | |
// @version 1.1 | |
// @encoding utf-8 | |
// @icon https://t1.daumcdn.net/cfile/tistory/1671B1395128AB8A23 | |
// @description try to take over the world! | |
// @author MCPE_PC | |
// @updateURL https://gist.githubusercontent.com/MCPE-PC/4386efd4504fb48ba5d0122022c4c00b/raw/23ea024e00688e0b8dad5723837b119adad09d4f/anti-mummumee.user.js | |
// @downloadURL https://gist.githubusercontent.com/MCPE-PC/4386efd4504fb48ba5d0122022c4c00b/raw/23ea024e00688e0b8dad5723837b119adad09d4f/anti-mummumee.user.js |