Author: Mariusz Wyszomierski

Uncategorized

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

Posted By Mariusz Wyszomierski

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

Tools

Mapping Dozer vs MapStruct

Posted By Mariusz Wyszomierski

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

Read More

Raspberry Pi

How to safety turn off Raspberry Pi?

Posted By Mariusz Wyszomierski

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:
sudo shutdown -h now

Read More

Tools

Generator .gitignore file

Posted By Mariusz Wyszomierski

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

Read More

Raspberry Pi

How to set static IP address in Raspbian?

Posted By Mariusz Wyszomierski

Option 1 – set static IP address in router
Many routers have settings to assign static IP address based on MAC addres of network card.
Each router has different administration panel, so I won’t describe this option in detail.
If IP address of your local

Read More

Raspberry Pi

How to check address IP of newly connected Raspberry Pi?

Posted By Mariusz Wyszomierski

In this post i will show you how to check IP address of your raspberry after you connect it to network.

Read More

Raspberry Pi

How to install OS on Raspberry Pi without keyboard and screen?

Posted By Mariusz Wyszomierski

What is needed?

8GB microSD recommended
Raspberry Pi device
Network cable for router connection

Read More