Single Page Application

As the last post of the year, I am posting my attempt at a simple "Single Page Application". A single-page application (SPA) is a web application or website that interacts with the user by dynamically rewriting the current web page, instead of the default method of loading entire new pages. The goal is faster transitions that make the website feel more like a native app. ...

DIY REST API

https://codeburst.io/this-is-how-easy-it-is-to-create-a-rest-api-8a25122ab1f3 How to write an REST API using bottle py add authentication Just add a PSK string in the header. The PSK is created in a web ui. And it is given an expiration date. ...

javascript snippets

Compute how an element is hidden Iterate over LI elements Adding/removing classes to/from elements Get current date as YYYY-MM-DD escape HTML characters ...

void development

base devel base-devel cross compiling +cross-aarch64-linux-musl Pi cross-compiling. ...

2023-12-31-typescript

Duktape typescript-script Script that use "typescript" on a browser. https://github.com/niutech/typescript-compile Script that use "typescript" on a browser. ...

Using 7z for benchmarks

Syntax LZMA benchmark details LZMA benchmark in multithreading mode 7-Zip benchmark Examples ...

virtual AD testing

Creating a virtual AD controller https://www.freeipa.org/page/Setting_up_Active_Directory_domain_for_testing_purposes http://stef.thewalter.net/how-to-create-active-directory-domain.html Join a Samba Server to AD ...

svgbob tips

Syntax: https://ivanceras.github.io/content/Svgbob/Specification.html online editor: https://ivanceras.github.io/svgbob-editor/ another editor: https://asciiflow.com/legacy/ editor in perl + gtk: https://metacpan.org/dist/App-Asciio/view/lib/App/Asciio.pm ...

Windows on Flatpaks

Continuation to flatpaks https://www.addictivetips.com/ubuntu-linux-tips/set-up-winepaks-on-linux/ https://github.com/winepak/applications https://www.reddit.com/r/linux_gaming/comments/xlpkpn/tips_install_and_use_wine_using_flatpak/ https://wiki.winehq.org/Winetricks ...

Filesystem discard

Now with the prevalence of SSD's for storage, it is important to make sure that the DISCARD opeartion is used. This is specially true as this can increase the lifetime of your flash storage by reducing the need to re-map blocks by simply marking them as freed. ...

Developer driven lists

https://github.com/agamm/awesome-developer-first https://free-for.dev/#/ https://github.com/awesome-selfhosted/awesome-selfhosted https://github.com/awesome-foss/awesome-sysadmin https://github.com/topics/awesome ...

2024-12-31-wayland-gotchas

So the day of wayland is coming. As of today the gotchas I have are: vnc on the desktop wayvnc (required wlroots) ...

NEW YEAR 2025

This year this Blog would have been up and running for 12 years! Happy new year sticker created by Icon home - Flaticon ...

2024-12-31-pydev2

Adding SSL and validate certificates Server side ssl server https server ...