# step 0 - cleanup your existing drivers
sudo apt-get --purge remove "*nvidia*"
sudo apt-get --purge remove "*cuda*" "*cudnn*" "*cublas*" "*cufft*" "*cufile*" "*curand*" "*cusolver*" "*cusparse*" "*gds-tools*" "*npp*" "*nvjpeg*" "nsight*" "*nvvm*" "*libnccl*"
# step 0.1 - disable iommu
ll /sys/class/iommu/
# if this folder is empty, continue
# if the folder is not empty, see https://docs.dolphinics.com/latest/guides/iommu.htmlLatest Update: May 19th, 2024
This gist contains all the steps required to:
- Install multiple CUDA versions (e.g.,
CUDA 11.8 andCUDA 12.1 - Manage multiple CUDA environments on Ubuntu using the utility called environment modules.
- Use this approach to avoid CUDA environment conflicts.
Environment Modules is a package that provides for the dynamic modification of a user's environment via modulefiles. You can find more on it at https://modules.readthedocs.io/en/latest/
HLL servers open up a RCON port that lets people connect via TCP. All communication is and should be encrypted with a XOR cipher, of which the key will be sent upon opening the socket connection.
A few implementations can be found here:
- rcon/connection.py from MarechJ/hll_rcon_tool (Python 3, synchronous implementation using the
socketstdlib) - lib/protocol.py from timraay/HLLLogUtilities (Python 3, asynchronous implementation using the
asynciostdlib) - async_hll_rcon/connection.py from cemathey/async_hll_rcon (Python 3, asynchronous implementation using
trio) - [go-hll-rcon](https:/
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
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "io" | |
| "os/exec" | |
| ) | |
| func main() { |
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
| /* | |
| * FILE : AES_Example.go | |
| * PROJECT : INFO-1340 - Block Ciphers | |
| * PROGRAMMER : Daniel Pieczewski, ref: https://github.com/mickelsonm | |
| * FIRST VERSION : 2020-04-12 | |
| * DESCRIPTION : | |
| * The function(s) in this file make up example code for encryption and decryption of a block of text | |
| * using the Golang standard library AES implementation using the Cipher Feedback mode of encryption (CFB). | |
| * DISCLAIMER: There is no way that this a secure implementation of AES. This is only for my personal learning. | |
| * So help you God if this ends up in some commercial application. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| package main | |
| import ( | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "crypto/rand" | |
| "encoding/base64" | |
| "errors" | |
| "io" | |
| "log" |