Skip to content

Instantly share code, notes, and snippets.

View mpge's full-sized avatar
💭
I may be slow to respond.

Matthew Grosz mpge

💭
I may be slow to respond.
View GitHub Profile
@mpge
mpge / force_color.js
Last active April 3, 2018 04:20
Force Facebook Color in Messenger
/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\
@mpge
mpge / steamos-debian.sh
Last active December 31, 2015 09:39
Installing Debian Sources on SteamOS
echo "Adding Sources"
echo
sudo echo "
\n
deb http://ftp.us.debian.org/debian stable main\n
deb-src http://ftp.us.debian.org/debian stable main\n
\n
deb http://ftp.debian.org/debian/ wheezy-updates main\n
deb-src http://ftp.debian.org/debian/ wheezy-updates main\n
\n
@mpge
mpge / matrix.py
Created December 9, 2013 18:24
Quick python-based Matrix script. (Not advanced because requirement is to run on multiple platforms/systems).
#!/usr/bin/python
import os
import subprocess
# use if using string.letters
# import string
import random
# uncomment and install for colors
# from termcolor import colored
def main():
@mpge
mpge / scan.php
Created July 10, 2015 20:45
Scan all files for eval base64 decode string
$config = array(
'dir' => dirname(__FILENAME__),
);
// DO NOT EDIT BELOW THIS LINE!
function output() {
flush();
ob_flush();
}