Skip to content

Instantly share code, notes, and snippets.

Name: Flash
Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc=
if anyone wants to thank ETH: 0x527c2aB55b744D6167dc981576318af96ed26676
Thank you!
javascript:(
function() {
var pb;
pb = document.getElementsByTagName("video")[0];
var speed;
speed = prompt('Playback Speed? (Current Speed: ' + pb.playbackRate + ')');
if(speed > 0) {
pb.playbackRate = speed;
}
}
@MBRCTV
MBRCTV / logger.py
Created June 24, 2019 07:30
logger
import logging
import logging.handlers
MAILHOST = 'imap.gmail.com'
FROM = '***@gmail.com'
TO = ['***@gmail.com' ,'**** ']
# SUBJECT = 'Test Logging email from Python logging module (buffering)'
PASSWORD = '****'
# logging_example.py
@MBRCTV
MBRCTV / osticket-imap-monitor
Created May 15, 2019 15:31 — forked from hqhoang/osticket-imap-monitor
OSTicket IMAP monitor with IDLE
Modified the imap-monitor script from https://gist.github.com/shimofuri/4348943 for Python3,
not using eventlet, just IMAPClient and requests (installed with pip)
This version is specifically for OSTicket, it grabs the email as-is and post to OSTicket,
so that tickets can be generated from emails ASAP.
@MBRCTV
MBRCTV / meganz.php
Last active July 18, 2024 17:38
Mega.nz Direct Link Generator
<?php
echo '<html><head><title>Mega downloader</title></head><body><h2>Enter Url</h2><form action="mega.php" method="POST"> <br> URL: <input type="text" name="URL"> <br><input type="submit" value="Submit"></form>';
if ($_POST) {
error_reporting(0);
$url = $_POST['URL'];
preg_match("/!(.+?)!/", $url, $output_array);