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 math | |
| import requests | |
| from urllib.parse import quote | |
| from urllib.request import urlopen | |
| import xml.etree.ElementTree as ET | |
| import json | |
| class XPLORE: |
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
| # Dependencies | |
| curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - | |
| curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
| echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
| sudo apt-get update | |
| sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev nodejs yarn | |
| # Configuring RBENV for ruby versions management | |
| # Installing RBENV |
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
| #!/bin/bash | |
| # compile_bench(bench, nprocs, class) | |
| compile_bench() { | |
| local bench="${1}" | |
| local nprocs="${2}" | |
| local class="${3}" | |
| make "${bench}" NPROCS="${nprocs}" CLASS="${class}" | |
| } |