Some months ago I wrote an
article about the smartcard
and shown a possible way to initialize communication with it on Arch Linux
and the notebook equipped with smartcard reader, in my case a trusty T470.
The basis for making the smartcard reader work is to install the required
p…
The story from yesterday
actually started by trying to upgrade Gitea from the 1.14 branch which I
was running, precisely 1.14.7 by the time of writing, to the branch 1.15,
or more precisely again, to the version 1.15.4.
I postponed the upgrade to the 1.15 because even though Gite…
Being too occupied with the work for previous two months left me with
absolutely no time for server maintenance. Especially the kind of
maintenance that needs some thought or research before being being done
properly.
One of the things that got neglected this way is the VPS free …
Just a quick snippet about how to do polling the Svelte way.
import { onDestroy } from "svelte"
let interval
const poll = () => {
clearTimeout(interval)
Inertia.reload()
interval = setTimeout(poll, 1000)
}
poll()
onDestroy(() => clearTimeout(interval))
…
Hopefully I got back to writing again. I could not find time for anything
else than the project I tried too hard to finish. This day hopefully marks
the sweet little feeling described as project is finished that can be
tasted for a brief while until engaged in the next project. T…
Using Drag & Drop is probably easier than ever due to virtually unlimited
supply of new front-end libraries appearing every day. Making Drag & Drop
for a sortable trello-like boards or for file uploads work in the browser
is thus becoming a matter of importing a module an…
A short snippet that makes it possible to test if
preserveScroll feature
is enabled in InertiaJS. Can be used as a part of Test-Driven Development
process (TDD). The snippet can probably be adapted for other scroll related
tests, but is especially geared towards the InertiaJS fea…