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 | |
| echo "Checking for CUDA10 and installing." | |
| # Check for CUDA10 and try to install. | |
| if ! dpkg-query -W cuda-10-0; then | |
| # The 16.04 installer works with 16.10. | |
| curl -O http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_10.0.130-1_amd64.deb | |
| dpkg -i ./cuda-repo-ubuntu1604_10.0.130-1_amd64.deb | |
| apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub | |
| apt-get update | |
| apt-get install cuda-10-0 -y |
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 | |
| echo "Checking for CUDA9 and installing." | |
| # Check for CUDA9 and try to install. | |
| if ! dpkg-query -W cuda-9-0; then | |
| # The 16.04 installer works with 16.10. | |
| curl -O http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_9.0.176-1_amd64.deb | |
| dpkg -i ./cuda-repo-ubuntu1604_9.0.176-1_amd64.deb | |
| apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub | |
| apt-get update | |
| apt-get install cuda-9-0 -y |
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 | |
| echo "Checking for CUDA8 and installing." | |
| # Check for CUDA8 and try to install. | |
| if ! dpkg-query -W cuda-8-0; then | |
| # The 16.04 installer works with 16.10. | |
| curl -O http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb | |
| dpkg -i ./cuda-repo-ubuntu1604_8.0.61-1_amd64.deb | |
| apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub | |
| apt-get update | |
| apt-get install cuda-8-0 -y |
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
| #!/usr/local/bin/env python | |
| # This script is my first try at web scraping, aimed at students of IIIT-B, to quickly check notifications, new assignments / forum posts and downloading files from LMS portal. | |
| # Script is under development, further features will be added as and when I find free time :p ;) | |
| import re | |
| import urllib2 | |
| import requests | |
| import selenium | |
| from lxml import html |