Quand on programme (ou que l'on rédige), il est assez courant de devoir saisir des séquences récurrentes (du _boilerplate_). C'est probablement plus observable quand on écrit de code, où certaines constructions du langages, disposant de niveau d'expressivité différents, doivent être répétées très régulièrement. Dans cet article, je vous propose de découvrir [YASnippet](https://github.com/joaotavora/yasnippet) (pour _**Y**et **A**n other **S**nippet extension_), un système de _...| xvw.feed
This is a script that I use for backing up my OneDrive to a Nextcloud instance.| Alexandru Nedelcu - Blog
This is a script that I use for backing up my OneDrive to a Nextcloud instance.| Alexandru Nedelcu
This sample shows an HTTP server and an HTTP client that can cleanly cancel requests. It’s using Tapir and Sttp, with Netty and AsyncHttpClient backends, all powered by Cats-Effect.| Alexandru Nedelcu - Blog
When generating random numbers for certain use-cases, such as when generating keys / IDs, it’s recommended for the random function to be “cryptographically strong”. Otherwise, attackers could predict random values, enabling serious security vulnerabilities.| Alexandru Nedelcu - Blog
Today I was reminded how awesome Scala is for scripting, via Scala CLI. And it goes beyond having “batteries included”.| Alexandru Nedelcu - Blog
Kotlin Coroutines are usually integrated in Java code via Java’s CompletableFuture, but a tighter integration might be possible with Cats-Effect.| Alexandru Nedelcu - Blog
I self-host my blog, other websites, Matomo, Mastodon, etc. I love self-hosting. But I need monitoring, to be alerted when things go wrong, as my setup is getting more and more complex. So, I recently asked for help online, being in need of a monitoring system for my VPS, as I need simple, common-sense health alerts. I got a recommendation for M/Monit, which seems to work well. This article shows my configuration.| Alexandru Nedelcu - Blog
Snippet for when you’re using Circe and want to define custom Jackson serializers/deserializers from Circe’s codec definitions.| Alexandru Nedelcu - Blog
The following describes snippets for executing shell commands, in Java, Scala, and Kotlin, using standard functionality. It’s also useful to compare Java vs Scala vs Kotlin for this particular problem.| Alexandru Nedelcu - Blog
Unix has a long tradition with scripting — small programs represented as text files that can be inspected, modified, and executed. Scala can be used for scripting too.| Alexandru Nedelcu - Blog
You can recommend the required VSCode extensions per repository to your fellow programmers. This is what VSCode calls “workspace recommended extensions”.| Alexandru Nedelcu - Blog
Snippet for an impure way (no IO) to create a resource that can later be closed.| Alexandru Nedelcu - Blog
Snippet of code discussing Tagless Final vs OOP-style dependency injection.| Alexandru Nedelcu - Blog
Just a regular expression.| Alexandru Nedelcu - Blog
Snippet in plain F# with no dependencies. Features a neat shebang.| Alexandru Nedelcu - Blog
Helpers for integrating with cats.effect.IO.| Alexandru Nedelcu - Blog
Script for listing the used tags of a Jekyll directory of articles.| Alexandru Nedelcu - Blog
IOApp alternative, for Cats Effect v2, that can work with any effect type.| Alexandru Nedelcu - Blog
Defining a “runtime” for Cats-Effect v2 that provides the underlying environment necessary (i.e. ContextShift, Timer, Clock).| Alexandru Nedelcu - Blog
Unlawful/independent version of cats.effect.Effect.| Alexandru Nedelcu - Blog
Scala sbt setup for separating unit tests from integrationt tests.| Alexandru Nedelcu - Blog
Converts an Akka Streams Flow into an In => IO[Out] method, thus wrapping Flow into Cats-Effect’s IO.| Alexandru Nedelcu - Blog
For security, it’s not a good practice to keep sensitive data in RAM indefinitely.| Alexandru Nedelcu - Blog
Mimicking the HTTP error codes.| Alexandru Nedelcu - Blog
Remote debugging can be used to debug externally executed programs, useful to activate in sbt in order to keep using it while debugging with your favorite IDE.| Alexandru Nedelcu - Blog
Demonstrating Typescript’s untagged union types.| Alexandru Nedelcu - Blog
Cats-Effect’s Resource can’t be converted directly into a Reactive Streams Publisher. Beware!| Alexandru Nedelcu - Blog
Sample demonstrating that directly executing runnables in your ExecutionContext (with no stack-safety) is a really bad idea.| Alexandru Nedelcu - Blog
Python snippet for sending an email via SMTP.| Alexandru Nedelcu - Blog
Quickly encrypt a message or a file for sending to your colleagues over unsecure messengers (Slack, etc).| Alexandru Nedelcu - Blog
A fun Haskell sample that draws a Sierpinski triangle via ASCII characters.| Alexandru Nedelcu - Blog
Production-ready, Promise-enabled async queue.| Alexandru Nedelcu - Blog
Over the last several months there has been noticeable and growing pain associated with the evolving integration tests around snapd, and given the project goal of being a cross-distribution platform, we are very keen on solving this problem appropriately so … Continue reading →| Labix Blog
Mix And Jam post recreations of game mechanics, and they've recreated my favorite Barrel-Roller. … More Link: Star Fox’s Rail Movement by Mix And Jam on Youtube| Keith M. Programming
Home of Erik Runyon. Technical Director for Marketing Communications at the University of Notre Dame.| Erik Runyon
Home of Erik Runyon. Technical Director for Marketing Communications at the University of Notre Dame.| Erik Runyon
Home of Erik Runyon. Technical Director for Marketing Communications at the University of Notre Dame.| Erik Runyon
Home of Erik Runyon. Technical Director for Marketing Communications at the University of Notre Dame.| Erik Runyon