Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../opt/imh-pyth.../lib/python3....
File: antigravity.py
[0] Fix | Delete
import webbrowser
[1] Fix | Delete
import hashlib
[2] Fix | Delete
[3] Fix | Delete
webbrowser.open("https://xkcd.com/353/")
[4] Fix | Delete
[5] Fix | Delete
def geohash(latitude, longitude, datedow):
[6] Fix | Delete
'''Compute geohash() using the Munroe algorithm.
[7] Fix | Delete
[8] Fix | Delete
>>> geohash(37.421542, -122.085589, b'2005-05-26-10458.68')
[9] Fix | Delete
37.857713 -122.544543
[10] Fix | Delete
[11] Fix | Delete
'''
[12] Fix | Delete
# https://xkcd.com/426/
[13] Fix | Delete
h = hashlib.md5(datedow, usedforsecurity=False).hexdigest()
[14] Fix | Delete
p, q = [('%f' % float.fromhex('0.' + x)) for x in (h[:16], h[16:32])]
[15] Fix | Delete
print('%d%s %d%s' % (latitude, p[1:], longitude, q[1:]))
[16] Fix | Delete
[17] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function