For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
Streaming your Linux desktop to Youtube and Twitch via Nvidia's NVENC and VAAPI:
Considerations to take when live streaming:
The following best practice observations apply when using a hardware-based encoder for live streaming to any platform:
bufsize=4(target bitrate/frame rate)
| ## Radix sort in O(n) unlike other sorting methods that can be way worse. | |
| ## But radix sort needs the bits to operate on, which makes it different then | |
| ## other sorting algorithms. | |
| proc getMax(arr: seq[SomeInteger]): SomeInteger = | |
| for i, e in arr: | |
| if i == 0: | |
| result = e | |
| elif e > result: | |
| result = e |
| package enum_example | |
| import ( | |
| "bytes" | |
| "encoding/json" | |
| ) | |
| // TaskState represents the state of task, moving through Created, Running then Finished or Errorred | |
| type TaskState int |