Skip to content

Instantly share code, notes, and snippets.

View MegaApuTurkUltra's full-sized avatar

MegaApuTurkUltra MegaApuTurkUltra

View GitHub Profile
@MegaApuTurkUltra
MegaApuTurkUltra / keybase.md
Created March 22, 2016 13:50
Keybase verification

Keybase proof

I hereby claim:

  • I am MegaApuTurkUltra on github.
  • I am megaaputurkultra (https://keybase.io/megaaputurkultra) on keybase.
  • I have a public key whose fingerprint is 2FF7 AC4A D6D2 7D71 A5FE 7430 8E3B E987 1B4A 06A1

To claim this, I am signing this object:

@MegaApuTurkUltra
MegaApuTurkUltra / internetometer-bot.php
Created February 21, 2016 20:37
How 2 git interwebz
<?php
$verbose = fopen('php://temp', 'w+');
function curl_boilerplate($curl) {
global $verbose;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0");
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($curl, CURLOPT_COOKIEJAR, realpath("internetometer.cookies"));
curl_setopt($curl, CURLOPT_VERBOSE, 1);
@MegaApuTurkUltra
MegaApuTurkUltra / scratch-messenger.user.js
Last active January 24, 2016 18:32 — forked from Zro617/scratch-messenger.user.js
Adds "Message" control on Scratch forums; allows arbitrary length messages
// ==UserScript==
// @name Scratch Messenger
// @namespace ScratchMessenger
// @author Zro617, MegaApuTurkUltra
// @description Lets you quickly write a message directly to the author of a forum post on Scratch
// @include https://scratch.mit.edu/discuss/topic/*
// @version 1.0
// @grant none
// ==/UserScript==
@MegaApuTurkUltra
MegaApuTurkUltra / matu-ctrl-enter.user.js
Last active August 2, 2020 18:32
Makes CTRL-Enter submit on Scratch comment and forum editors
// ==UserScript==
// @name Scratch CTRL-Enter
// @namespace http://aputurk.tk/
// @version 0.1
// @description Adds keybinds for posting
// @author MegaApuTurkUltra
// @match https://scratch.mit.edu/*
// @grant none
// @run-at document-end
// ==/UserScript==
@MegaApuTurkUltra
MegaApuTurkUltra / matu-nfe-ae.user.js
Last active December 29, 2015 06:06
Detects NFE projects and AE studios on Scratch
// ==UserScript==
// @name NFE / AE Userscript
// @namespace http://aputurk.tk
// @version 0.2
// @description Detect NFE and AE
// @author You
// @match https://scratch.mit.edu/*
// @grant none
// ==/UserScript==
/* jshint -W097 */
@MegaApuTurkUltra
MegaApuTurkUltra / lightson.java
Created December 17, 2015 21:35
MATU's Solution to the 2015 December USACO Silver Division Barn Problem
/*
ID: -snip-
LANG: JAVA
TASK: lightson
*/
import java.io.*;
import java.util.*;
class lightson {
static class Switch {
@MegaApuTurkUltra
MegaApuTurkUltra / packageAdder.user.js
Created November 23, 2015 04:43
Scratch 📦 adder
// ==UserScript==
// @name :package: adder
// @namespace http://aputurk.tk/
// @version 0.1
// @description Adds the :package: emoticon
// @author MegaApuTurkUltra
// @match https://scratch.mit.edu/discuss/*
// @grant none
// ==/UserScript==
/* jshint -W097 */
@MegaApuTurkUltra
MegaApuTurkUltra / hacker_coil.js
Created November 22, 2015 03:20
Naive Bruteforce Implementation for Mortal Coil
var username = "";
var password = "";
var DEBUG = false;
function request(x, y, path){
var params = typeof x=="undefined" ? "": `&x=${x}&y=${y}&path=${path}`;
// yeah yeah, I don't care about my account :P
return $.get(`http://crossorigin.me/http://www.hacker.org/coil/index.php?name=${username}&password=${password}` + params);
}
<?php
error_reporting(0);
function autoloader($class) {
include "./" . str_replace("\\", "/", $class . '.php');
}
spl_autoload_register('autoloader');
use PHPHtmlParser\Dom;