Tools worth knowing

Use what can speed you up. Remove barriers and obstacles. Enlarge your comfort zone.

Contains videos. Watching on Chrome / Chromium recommended.

Tomasz Borek, @LAFK pl,

How many times

are you stopped, slowed down, impeded - daily - due to an obstacle?

50+

About me

LAFK pl

In the net

LAFK pl wSieci

EPAM [Pre]Academy

  1. PreAcademy - free, 5 months, 3 lectures a week, really large coding task, online

  2. Academy - 3-4 months, on-site, 9 books, 3 projects, hands-on training

JavaAcademy

Problem?

tool

Install info

if needed, if larger - screenshot or link

How to use?

often code or commands

followed by a demo, as image or video

Outdated dependencies?

mvn versions

Install not required

just use

How?

mvn versions:display-property-updates
mvn versions:display-plugin-updates
mvn versions:display-dependency-updates
Demo of all 3 goals

Vulnerable dependencies?

mvn com.redhat.victims.maven:security-versions
mvn org.owasp:dependency-check-maven

Install not required

just use

How?

mvn com.redhat.victims.maven:security-versions:check
mvn org.owasp:dependency-check-maven:check
Demo for both
plugin details have changed since. Consult the slides above.

Fake real data generation?

jfairy

Install

as maven dependency (see links)

How

Fairy fairy = Fairy.create();
Person person = fairy.person();
Company company = fairy.company();
fairy.person(PersonProperties.withCompany(company));

Working with different Javas?

sdkman

Install in 1 command

curl -s "https://get.sdkman.io" | bash

there are options for Windows install as well (WSL, Cygwin, Git Bash).

How?

sdk update
sdk upgrade
sdk ls
Demo

Different…​ other things?

asdf

From PostgreSQL to NodeJS

Install

  1. Linux and/or MacOS

  2. get git and curl

  3. clone the repo

git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.8.1

4dev21 asdf install

Settings per project?

  1. sdk env - https://sdkman.io/usage#env

  2. asdf and .tool-versions - https://asdf-vm.com/#/core-configuration

  3. Editor Config

  4. .env files

Editor Config

  1. https://editorconfig.org/

  2. no install, editors have bundled support

  3. settings for all editors, languages, etc.

.env per language

Document and enhance WS API?

Enunciate

Install - most complex so far

still not very much but not enough time so I’ll instead direct you to:

How?

mvn -f enunciate-sample-webapp/pom.xml cargo:run

Features

  1. offers Swagger

  2. scraps HTML docs from your Javadocs

  3. offers multi-language, downloadable API that helps interact with the generated / enriched one that you have

4dev21 enunciate API2interact
4dev21 enunciate swagger

Summary

  1. mvn versions

  2. mvn security-versions

  3. mvn dependency-check

  4. jFairy

  5. Enunciate

  6. editor config, .env

  7. asdf

  8. sdkman

More out there

There’s lots of tools I haven’t even mentioned!

Slides are published on my website: http://www.lafk.pl/

Visit Epam booth

4dev21 epamPromo1

BrainBall

4dev21 epamPromo2

Credits

Tool makers and authors.

Asciidoctor, Reveal.js, xfce4-screenshooter, OBS Studio, Terminator, Vim.

Questions?

question mark

Thank you!