-
Flutter/Dart: Data persistence
There are different approaches to making the data of a flutter App persistent. Here are some examples. Here in the flutter documentation, you can read about those possibilities: https://docs.flutter.dev/cookbook/persistence/ So, here in this post, I’m writing about the same three approaches introduced in the flutter documentation but I’m adding my own experiences while trying out…
-
JavaScript: Mixed topics
How to check an undefined value? In JavaScript we have different type of undefined values: Converting data type From String to Integer From String (with thousands separator) to Integer Date and time operations Get date time in YYYY-MM-dd hh:mm:SS format JSON operations Logging of JSON Data The following examples show different ways to log a…
-
ASP.NET Web API, Blazor, Authentication: Mixed topics
The following post is an attempt to describe one potential solution of a simple application with an ASP.NET Web API backend and a Blazor WebAssembly frontpage with some form of authentication: ASP.NET WebAPI & Blazor WebAssembly This post is a compilation of topics and troubleshooting notes that might be useful for implementing a simple ASP.NET…
-
Cypress: Single and multicriteria selections
Introduction This post contains a list of combinations of selection commands involving single and multiple criteria. The command examples often do a little bit more than selecting an element but the main thing is the selection, the rest is just to give some ideas in which context that selection command could be used for example.…
-
WebAssembly Blazor: local storage
In this post, we discuss an example of a WebAssembly Blazor application using the browser’s local storage. We create a dummy Login page that stores the authentication state persistently in the local storage. Of course, because this is a dummy Login page no real authentication happens here, we just want to demonstrate how we can…
-
Markdown: Mixes topics
Nested list The following screenshot shows how you can enter a nested list. On the left side you see the markdown code for a nested list and on the right side you see the markdown preview: Referencing other headings The following example shows how we can add a reference to another section (heading) on the…
-
Cypress: Items selection
Dropdowns Simple dropdown In case of a simple dropdown, where you can only select one item at a time, a dropdown with a HTML code like this: You can select an item by just using its text: cy.get(‘#someDropdownId‘).select(‘someItemText‘); Handling multiple results Selecting the nth element Assuming you have an element like this on your page:…
-
Amazon affiliate program
There are many ways to monetize a blog. One popular way to achieve that goal is so-called affiliate marketing. The idea behind affiliate marking is that the publisher of a website (or any other site with content and audience for example a YouTube channel or a social media account …) does some marketing for a…
-
WordPress: Twenty Twenty-two theme & Search bar
Overview As you are adding posts to your WordPress blog you make it harder and harder for the visitors to find individual or related posts. As usual with WordPress there is more than one solution to this problem. For one, WordPress itself offers an out-of-the-box search block that can be added to the page. But…
-
Flutter/Dart: Mixed topics
Button types IconButton Here is an example of the usage of the buttons of the type IconButton: The button would look like this on the GUI: