quote

giovedì, marzo 12, 2020

How to get out of projector mode (Win 7) - black screen

I was stuck on windows reboot, after having tried to connect my windows laptop to a projector.
I could see just black screen, it was scaring.

Solution: Hold [Windows key] + P
source

domenica, febbraio 02, 2020

Uninstall Logitech GHUB from Mac

  • Delete the G Hub application from /Applications
  • Trash the entire folder lghub at ~/Library/Application Support/
  • Trash ~/Library/Application Support/Logitech/Gaming/ghubDevices.json
  • Trash settings.json from that same folder

domenica, gennaio 05, 2020

default spring security in spring-boot app

If you include this dependency in your pom:

 groupId: org.springframework.boot
 artifactId: spring-boot-starter-security


you "inherited" the default spring security.
When you application starts, have a look to this message:

Using generated security password: 03219696-3a8d-49d5-8385-11e84fe94ac8

Then if the login mask shows up:













Type this:

user: user
password: that password in the message...

martedì, settembre 10, 2019

Issue with wireless Ubuntu 18.04 - board QCA6174


Workaround:
  1. Replace the folder /lib/firmware/ath10k/QCA6174/hw3.0 with the corresponding from https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0
  2.  rename firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1 to firmware-6.bin


giovedì, marzo 28, 2019

Information about maven plugin

$mvn help:describe -Dplugin=io.swagger.codegen.v3:swagger-codegen-maven-plugin:3.0.7 -Ddetail=true
link

martedì, marzo 19, 2019

Debugging test with maven

$ mvn -Dmaven.surefire.debug -Dtest=MultipleJsonDatasetLoaderTest#loading_Multiple_Dataset_Loading_From_Jar test
From intellij remote attach debug on port 5005

venerdì, marzo 08, 2019

intellij - find class not working

In case [ctrl]+[N] is no longer working in intelli then delete the following folder: %USER_HOME%\.IntelliJIdea70\system\caches.
link

martedì, novembre 13, 2018

Ubuntu deja-dup Backup [exclude list]

$ dconf-editor

  • Search for /org/gnome/deja-dup/exclude-list
  • Add ['**/target', '**/.git']

lunedì, settembre 24, 2018

tmux

$ tmux
$ [Ctrl]+[b] / [Shift] + 5
$ [Ctrl]+[b] / [arrow]
$ [Ctrl]+[b]/ [Shift] + "

sabato, luglio 29, 2017

maven dependency tree

$ mvn dependency:tree > result.txt
or
$ mvn dependency:tree | grep -A 5 -B 2 module

mercoledì, giugno 21, 2017