Category: Uncategorized
-
Ubuntu: GPG Error NO_PUBKEY
Import GPG public key If everything goes well, you will get this message Export your imported key to a file Move exported key to correct place Check if everything goes well Double check! Your key should be listed here
-
LetsEncrypt: Create SSL Certificate
Install snapd Install snapd core package and update Install certbot Generate manual certificate with DNS authentication Successful certificates for every domain will be placed in README file
-
PowerShell: Byte to String
Create some string from byte array and print it as ASCII string Create some string from byte array and print it as UTF8 string
-
PowerShell: File Write
Writing to a file from stdin line by line Writing to a file from a variable Writing to a file as Byte[]
-
PowerShell: File Read
Read a file and stream to stdout Read a file line by line and save it to a variable Read a file as Byte[]
-
PowerShell: Serial Port
Get available serial port Setup the port Set port property Construct the request Send request to the port References: SerialPort Class (System.IO.Ports) | Microsoft Docs
-
Curl: GET and POST Request
GET Request To call a GET request to localhost:8080/path GET Request with Parameter Query To call a GET request to localhost:8080/path?param1&value1¶m2=value2 Use wget: POST Request (application/x-www-form-urlencoded) To call a POST request to localhost:8080/path POST Request with Query Parameters POST Request (multipart/form-data) To call a POST request to localhost:8080/path
-
S3 API: Object Operations
S3 will show the result lexicographically. List buckets String to sign: Get bucket ACL String to sign: List bucket contents String to sign: String to sign: List object String to sign: Get object String to sign: Delete object String to sign: String to sign: String to sign: Resources:
