Excluded unwanted maven dependencies globally
Set the scope of an unwanted (transitive) maven dependency to „provided“.
For details cf: jlorenzen.blogspot.de/2009/06/maven-global-excludes.html
IT things to remember.
Set the scope of an unwanted (transitive) maven dependency to „provided“.
For details cf: jlorenzen.blogspot.de/2009/06/maven-global-excludes.html
„If you want to know what makes you unique, sit for a caricature.“
If you’re serious about privacy use a VPN anytime.
After sifting through the really good reviews at restoreprivacy.com/best-vpns, I got an account from vpn.ac for only 44€/year.
What’s interesting about restoreprivacy.com is that they don’t blindly follow the cheers regarding NordVPN or ExpressVPN (often the most recommended service, though): restoreprivacy.com/expressvpn-vs-nordvpn-comparison
If Eclipse crashed and won’t start again, i.e. it hangs forever, go to
[workspace]/.metadata/.plugins/org.eclipse.core.resources
and delete the .snap file. If that does not help go through .projects and delete one .snap file after the other (or move it to trash)
If Eclipse does not start, after it unexpectedly quit, remove any .snap file from this folder
[workspace]/.metadata/.plugins/org.eclipse.core.resources
Not required in fact starting from JavaEE7 on. But if you want to control, adjust the bean-discovery-mode
For jar projects used as external 3rd party libs, put it in
src/main/resources/META-INF
docs.jboss.org/cdi/spec/1.1/cdi-spec.html#bean_archive
Exception while loading the app : WELD-001201: Error loading beans.xml jar:file:/Users/johndoe/Applications/servers/payara41/glassfish/domains/apps/eclipseApps/servicer/WEB-INF/lib/monitoring-0.0.1-SNAPSHOT.jar!/META-INF/beans.xml
java.io.FileNotFoundException: JAR entry META-INF/beans.xml not found in … at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:142)
Stupid error. META-INF/beans.xml must reside directly under src.
Cf. stackoverflow.com/a/9998463
How to search for library with apt, e.g. apt-cache search libst*
It’s been a long time I had to set up a new Macbook. So here some memory hooks for the future
Add term settingn to .profile in your home
alias ll='ls -lartG'
Set colors and an sensible prompt export PS1="[ 33[36m]u[ 33[m]@[ 33[32m]h:[ 33[33;1m]w[ 33[m]$ " export CLICOLOR=1 export LSCOLORS=ExFxBxDxCxegedabagacad
export http_proxy=http://user:pwd@proxy export https_proxy= user:pwd@proxy
If you want to create a new user within a Dockerfile for an Alpine Linux, useradd won’t work. You have to use adduser
.
This command will work
adduser -h /home/userx -g groupx -S userx
Please mind to add the -S (uppercase!!). If you omit this, Alpine ask interactively for a password. Interestingly, the option --disabled-password
does not work!?!?