This file contains 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
i350bb-pci-0400 | |
Adapter: PCI adapter | |
loc1: +45.0°C (high = +120.0°C, crit = +110.0°C) | |
coretemp-isa-0000 | |
Adapter: ISA adapter | |
Package id 0: +33.0°C (high = +81.0°C, crit = +91.0°C) | |
Core 0: +1.0°C (high = +81.0°C, crit = +91.0°C) | |
Core 1: +2.0°C (high = +81.0°C, crit = +91.0°C) | |
Core 2: +3.0°C (high = +81.0°C, crit = +91.0°C) |
This file contains 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
sub format_config | |
{ | |
my ($data, $indent) = @_; | |
# Default single indent equals 4 spaces | |
$indent ||= 4; | |
$indent = " " x $indent; | |
my $formatter = sub { | |
my ($conf_lref) = @_; |
This file contains 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
use Encode qw/encode decode/; | |
use HTML::Entities; | |
my $string = "Darf Kategorisierung verändern?"; | |
$string = decode("big5", $string); # big5 to internal utf8 -> utf8::is_utf8($string) is true | |
decode_entities($string); # decode HTML entities | |
$string = encode('utf8', $string); # internal utf8 to raw bytes, utf8::is_utf8($string) is false | |
say $string; # Darf Kategorisierung verändern? |
This file contains 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
lang=af, charset=utf-8, titles=1, auto=1 Afrikaans | |
lang=ar, charset=utf-8, titles=0, rtl=1 العربية | |
lang=be, charset=utf-8, titles=0 беларуская | |
lang=bg, charset=utf-8, titles=1 български | |
lang=ca, charset=utf-8, titles=1, auto=1 català | |
lang=cs, charset=utf-8, titles=0 čeština | |
lang=da, charset=utf-8, titles=1, auto=1 dansk | |
lang=de, charset=utf-8, titles=1, auto=1 Deutsch | |
lang=el, charset=utf-8, titles=0, auto=1 Ελληνικά | |
lang=en, charset=utf-8, titles=1 English |
This file contains 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
Perl implementation with generating Bootstrap pagination like output. |
This file contains 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
{ "channels":[ | |
{ | |
"id": "89489fa8-3b36-4e15-8553-64e2e255aaaa", | |
"name": "Ambient (philae.shoutca.st)", | |
"address": "http://philae.shoutca.st:9019", | |
"favourite": true, | |
"encoding": false | |
}, { | |
"id": "cdb42d47-cbc2-43b9-ab7e-4ae6c27b4b58", | |
"name": "Ambient (partyviberadio.com)", |