• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4251 shaares
1 / 7
Filters
140 results tagged perl

GitHub - obra/Youtube2Webpage: I learn much better from text than from videos

QRCode

I learn much better from text than from videos.

Youtube-to-Webpage is a Perl script to create a webpage from a Youtube video with a transcript generated from the video's closed captions paired with screenshots of the video.

./yt-to-webpage.pl project-name "videoURL"

https://github.com/obra/Youtube2Webpage
July 15, 2025 at 11:18:20 AM EDT *
perl youtube
FILLER

Generating Content with ChatGPT - Perl Hacks

QRCode

Back in January, I wrote a blog post about adding JSON-LD to your web pages to make it easier for Google to understand what they were about. The example I used was my ReadABooker site, which encourages people to read more Booker Prize shortlisted novels (and to do so by buying them using my Amazon

https://perlhacks.com/2025/06/generating-content-with-chatgpt/
June 20, 2025 at 2:49:13 PM EDT *
perl openapi chatgpt llm
FILLER

Please add info into DOC how to run PSGI under CGI · Issue #566 · plack/Plack · GitHub

QRCode

Please put this into synopsys of 'plackup' $ SCRIPT_NAME='/' REQUEST_METHOD='GET' SERVER_NAME='www.test' SERVER_PORT='5000' plackup -s CGI t.pl

Also:

https://github.com/plack/Plack/issues/598
https://github.com/plack/Plack/issues/147
https://github.com/plack/Plack/pull/159/files
https://github.com/plack/Plack/pull/217
https://github.com/plack/Plack/pull/235

https://github.com/plack/Plack/issues/566
May 5, 2025 at 11:06:51 AM EDT *
perl plack psgi cgi
FILLER

jwz: Now I have two problems (Mastodon PHP comments)

QRCode

Lazyweb, why doesn't this regexp match in Perl 5.32.1, 5.34.3 or 5.18.2 but does in PHP and JS: perl -le 'print 0 + ("ABCDE" =~ m/ABCF|BCDE|C(G)/);' Changing nearly any character, including the C before the G, or removing the parens, makes it match.

https://www.jwz.org/blog/2025/01/now-i-have-two-problems/
May 2, 2025 at 1:35:37 PM EDT *
mastodon php perl eleventy
FILLER

Mojolicious and Docker - DEV Community

QRCode

This post plans to illustrate how you can build and dockerize and Mojolicious application and solve... Tagged with docker, perl, devops, mojolicious.

https://dev.to/dragostrif/mojolicious-and-docker-939
May 1, 2025 at 11:00:28 AM EDT *
docker mojolicious perl
FILLER

GitHub - enlightened-perl-organisation/Conference_Video: Tracking the Conference Video Initiative

QRCode

Tracking the Conference Video Initiative. Contribute to enlightened-perl-organisation/Conference_Video development by creating an account on GitHub.

https://github.com/enlightened-perl-organisation/Conference_Video
July 15, 2024 at 2:26:28 PM EDT *
github video perl
FILLER

Build a Better README - Jason A. Crome - TPRC 2024

QRCode

#tprc2024 #perl #readme

Your project's README stinks. Let's make it better, together!Your project's README on Github is your project's landing page, your one chance to land a solid first impression with a new user. So why are so many READMEs so boring? With minimal effort, you can make a lasting impression that win over users who might otherwise move on to another project instead.

Jason Crome will show you some techniques for making an eye-popping README for your project, using Request Tracker, Dancer, and other popular projects as models for what can be done. By the end of this short talk, you'll be able to take your project's README to the next level and set yourself apart from other open source projects.

https://github.com/matiassingers/awesome-readme

https://github.com/dec0dOS/amazing-github-template

https://youtu.be/vfZuFo1gTB8?si=ZawgdIz_950a674N
July 10, 2024 at 11:12:13 AM EDT *
perl youtube readme
FILLER

Collaborators needed for bring full OpenAI support to Perl

QRCode

Thus, that module was deprecated in favor of Nelson's OpenAPI::Client::OpenAI module. Throw the 13K+ lines OpenAPI spec for OpenAI at it and it just works. Further, the module is pretty much a single Perl class rather than a bunch of hand-crafted code.

CPAN authors know it can be hard to keep modules up-to-date (mea culpa, mea culpa!) and this module is no exception. I need this module so I offered to collaborate and created a PR to update it to version 2.0.0 of the OpenAI spec. It now passes all the tests (for those wondering, you need an OpenAI key and it costs $0.04 USD to run the test suite).

In trying to build a Whisper pipeline for that, I found that I couldn't. There was a PR for Whisper support for the older module, but for the newer one, I can't figure out how to get it to issue a request with multipart/form-data support. I've noted the issue in the PR.

https://www.reddit.com/r/perl/comments/1cwa4zd/collaborators_needed_for_bring_full_openai/?rdt=43096
May 20, 2024 at 2:34:47 PM EDT *
llm openapi perl
FILLER

Perl Advent Calendar 2014 - PSGI, Enabling Modern Web Technology in Perl

QRCode

In recent years we've seen an explosion of powerful web technologies in Perl not at the least due to the creation of the PSGI specification.

Plack provides the Plack::Middleware class that makes the process of modifying the response easier, and along with Plack::Util helps us deal with the slightly more complex cases where there's a callback for a response from our inner class:

Plack::Test

Another great thing about abstracting away the actual webserver that our PSGI application is talking to is that we don't actually have to have a real webserver at the outer layer at all! If we just want to test our application we can do this in process by just sending input to the anonymous subroutine and examining the return values.

https://perladvent.org/2014/2014-12-04.html
June 26, 2023 at 9:59:30 AM EDT *
perl psgi
FILLER

Sereal — a binary data serialization format | by booking.development | Booking.com Engineering | Medium

QRCode

By: Steffen Müller, Yves Orton, Damian Gryski, Chris Veenboer, Rafaël Garcia-Suarez, Ævar Arnfjörð Bjarmason As with many things in computing, serialization of data structures is a game of…

https://github.com/Sereal/Sereal

https://medium.com/booking-com-development/sereal-a-binary-data-serialization-format-f5ebd6ede507
June 8, 2023 at 10:14:10 AM EDT *
perl json data database sql mssql
FILLER

Moving from CGI to PSGI and Starman

QRCode

Moving from an old CGI application to Plack/PSGI in CGI mode and to running it in the Starman application server.

https://perlmaven.com/from-cgi-to-psgi-and-starman
May 8, 2023 at 3:49:54 PM EDT *
perl plack cgi psgi
FILLER

Goal - Mission Statement | Gabor

QRCode

Goal - Mission Statement

Help individual people and teams to improve their skills and processes so they can create better quality software faster while they enjoy their work more. So in the end they will have a better job. All this while I enjoy my work and make enough money to sustain my life.

https://szabgab.com/goal.html
May 8, 2023 at 3:46:09 PM EDT *
perl mission
FILLER

Introduction - From Perl to Rust

QRCode

Many introductions to Rust already exist. Most of them are aimed at C++ programmers. That makes sense, but lots of folks are coming to Rust from other languages now.

My current1 day job is mostly Perl. It occurred to me that an introduction to Rust aimed at people who already know Perl could be useful.

https://oylenshpeegul.gitlab.io/from-perl-to-rust/introduction.html
May 8, 2023 at 8:42:07 AM EDT *
perl rust programming
FILLER

Types in JSON | Choroba | The Perl Conference in Glasgow - Day 1 - 2018

QRCode

Join us for the first day of TPCiG, in the cPanel Theatre.

Schedule: https://act.perlconference.org/tpc-2018-glasgow/schedule?day=2018-08-15
Live Chat: On IRC at irc.perl.org #yapc

How should we deal with numbers vs strings in JSON? Perl doesn't care!

Cpanel::JSON::XS::Type to the rescue! I'll explain its motivation, show usage and possible traps, describe the implementation, and discuss related problems in other modules.

https://youtu.be/KrGSg7uVZj0?t=10748
May 4, 2023 at 11:38:33 AM EDT *
youtube perl json
FILLER

Thomas Klausner. Deploying Perl Apps using Docker, Gitlab & Kubernetes

QRCode

PerlCon 2019 Rīga — Day 1 — 7 August 2019

https://perlcon.eu/talk/27

Some time ago we had the glorious idea to deploy our code into the cloud. The Google cloud, to be specific. This means we had to learn Kubernetes (to manage and scale our apps), Docker (to pack the apps into containers), gitlab CI (to automate the deployment process) and a whole lot more.

In this talk I'll explain the basics of Kubernetes, Docker and CI; describe how to make your app code cloud ready; and show you our current deployment pipeline.

Be prepared to see Perl, YAML, bash, Makefiles and other horrors required for smooth sailing in the clouds.

https://www.youtube.com/watch?v=Wszrg6kQzPU
May 1, 2023 at 10:57:05 AM EDT *
perl docker
FILLER

Day 1 Zoopla Theatre Diego Kuperman A Bag of Mojo Sweets

QRCode
https://www.youtube.com/watch?v=ogCUL7p6L0I
April 17, 2023 at 2:09:51 PM EDT *
mojolicious perl
FILLER

Day 3: Zoopla Theatre: Mark Overmeer - Apache in Pure Perl

QRCode

From its start, Perl comes with most (Unix) core operating system trickery like forks, events and signals. So, you can implement real performing daemons for interesting tasks.

We will get into various features which show how straight-forward it is to implement an Apache-like webserver, with VirtualHosts, proxies, etc.

But we start by discussing many options how to set-up servers: processes, event-loops, and so on... before we reach to HTTP-servers processing requests.

Any::Daemon

  • Use Apache as your front end ~30:00
https://www.youtube.com/watch?v=cOmev2nl_1M
April 17, 2023 at 10:55:19 AM EDT *
perl apache webdesign http psgi
FILLER

GitHub - learnbyexample/learn_perl_oneliners: Example based guide for text processing with perl from the command line

QRCode

Example based guide for text processing with perl from the command line - GitHub - learnbyexample/learn_perl_oneliners: Example based guide for text processing with perl from the command line

https://github.com/learnbyexample/learn_perl_oneliners
April 17, 2023 at 10:42:19 AM EDT *
perl linux terminal
FILLER

Day 23: One-Liners for Fun and Profit

QRCode

Mojo one-liners are just Perl one-liners. You will use -E (or -e) to write the program. You might use -n to loop over input, or -p to do the same while printing $_ after each item, just like normal one-liners.

To get the extra Mojo goodness, add -Mojo. The name itself is a cute hack. Since -M is what loads a module on the command line, the module name is therefore ojo.

https://mojolicious.io/blog/2017/12/23/day-23-one-liners-for-fun-and-profit/index.html
April 17, 2023 at 10:36:41 AM EDT *
perl mojolicious linux
FILLER

[doc] Is there a way to open FH with :utf8 flag? · Issue #19059 · Perl/perl5 · GitHub

QRCode

Where IO::Handle Description I did not find how to open file with :utf8 flag.

https://perldoc.perl.org/Encode#UTF-8-vs.-utf8-vs.-UTF8

https://www.effectiveperlprogramming.com/2011/08/know-the-difference-between-utf8-and-utf-8/

https://github.com/Perl/perl5/issues/19059
March 27, 2023 at 10:40:33 AM EDT *
perl unicode
FILLER
1 / 7
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community