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 | |
# -*- coding: utf-8 -*- | |
import requests, telebot, json, sys | |
reload(sys) | |
sys.setdefaultencoding('utf8') | |
""" | |
######################### | |
JUST change the "PUT HERE" parts with your own information and run the code! |
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 telebot, requests, json, base64 | |
# ------ CONFIG | |
API_TOKEN = "GOFUCKYOURSELF=)))))" | |
CHANNEL_ID = "@MrHalix" | |
def get_proxy(): | |
response = requests.get("http://lh58.hotgram.ir/v1/proxy?slt=77799000&appId=3") | |
return json.loads(response.text) |
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 | |
# taken from http://stackoverflow.com/a/344083/1170404 | |
# usage: cat filemame.txt | ./utmToLatLng.py | |
import math | |
import fileinput | |
# zone = 16 (Nicaragua) | |
def utmToLatLng(easting, northing, northernHemisphere=True, zone=16): |
NewerOlder