Jekyll2026-01-14T19:45:32+00:00https://publicstaticvoidmain.cz/feed.xmlIvo Šmíd homepageThis is my personal homepage. From time to time I will put here posts about interesting topics I was digging deeper. Ivo SmidRunning Docker in Docker with shared Volume mounts from Host filesystem using Windows (and WSL)2026-01-14T00:00:00+00:002026-01-14T00:00:00+00:00https://publicstaticvoidmain.cz/docker/testcontainers/mount/volume/wsl/dind/2026/01/14/docker_in_docker_with_share_mounts_windows_and_wslIn the article we will show mounting shared Host filesystem and running Docker container from already started Docker container (Docker in Docker). We will walk through running solely from Windows command line or using WSL terminal.

All documentation and source-code could be found here https://github.com/bedla/docker-inception-mount.

]]>
Ivo Smid
Docker & Testcontainers - File owner when running with or without user specified2025-12-22T00:00:00+00:002025-12-22T00:00:00+00:00https://publicstaticvoidmain.cz/docker/testcontainers/mount/2025/12/22/docker_testcontainers_mounted_created_files_ownerIn this example we will show what is the difference between creating file inside mounted directory with container started with or without user/group specified.

We are running examples using WSL, to mimic standard Host Linux filesystem. Later we will show that running same directly using Windows command line/PowerShell does not have same issue, like we have with Linux filesystem.

All documentation and source-code could be found here https://github.com/bedla/testcontainers-created-host-file-owner.

]]>
Ivo Smid
Kotlin Coroutines internal behavior when exceptions are thrown and/or Jobs are canceled2025-07-30T00:00:00+00:002025-07-30T00:00:00+00:00https://publicstaticvoidmain.cz/kotlin/coroutines/2025/07/30/kotlin_coroutines_cancellation_jumping_exceptionIn this sample application I want to describe strange behavior of Kotlin Coroutines I found.

All documentation and source-code could be found here https://github.com/bedla/kotlin-coroutines-cancellation-jumping-exception.

]]>
Ivo Smid
OWASP Top 10 2021 - Sample projects2024-01-28T00:00:00+00:002024-01-28T00:00:00+00:00https://publicstaticvoidmain.cz/owasp/security/vulnerabilities/2024/01/28/owasp_top10_examplesIn this tutorial I want to describe few sample projects that show various OWASP Top 10 problems in detail.

  • A01 Broken Access Control
    • Eelevation of privilege
    • Insecure direct object references
  • A03 Injection
    • Remote Code Execution
    • SQL injection
  • A05 Security Misconfiguration

Whole content with source-code could be found here https://github.com/bedla/owasp_top10-2021.

]]>
Ivo Smid
RabbitMQ Audit log2023-11-16T00:00:00+00:002023-11-16T00:00:00+00:00https://publicstaticvoidmain.cz/rabbitmq/audit/2023/11/16/rabbitmq_auditlogIn this tutorial I want to show how consume Audit log events fired by RabbitMQ.

Whole content with source-code could be found here https://github.com/bedla/rabbitmq-auditlog.

]]>
Ivo Smid
MSSQL and its locking of the DB objects2023-04-05T00:00:00+00:002023-04-05T00:00:00+00:00https://publicstaticvoidmain.cz/mssql/locking/2023/04/05/mssql_lockingIn this tutorial I want to show how following scenarios of MSSQL locking works in the detail:

  • Lock escalation threshold detection
  • Locking transaction for defined time - with MVCC
  • Behavior of row locking on column with or without index

Whole content with source-code could be found here https://github.com/bedla/mssql-locking.

]]>
Ivo Smid
Boolean expression evaluated, converted and persisted to MSSQL hiearchyid data type2022-04-21T00:00:00+00:002022-04-21T00:00:00+00:00https://publicstaticvoidmain.cz/mssql/ast/expression-evaluation/antlr/2022/04/21/boolean_expression_evaluated,_converted_and_persisted_to_mssql_hiearchyid_data_typeIn this tutorial I want to show how to use ANTLR to define API between FE, BE and DB to be able to store and process simple boolean expressions defined by the user on front-end.

Whole content with source-code could be found here https://github.com/bedla/expression-visitor-hierarchyid.

]]>
Ivo Smid
Complex example how to use Testcontainers with various development scenarios2022-03-29T00:00:00+00:002022-03-29T00:00:00+00:00https://publicstaticvoidmain.cz/testcontainers/postgresql/docker/jooq/redis/2022/03/29/complex_example_how_to_use_testcontainers_with_various_development_scenariosIn this tutorial I want to show how to use Testcontainers with various development scenarios.

Whole content with source-code could be found here https://github.com/bedla/spring-boot-postgres-testcontainers.

]]>
Ivo Smid
MSSQL implicit data type conversion2022-03-23T00:00:00+00:002022-03-23T00:00:00+00:00https://publicstaticvoidmain.cz/mssql/data-type/conversion/2022/03/23/mssql_implicit_data_type_conversionIn this tutorial I want to show how MSSQL is doing implicit conversion when using UNION ALL between various data-types.

Whole content with source-code could be found here https://github.com/bedla/mssql-db-datatype-unionall.

]]>
Ivo Smid
Usage of Spring’s AbstractRoutingDataSource with nested calls to different data sources2021-12-13T00:00:00+00:002021-12-13T00:00:00+00:00https://publicstaticvoidmain.cz/testcontainers/postgresql/docker/jooq/redis/2021/12/13/usage_of_springs_abstractroutingdatasource_with_nested_calls_to_different_data_sourcesIn this tutorial I want to show what is the problem when using Spring’s AbstractRoutingDataSource with nested calls to different data sources.

Whole content with source-code could be found here https://github.com/bedla/spring-routing-datasource.

]]>
Ivo Smid