Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| When Invalid Host Header when ngrok tries to connect to Angular or React dev server use this form for run ngrok. | |
| ngrok http 8080 -host-header="localhost:8080" | |
| ngrok http --host-header=rewrite 8080 |
| # Download installers | |
| mkdir ~/Downloads/nvidia | |
| cd ~/Downloads/nvidia | |
| wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda_8.0.61_375.26_linux-run | |
| wget http://us.download.nvidia.com/XFree86/Linux-x86_64/384.59/NVIDIA-Linux-x86_64-384.59.run | |
| sudo chmod +x NVIDIA-Linux-x86_64-384.59.run | |
| sudo chmod +x cuda_8.0.61_375.26_linux-run | |
| ./cuda_8.0.61_375.26_linux-run -extract=~/Downloads/nvidia/ | |
| # Uninstall old stuff | |
| sudo apt-get --purge remove nvidia-* |
| # Remove anything linked to nvidia | |
| sudo apt-get remove --purge nvidia* | |
| sudo apt-get autoremove | |
| # Search for your driver | |
| apt search nvidia | |
| # Select one driver (the last one is a decent choice) | |
| sudo apt install nvidia-370 |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>HMAC-SHA256 Example</title> | |
| </head> | |
| <body> | |
| <script src="http://crypto.stanford.edu/sjcl/sjcl.js"></script> | |
| <script> | |
| var sharedSecret, query, signature, hmac, xhr; |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000