Automatic traslated by gemma4:e4b.
Ligature fonts in Visual Studio Code and the terminal using Cascadia Code.
This app uses data from Entur to show live departures from Norwegian public transport. It’s built with the JourneyPlanner API and is the first app I’ve created using vibe coding.
Automatic traslated by gemma4:e4b.
Ligature fonts in Visual Studio Code and the terminal using Cascadia Code.
Automatic translated from norwegian by qwen3.5:9b.
It can’t be denied that large language models are useful. I myself have used them to learn both vibe coding and agent coding. But I can’t trust them. They lead me blindly into wrong tracks and encourage me to continue down dead ends. And not to mention all the irrelevant and wrong information they come with. They produce wall after wall of text just from the smallest question. You end up getting tired of less.
[Read More]From Wikipedia: The YubiKey is a hardware authentication device manufactured by Yubico to protect access to computers, networks, and online services that supports one-time passwords (OTP), public-key cryptography, and authentication, and the Universal 2nd Factor (U2F) and FIDO2 protocols developed by the FIDO Alliance.
[Read More]From Wikipedia: The YubiKey is a hardware authentication device manufactured by Yubico to protect access to computers, networks, and online services that supports one-time passwords (OTP), public-key cryptography, and authentication, and the Universal 2nd Factor (U2F) and FIDO2 protocols developed by the FIDO Alliance.
To get up and running on a new machine with minimal fuss.
.bashrcWhen you are not logged in via SSH, start the gpg-agent. Copy and paste into your terminal to append the configuration to your current .bashrc.
Why should you encrypt your disc in the first place? It’s for your own privacy. It’s to ensure that personal data doesn’t go astray.
[Read More]Notes on bootstrapping Raspberry Pi OS. This blog post is written in the heavy influence of a cold. Take care with your copy and pasting. No more information at the point.
[Read More]Bootstrap Raspberry Pi Zero 2 W with Ubuntu using cloud-init. OTG configured as network card, WiFi, ssh-keys from GitHub and zram swap enabled. All examples are made to be run on a Fedora Desktop. Adjust scripts if you use another distro.
[Read More]From Wikipedia: WireGuard is a communication protocol and free and open-source software that implements encrypted virtual private networks (VPNs), and was designed with the goals of ease of use, high speed performance, and low attack surface.
[Read More]Earlier we looked at how we could use Ubuntu cloud images with KVM. Now we will use the libvirt cli virsh and virt-install to do the same process. virt-install is a part of the virt-manager supporting tools.
This only need to be done once, or when you want to update the cloud image.
wget https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
virsh vol-create-as default focal-server-cloudimg-amd64.qcow2 20G
virsh vol-upload focal-server-cloudimg-amd64.qcow2 focal-server-cloudimg-amd64.img --sparse --pool default
Now we use the cloud image as a template for all our new VMs. Change the size and virt-install parameters to make it your own.
mtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool.
[Read More]Ubuntu are using cloud-init for their cloud images. This can be used in combination with libvirtd and kvm to pre-configure your virtual machine at boot.
How to convert a root file system on a Raspberry Pi 4 b running Ubuntu 20.04 64 bit to Btrfs in a few simple steps.
[Read More]Excerpt from Wikipedia: Pi-hole is a Linux network-level advertisement and Internet tracker blocking application which acts as a DNS sinkhole and optionally a DHCP server, intended for use on a private network. It is designed for use on embedded devices with network capability, such as the Raspberry Pi, but it can be used on other machines running Linux, including cloud implementations.
Configuring PiHole to resolve IP towards Quad9, which is currently the best public available malware domain filtering DNS service. On top of that you can add your own lists. Recommended lists are the two below.
[Read More]Excerpt: The Linux vanilla kernel repositories for Fedora offer RPM packages containing vanilla builds of different Linux kernel version lines. These packages are meant for Fedora users that want to access the latest Linux kernels quickly and comfortably; either the latest mainline kernel, the latest stable kernel or a vanilla variant of the Linux kernel version line Fedora uses currently.
Link: https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories
Excerpt from man: Snapper is a command-line program for filesystem snapshot management. It can create, delete and compare snapshots and undo changes done between snapshots.
Snapper never modifies the content of snapshots. Thus snapper creates read-only snapshots if supported by the kernel. Supported filesystems are btrfs as well as snapshots of LVM logical volumes with thin-provisioning.
[Read More]Excerpt: just a simple guide for getting started with git. no deep shit ;)
[Read More]From Wikipedia: Chess is a two-player strategy board game played on a checkered board with 64 squares arranged in an 8×8 square grid.
[Read More]From Wikipedia: Origami (折り紙, Japanese pronunciation: [oɾiɡami] or [oɾiꜜɡami], from ori meaning “folding”, and kami meaning “paper” (kami changes to gami due to rendaku)) is the art of paper folding, which is often associated with Japanese culture. In modern usage, the word “origami” is used as an inclusive term for all folding practices, regardless of their culture of origin.
[Read More]Excerpt from man intel, option “TearFree”: Disable or enable TearFree updates. This option forces X to perform all rendering to a backbuffer prior to updating the actual display. It requires an extra memory allocation the same size as a framebuffer, the occasional extra copy, and requires Damage tracking. Thus enabling TearFree requires more memory and is slower (reduced throughput) and introduces a small amount of output latency, but it should not impact input latency. However, the update to the screen is then performed synchronously with the vertical refresh of the display so that the entire update is completed before the display starts its refresh. That is only one frame is ever visible, preventing an unsightly tear between two visible and differing frames. Note that this replicates what the compositing manager should be doing, however TearFree will redirect the compositor updates (and those of fullscreen games) directly on to the scanout thus incurring no additional overhead in the composited case. Also note that not all compositing managers prevent tearing, and if the outputs are rotated, there will still be tearing without TearFree enabled.
This is a copy from the ZXing repo wiki pages at commit hash 3110236. ZXing is an open-source, multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages.
Much has been said about 2D barcodes, and the discussion has focused on the format of the 2D barcode itself – QR Code, Data Matrix, and so on. But equally important is the format of what the barcode itself encodes.
2D barcodes encode text, generally, but that text can represent many things. Commonly, 2D barcodes encode text that represents a URL, like https://google.com/m. This is a special string of text since it is recognizable as a URL by readers, and therefore can be acted upon: the reader can open the URL in a browser.