Mariusz Wyszomierski | DevBlog
open-menucloseme
Blog
Links icon
GitHub LinkedIn Twitter
About
🌐
Polski English
  • Spring Boot application properties or yml in test resources is a code smell

    calendar2022-12-01 · 1 min read  ·
    Share on: twitterfacebooklinkedincopy
    Spring Boot application properties or yml in test resources is a code smell

    In several projects I've seen application.properties or application.yml files in test resources. These files were almost exactly the same as files in main resources. Each time developer adds a new configuration to file in main resources, he/she needs to update a file in test resources. It's definitely a code smell. …


    Read More
  • How to export files from git repository without change history?

    calendar2022-11-03 · 2 min read  ·
    Share on: twitterfacebooklinkedincopy
    How to export files from git repository without change history?

    Often, as a product to the customer, not only binary files are transferred, but also source codes of applications. It is then worth considering whether you want to transfer the entire GIT repository or only the source codes. If we were the recipient of a product, the history of file changes can be very valuable …


    Read More
  • Editable diagrams in PNG files created in diagrams.net (former draw.io)

    calendar2022-10-14 · 3 min read  ·
    Share on: twitterfacebooklinkedincopy
    Editable diagrams in PNG files created in diagrams.net (former draw.io)

    There is awsome, free and intensively developed tool for drawing diagrams and schematics - diagrams.net (former draw.io). The easiest way to use this tool is to work in a web application accessible through a browser.. There is a desktop option, which could be installed on Windows, Linux and MacOs. Example diagram: …


    Read More
  • SDKMAN use any matching java version

    calendar2022-09-13 · 2 min read  ·
    Share on: twitterfacebooklinkedincopy
    SDKMAN use any matching java version

    Unfortunately, we can't use any matching java version using sdkman. We must provide specific identifier like 11.0.12-open. Sometimes we need to set just java 11, which is installed, patch number and distribution don't matter. There is open issue on github #920 with proposal of this feature. SDKMAN autocomplete make it …


    Read More
  • redo - application for quick alias creation

    calendar2022-06-06 · 3 min read  ·
    Share on: twitterfacebooklinkedincopy
    redo - application for quick alias creation

    Redo1 is a tool for quick and easy alias creation from last invoked commands. Application hstr Check post about tool hstr, which also speed up work in terminal Installation Below script for installing 0.5.0 version. Before install, you should check newest version on GitHub: release redo. 1REDO_VERSION=0.5.0 2wget …


    Read More
  • Efficiently search and select commands from bash history

    calendar2022-04-30 · 2 min read  ·
    Share on: twitterfacebooklinkedincopy
    Efficiently search and select commands from bash history

    Some time ago, during the Devoxx conference, I noticed a very interesting tool used by the speaker. When he wanted to type in the console a command, which he had already typed before, terminal was shown a list of prompts. This makes working in the console more efficient. Navigating with the arrows By default, when we …


    Read More
  • Can't find java class using reflection

    calendar2022-04-27 · 2 min read  ·
    Share on: twitterfacebooklinkedincopy
    Can't find java class using reflection

    Today I'd like to share an interesting case that took me some time before I came to a solution. The case was about using reflection in unit tests to check if the established naming conventions are followed. Problem - reflection does not find all classes Let's assume a project that has 4 classes named: UsecaseA UsecaseB …


    Read More
  • SDKMAN - application to manage tools versions

    calendar2022-04-25 · 5 min read  ·
    Share on: twitterfacebooklinkedincopy
    SDKMAN - application to manage tools versions

    SDKMAN1 is a great tool for installing multiple versions of different tools and switching between versions easily. It is safe to say that it is a must-have for any programmer. Installation is very easy 1 curl -s "https://get.sdkman.io" | bash 2 source "$HOME/.sdkman/bin/sdkman-init.sh" Main commands In …


    Read More
  • How to change logging level when Spring Boot application is running?

    calendar2022-03-30 · 6 min read  ·
    Share on: twitterfacebooklinkedincopy
    How to change logging level when Spring Boot application is running?

    When we have a problem with reproducing the bug in local environment, it may be useful to view logs from environment where a bug could be reproduced. Usually it requires to change logging level to DEBUG or TRACE. We can do this by changing logging level in application preferences and then restart application. 1# …


    Read More
  • Deploy two Spring Boot applications in Wildfly with external properties

    calendar2020-08-13 · 3 min read  ·
    Share on: twitterfacebooklinkedincopy
    Deploy two Spring Boot applications in Wildfly with external properties

    Personally I prefer jar then war ("Make JAR, not WAR" - Josh Long), but sometimes we have constraints that are not depend on us. This example focus about how to deploy two Spring Boot applications in Wildfly and how to externalize application properties for each application. The case is: deploy two Spring …


    Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»

Recent Posts

  • Spring Boot application properties or yml in test resources is a code smell
  • How to export files from git repository without change history?
  • Editable diagrams in PNG files created in diagrams.net (former draw.io)
  • SDKMAN use any matching java version
  • redo - application for quick alias creation
  • Efficiently search and select commands from bash history
  • Can't find java class using reflection
  • SDKMAN - application to manage tools versions

Tags

DEVOPS 7 TOOLS 6 HARDWARE 4 JAVA 4 RASPBERRY 4 SPRING-BOOT 3 TIPS 3 GIT 2 NETWORK 2 SDKMAN 2 WILDFLY 2 ANSIBLE 1 ARCHITECTURE 1 BASH 1
All tags
ANSIBLE1 ARCHITECTURE1 BASH1 CODE-SMELL1 DEPLOYMENT1 DEVOPS7 DIAGRAMS1 DOZER1 EFFICIENCY1 GIT2 HARDWARE4 JAVA4 LIBRARY1 LINUX1 MAPPING1 MAPSTRUCT1 NARZĘDZIA1 NETWORK2 NMAP1 OWASP1 PERFORMANCE1 PRODUCTIVITY1 RASPBERRY4 RASPBIAN1 REDO1 REFLECTION1 SDKMAN2 SECURITY1 SPRING-BOOT3 TIPS3 TOOLS6 VNC1 WILDFLY2
[A~Z][0~9]
Mariusz Wyszomierski | DevBlog

Copyright  MARIUSZ WYSZOMIERSKI | DEVBLOG. All right reserved. Generated by Hugo. Template hugo-clarity.

to-top