This file contains 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
<# | |
.SYNOPSIS | |
Automates the detection of an NVIDIA GPU, retrieves the latest NVIDIA App installer, and facilitates its download and installation with customizable parameters. | |
.DESCRIPTION | |
This script efficiently manages the process of downloading and installing the latest NVIDIA App by: | |
- Scraping the NVIDIA App webpage to locate the most recent installer. | |
- Verifying the existence and size of the installer file locally. | |
- Confirming the presence of an NVIDIA GPU on the machine prior to installation. | |
- Supporting a dry run mode to simulate operations without actual downloading or installation. |
This file contains 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
The MIT License (MIT) | |
Copyright (c) 2015 Felix Hummel | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to | |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | |
of the Software, and to permit persons to whom the Software is furnished to do | |
so, subject to the following conditions: |
This file contains 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
all: alfa.pdf | |
alfa.pdf: alfa.latex | |
latexmk -pdf $< | |
alfa.png: alfa.pdf | |
convert -density 150 -flatten $< $@ | |
clean: alfa.latex | |
latexmk -CA $< |