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 mode.

$WILDFLY_HOME/bin/jboss-cli.sh --connect

(more…)

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:

(more…)

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 *.iml. (more…)

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 network is 192.168.0.15 you probably can access in browser “http://192.168.0.1/” to administration panel of router. (more…)

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. (more…)

Read More

Raspberry Pi

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

Posted By Mariusz Wyszomierski

What is needed?

  1. 8GB microSD recommended
  2. Raspberry Pi device
  3. Network cable for router connection

(more…)

Read More