Character code (character) | Duration (ms) | Alias to | Pronounced as |
---|---|---|---|
27 (�) | 656 | None | Escape |
33 (!) | 1333 | None | Exclamation mark |
35 (#) | 409 | None | Hash |
36 ($) | 425 | None | Dollar |
37 (%) | 631 | None | Percent |
38 (&) | 329 | None | And |
43 (+) | 396 | None | Plus |
45 (-) | 706 | None | Dash |
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
#!/bin/bash | |
metrics() { | |
echo "# HELP node_hwmon_chip_info chip to model name mapping" | |
echo "# TYPE node_hwmon_chip_info gauge" | |
for file in /sys/class/hwmon/*; do | |
symlink_target="$(readlink $file)" | |
if [[ "$symlink_target" != *"/target"* ]]; then | |
continue | |
fi |
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
aaAAAAaaaaaaaAaAAaaAaAAaAaaaAAaaAaAaaaaAaaaaaaAaAaaaA aaAaaaaaAAAAAaaaaAAAAAaaaAaaAaaAaaaAAAAaaaaa aAAaaaAaaaAAAAaaaaaaAAAAAAaaaAaAAaaAaaAAaAaAaa oeauIoIiYEeUyEYuYyaIuUuAEuIoyeOaEyEOUuUyOOAuoYaA oOOOoOoooooOooooOOoOOooOOooOOOOOoOOooOoooOoOooooooOo aaAAAAaAAaaAAaAaAAAAAaaAaAaAAaAaaaAAaAaaaAaaaAAaaaA uUUuuuUUuuUuuUUUuUuUuuUuUuUuUuuuuuuUuUuUuuuu eeEEEeEeeeEeEEEeeEEeeEEEEeEeeeEEeEeEeeeeEeeeEEeee aaaaAaaAAAAAAaAaaaAaAaaaAAAAaaAAaaAAaAaaaaaa iIiIiIiIiiIiiIiIiIiIIiiIiIiIIIiiiIIiIIiIIIIIiiiIIiiII aAAaaAaAaaAaAAAaAAAaaAAAAaaaaAaaaAAaaAaaaAAaaaaaAaaA uuuUUUuUuUUuuUUuUuuuuUUuuUUuuUUuUUuUUUUUuUUUUUuUuUuUuuUUu yauiUioEAoeOeEeAiAYYaaIUeyaeeAYiiIyoiUUeyY yYyyyYyyyyyYyYYYyyYYyyYyYyYyYYYyYYYYyYYyYy yyYYYYyYyYYYyyyyYYYYyYyYYYYyyYYYYyyyYYyyyYYY eEEeeeeEeeeeeeeEeEeeEEeeeEEEeEEEeEEeeEEeeEEeeEE iiIIiiIiiIIIiiiiiiIiIIiIiIIiiIiiiIiiIiiIiIIIIIiiIii eeeEeEEEEEeEEeEEeEeeEEeeEeeeeEEeeEeeEeeeeee eEeeEEeEeeeeEEeEeEeeeeeeeEeeEEEEeEEeeeEeEEeeeeeEeEeEEE uUuUUuuUUuUUuuuuUUuUUUUUUUuUUUuUUuuUuuuUuuuuUuuuuuUUu uUuUuUUuuUUUUuUuUuUuUuuuUUuUUUUuUUU |
I hereby claim:
- I am tetyys on github.
- I am tetyys (https://keybase.io/tetyys) on keybase.
- I have a public key whose fingerprint is B437 616B 6E96 102F E8A2 3C30 9C36 8FA0 9AD8 229D
To claim this, I am signing this object:
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
#define zalloc(x) calloc(x, 1) |
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
char* IntegerToString(uint64_t value, char* result, int base) { | |
// check that the base if valid | |
if (base < 2 || base > 36) { *result = '\0'; return result; } | |
char* ptr = result, *ptr1 = result, tmp_char; | |
int tmp_value; | |
do { | |
tmp_value = value; | |
value /= base; |
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
/// <summary> | |
/// Dumps bytes in cool hex fashion to console | |
/// </summary> | |
/// <param name="In">Bytes</param> | |
/// <param name="Width">Width of table</param> | |
/// <param name="Char">Char for non-printable characters</param> | |
/// <returns></returns> | |
public static string PrintBytes(byte[] In, int Width = 8, char Char = '.') { | |
var sb = new StringBuilder(); | |
int size = In.Length; |