-XX:NativeMemoryTracking=detail
jps
ps -p <PID> -o pcpu,rss,size,vsize
| from selenium import webdriver | |
| from selenium.webdriver.support.ui import WebDriverWait | |
| from webdriver_manager.chrome import ChromeDriverManager | |
| class Autotrader: | |
| def __init__(self, url): | |
| self.url = url | |
| self.driver = None | |
| self.page_num = None | |
| self.xpath_dict = self.XPathDict() |
| # Quick intro to accessing Stubhub API with Python | |
| # Ozzie Liu ([email protected]) | |
| # Related blog post: http://ozzieliu.com/2016/06/21/scraping-ticket-data-with-stubhub-api/ | |
| # Updated 3/5/2017 for Python 3 and Stubhub's InventorySearchAPI - v2 | |
| import requests | |
| import base64 | |
| import json | |
| import pprint | |
| import pandas as pd |
| /** | |
| * Island universe | |
| */ | |
| import eu.ace_design.island.{PointGenerator, RandomGrid, SquaredGrid} | |
| val MAP_SIZE = 800 | |
| val generators: Map[String,PointGenerator] = Map( | |
| "RANDOM" -> new RandomGrid(MAP_SIZE), | |
| "SQUARE" -> new SquaredGrid(MAP_SIZE) | |
| ) |