Skip to content

Instantly share code, notes, and snippets.

View MegaApuTurkUltra's full-sized avatar

MegaApuTurkUltra MegaApuTurkUltra

View GitHub Profile
@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 */
<?php
error_reporting(0);
function autoloader($class) {
include "./" . str_replace("\\", "/", $class . '.php');
}
spl_autoload_register('autoloader');
use PHPHtmlParser\Dom;
@hyperobject
hyperobject / main.py
Last active August 29, 2015 14:19
Scratch + twitter
"""
pip install python-twitter
pip install requests
pip install bs4
"""
import twitter
import requests
from bs4 import BeautifulSoup as soup
import time
@aras-p
aras-p / preprocessor_fun.h
Last active July 16, 2024 02:50
Things to commit just before leaving your job
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
//
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,
@SaswatPadhi
SaswatPadhi / polyglot.pl.php.py.rb.cpp
Created June 5, 2012 03:33 — forked from wakhub/polyglot.pl.php.py.rb
PHP + Perl + Python + Ruby + C + C++ - polyglot
#/*<?php eval('echo "PHP Code\n";'); __halt_compiler();?> */
#include <stdio.h> /*
print ((("b" + "0" == 0) and eval('"Perl Code\n"')) or (0 and "Ruby Code\n" or "Python Code"));
__DATA__ = 1
"""""
__END__