Step 1
If any version of postman is installed we need to remove it
sudo rm -rf /opt/Postman
Step 2
{ | |
"LastApplication": "2020-04-27T05:05:36.940814+00:00", | |
"Collapsed": { | |
"ARES_MOC_ENTITLEMENT": "urn:entitlement:arestencent.ares.moc", | |
"CLIENT.ICONS.ENABLED": "true", | |
"CLIENT_LEADERBOARDS_ENABLED": "false", | |
"GAME_ALLOW_CONSOLE": "true", | |
"GAME_ALLOW_DEVELOPER_MENU": "true", | |
"GAME_DISABLED_DEATHCAM": "true", | |
"GAME_DISABLED_SKINS_WEAPONS": "{B96ABFD9-4E1C-55AD-B685-8A88427C7404},{86F7362A-4649-892D-1A76-2FB3F1E9F2D2},{AD699809-4C07-85F8-BF94-749ABE92D531}", |
# Copied from code shared on Gitter (https://gitter.im/tiangolo/fastapi) by @dmontagu | |
# Decorator for fastapi | |
def repeat_every(*, seconds: float, wait_first: bool = False): | |
def decorator(func: Callable[[], Optional[Awaitable[None]]]): | |
is_coroutine = asyncio.iscoroutinefunction(func) | |
@wraps(func) | |
async def wrapped(): | |
async def loop(): | |
if wait_first: |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Tcp Port Forwarding (Reverse Proxy) | |
# Author : WangYihang <[email protected]> | |
import socket | |
import threading | |
import sys |
// Taken from https://stackoverflow.com/a/47088726/3429133. | |
function getAbsoluteXPath(element) { | |
var comp, comps = []; | |
var parent = null; | |
var xpath = ''; | |
var getPos = function(element) { | |
var position = 1, | |
curNode; | |
if (element.nodeType == Node.ATTRIBUTE_NODE) { | |
return null; |
#!/usr/bin/env python3.6 | |
import asyncio | |
from contextlib import closing | |
import aiohttp | |
import tqdm | |
async def download(session, url, progress_queue): |