Mariusz Wyszomierski | DevBlog
open-menucloseme
Blog
Links icon
GitHub LinkedIn Twitter
About
🌐
Polski English
  • 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 …


    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 1curl -s "https://get.sdkman.io" | bash 2source "$HOME/.sdkman/bin/sdkman-init.sh" Main commands In …


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

    calendar2022-03-30 · 6 min read  ·
    Share on: twitterfacebooklinkedincopy
    How to change logging level when springboot 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 springboot applications in Wildfly with external properties

    calendar2020-08-13 · 3 min read  ·
    Share on: twitterfacebooklinkedincopy
    Deploy two springboot 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 springboot applications in Wildfly and how to externalize application properties for each application. The case is: deploy two springboot …


    Read More
  • Turn off “X-Powered-By” i “Server” headers in WildFly 10

    calendar2016-09-12 · 1 min read  ·
    Share on: twitterfacebooklinkedincopy
    Turn off “X-Powered-By” i “Server” headers in WildFly 10

    According to OWASP recommendations "Fingerprint Web Application Framework (OTG-INFO-008)" you must turn off specific headers, which are sent by application server or used framework. The less informations attacker knows, the harder it will be to attack. Below are instructions to run in jboss-cli in standalone …


    Read More
  • Mapping Dozer vs MapStruct

    calendar2016-03-23 · 3 min read  ·
    Share on: twitterfacebooklinkedincopy
    Mapping Dozer vs MapStruct

    In multi-tier applications there is often a need for mapping between two data models. In this article you can read about comparing two mapping libraries: Dozer (http://dozer.sourceforge.net/) - popular library, where mapping is configured by XML files MapStruct (http://mapstruct.org/) - library, which is used for …


    Read More
  • How to safety turn off Raspberry Pi?

    calendar2016-01-29 · 1 min read  ·
    Share on: twitterfacebooklinkedincopy
    How to safety turn off Raspberry Pi?

    RaspberryPi card doesn't have no default turn off button. You can't just disconnect it from power supply - it may cause problems with SD card. Firstly you should execute command: 1sudo shutdown -h now


    Read More
  • Generator .gitignore file

    calendar2016-01-27 · 2 min read  ·
    Share on: twitterfacebooklinkedincopy
    Generator .gitignore file

    What is .gitignore file? It's a file containing names or pattern names of directories and files, that should't be included in GIT repository. These are among others files generated by IDE - in case of IntelliJ IDEA it's a directory .idea and file with extension *.iml. Generator .gitignore On website …


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

Recent Posts

  • 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
  • How to change logging level when springboot application is running?
  • Deploy two springboot applications in Wildfly with external properties
  • Turn off “X-Powered-By” i “Server” headers in WildFly 10
  • Mapping Dozer vs MapStruct

Tags

DEVOPS 5 TOOLS 5 HARDWARE 4 RASPBERRY 4 JAVA 3 NETWORK 2 SPRINGBOOT 2 WILDFLY 2 ANSIBLE 1 DEPLOYMENT 1 DOZER 1 EFFICIENCY 1 GIT 1 LIBRARY 1
All tags
ANSIBLE1 DEPLOYMENT1 DEVOPS5 DOZER1 EFFICIENCY1 GIT1 HARDWARE4 JAVA3 LIBRARY1 LINUX1 MAPPING1 MAPSTRUCT1 NETWORK2 NMAP1 OWASP1 PERFORMANCE1 PRODUCTIVITY1 RASPBERRY4 RASPBIAN1 REDO1 REFLECTION1 SDKMAN1 SECURITY1 SPRINGBOOT2 TOOLS5 VNC1 WILDFLY2
[A~Z][0~9]
Mariusz Wyszomierski | DevBlog

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

to-top