| Domain | Country Name |
|---|---|
| www.amazon.com.au | Australia |
| www.amazon.com.be | Belgium |
| www.amazon.com.br | Brazil |
| www.amazon.ca | Canada |
| www.amazon.cn | China |
| www.amazon.eg | Egypt |
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
| ### CREATE NOTEBOOK INSTANCE | |
| export HOME=/home/ec2-user | |
| # Install and enable Git LFS | |
| curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | sudo bash | |
| sudo yum install git-lfs -y | |
| git lfs install |
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
| let | |
| nixpkgs-src = builtins.fetchTarball { | |
| # master of 2021-01-05. | |
| url = "https://github.com/NixOS/nixpkgs/archive/1a57d96edd156958b12782e8c8b6a374142a7248.tar.gz"; | |
| sha256 = "1qdh457apmw2yxbpi1biwl5x5ygaw158ppff4al8rx7gncgl10rd"; | |
| }; | |
| pkgs = import nixpkgs-src { | |
| config = { | |
| # allowUnfree may be necessary for some packages, but in general you should not need it. |
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
| # install chromium, its driver, and selenium | |
| !apt update | |
| !apt install libu2f-udev libvulkan1 | |
| !wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
| !dpkg -i google-chrome-stable_current_amd64.deb | |
| !wget https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/118.0.5993.70/linux64/chromedriver-linux64.zip | |
| !unzip -j chromedriver-linux64.zip chromedriver-linux64/chromedriver -d /usr/local/bin/ | |
| !pip install selenium chromedriver_autoinstaller | |
| # set options to be headless, .. |