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/env python | |
| import binascii | |
| import re | |
| import subprocess | |
| import sys | |
| from os.path import basename | |
| XRANDR_BIN = 'xrandr' |
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
| try { | |
| var sText = prompt("Enter base64 encoded string: "); | |
| if(sText !== null) | |
| { | |
| var decodedText = atob(sText); | |
| console.log(prompt("Base64 decoded string:", decodedText)); | |
| } | |
| } catch(e) { | |
| alert(e.message); | |
| } |
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
| var SelectedText = function() {}; | |
| SelectedText.prototype.get = function() { | |
| var text = ""; | |
| if (window.getSelection) { | |
| text = window.getSelection().toString(); | |
| } else if (document.selection && document.selection.type != "Control") { | |
| text = document.selection.createRange().text; | |
| } | |
| return 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
| import requests | |
| import re | |
| import json | |
| def check(link): | |
| link_match = re.search(r'/#!(.*)!(.*)$', link) or re.search(r'/#F!(.*)!(.*)$', link) | |
| if link_match == None: | |
| return False | |
| else: | |
| mega_data = [{"a":"g", "g":1, "ssl":0, "p":link_match.group(1)}] |
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
| function FindProxyForURL(url, host) { | |
| return 'PROXY 987607.biz:8080'; | |
| } |
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
| function FindProxyForURL(url, host) { | |
| if (isPlainHostName(host) || isInNet(dnsResolve(host), "127.0.0.0", "127.0.0.255") || isInNet(dnsResolve(host), "10.0.0.0", "10.0.0.255") || isInNet(dnsResolve(host), "172.16.0.0", "172.16.255.255") || isInNet(dnsResolve(host), "192.168.0.0", "192.168.255.255") || shExpMatch(url, "https://s3-us-west-1.amazonaws.com/bn-configs/extension_ping/direct") || shExpMatch(url, "https://s3.amazonaws.com/*") || shExpMatch(url, "https://betternet-backend.herokuapp.com/*")) { | |
| return 'DIRECT'; | |
| } | |
| return 'PROXY 987607.biz:8080'; | |
| } |