Skip to content

Instantly share code, notes, and snippets.

View schunlee's full-sized avatar
💭
I may be slow to respond.

schunlee

💭
I may be slow to respond.
View GitHub Profile
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Bill Li
// @match https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/app/*/ios/versioninfo
// @require https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @run-at document-end
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import json
import requests
__author__ = "bill.li"
def login(username, password):
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import requests
from requests_toolbelt import MultipartEncoder
from mopub.mopub_creator import login, ACCOUNT_DICT
__author__ = "bill.li"
if __name__ == '__main__':
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import time
import json
import base64
from urllib import urlencode
import requests
import sys
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import re
from time import sleep
import requests
__author__ = "bill.li"
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import json
import requests
__author__ = "bill.li"
HEADERS = {"Content-Type": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) "
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import json
import urlparse
import requests
__author__ = "bill.li"
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import cookielib
import json
import tempfile
import mechanize
import re
import requests
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import requests
__author__ = "bill.li"
def login(username, password):
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import json
import re
import mechanize
import requests
__author__ = "bill.li"