I hereby claim:
- I am digital-diplomat on github.
- I am d1pl0mat (https://keybase.io/d1pl0mat) on keybase.
- I have a public key whose fingerprint is BE68 45F6 02EA 82F2 4A81 EAE6 6D56 E565 881B DA42
To claim this, I am signing this object:
| /* CTimer - A dead-simple console timer by Bryn Vivix. | |
| * | |
| * Recommended use case: `ctimer $TIME && other-command` | |
| */ | |
| #include <stdio.h> | |
| #include <unistd.h> | |
| #include <string.h> | |
| int main(int argc, char** argv) { |
| // Program to encode/decode hexadecimal and ASCII/Unicode | |
| /** | |
| * Decodes a string of hexadecimal numbers into a string of characters. | |
| * | |
| * @param input A string with only valid HEX numbers separated by spaces and/or commas. | |
| */ | |
| fun decodeHex(input: String): String { | |
| return input | |
| .split(Regex("(\\s|,)+")) // Split into individual values |
I hereby claim:
To claim this, I am signing this object:
| // Program to encode/decode hexadecimal and ASCII/Unicode | |
| /** | |
| * Decodes a string of hexadecimal numbers into a string of characters. | |
| * | |
| * @param input A string with only valid HEX numbers separated by spaces and/or commas. | |
| */ | |
| def decodeHex(input: String): String = { | |
| input | |
| .split("(\\s|,)+") // Split into individual values |