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
#!/usr/bin/perl | |
use strict; | |
use diagnostics; | |
#use warnings qw(all); | |
#no warnings qw(uninitialized); | |
no warnings; | |
use Data::Dumper; | |
use DateTime; |
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
# _plugins/details_tag.rb | |
module Jekyll | |
module Tags | |
class DetailsTag < Liquid::Block | |
def initialize(tag_name, markup, tokens) | |
super | |
@caption = markup | |
end |
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
#!/usr/bin/env perl | |
use JSON; | |
use Data::Dumper; | |
my $hash = { | |
foo => 'bar', | |
baz => { | |
'noch eine' => 'hash map', | |
'abc' => 42 |