yabs.io

Yet Another Bookmarks Service

Viewing mepage's Bookmarks

snippet delete ,

[https://notes.pinboard.in/u:mark.page/c2df3354ae09fb3e2c10] - - public:mepage
perl, snippet - 2 | id:1494935 -

sub discord { use LWP; use HTTP::Request; use JSON; my ($_a) = @_; my ($_r); my $_msg = { 'username' => 'chsm-ext', 'content' => $_a, }; my $_json = JSON->new->allow_nonref; my $_ua = LWP::UserAgent->new; my $_req = HTTP::Request->new(POST => 'https://discord.com/api/webhooks/'.$app->{'discord'}); $_req->content_type('application/json'); $_req->header("User-Agent" => "Perl Discord HookBot"); $_req->content($_json->encode($_msg)); $_r = $_ua->request($_req); return $_r; }

[https://notes.pinboard.in/u:mark.page/2605ce239a1ab7cec272] - - public:mepage
development, perl, snippet - 3 | id:1495723 -

my @now = localtime; $now[5] += 1900; $now[4] += 1; for my $l (0 .. (scalar(@now) - 1)) { $now[$l] = sprintf("%02d",$now[$l]); }

[https://notes.pinboard.in/u:mark.page/012a6f9640ecbe1d26b4] - - public:mepage
development, perl, snippet - 3 | id:1495727 -

my @sorted = map substr($_, 4) => sort map pack('C4' => /(\d+)\.(\d+)\.(\d+)\.(\d+)/) . $_ => keys $output;

[https://notes.pinboard.in/u:mark.page/4225413c26dfc6b40de3] - - public:mepage
development, perl, snippet - 3 | id:1496108 -

my @d = localtime; $d[5] += 1900; $d[4] += 1; for my $l (0 .. (scalar(@d) - 1)) { $d[$l] = sprintf("%02d",$d[$l]); }

[https://notes.pinboard.in/u:mark.page/6d0a244666446b3934b1] - - public:mepage
development, perl, snippet - 3 | id:1496121 -

for my $s (0 .. (scalar(@source_list) - 1)) { print " - Loading: $source_list[$s]\n"; push(@sources,do "$srpz_home/sources/$source_list[$s]\.pl"); }

With marked bookmarks
| (+) | |

Viewing 1 - 5, 5 links out of 5 links, page: 1

Follow Tags

Manage

Export:

JSONXMLRSS