This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const addVideo = function () { | |
var video = ['HP362ccZBmY', 'oHg5SJYRHA0'].sort(() => Math.random() - 0.5).pop(); | |
var div = document.createElement('div'); | |
div.innerHTML = '<iframe width="560" height="315" src="https://www.youtube.com/embed/' + video + '?autoplay=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'; | |
div.setAttribute('style', 'position: fixed; right: 10px; bottom: 10px;z-index: 100000'); | |
document.body.appendChild(div); | |
} | |
const fadeText = function () { | |
function getRandomColor () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Degrees Minutes Seconds (DMS) | |
40° 26′ 46″ N 79° 58′ 56″ W | |
40° 26′ 46″ S 79° 58′ 56″ E | |
90° 0′ 0″ S 180° 0′ 0″ E | |
40° 26′ 45.9996″ N 79° 58′ 55.2″ E | |
Latitudes range from 0 to 90. | |
Longitudes range from 0 to 180. | |
Minutes & Seconds range from 0-60 | |
Use N, S, E or W as either the last character, | |
which represents a compass direction North, South, East or West. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import struct | |
import binaryninja | |
def touch(fname, times=None): | |
with open(fname, 'a'): | |
os.utime(fname, times) | |
#------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Written by: Michael McKinnon @bigmac | |
# Get in contact with me if you found this useful | |
import os | |
import sys | |
import gmpy2 | |
from Crypto.PublicKey import RSA | |
from Crypto.Cipher import PKCS1_v1_5 |