If you use To set the base path, always mind to add the TRAILING slash, to indicate it’s a folder.
Kategorie: Posts
JPQL with left outer join
To remind my self! Main.class @OneToOne @JoinColumn(name = „pk_column_name_in_main_table“, referencedColumnName = „column_name_in_depeding_table“, insertable = false, updatable = false) public Description getDescription() { return this.description; } Depending.class @Id @Column(name = „… [Weiterlesen]
Which visualization should I use?
A nice overview of different chart types and when to use them. Scroll down a bit to „Visualization Category“ antv.vision/en
Install Influx 1.7. on Raspian Stretch
As I have the latest zwave version 3.0 running, which only is supported by Raspian Strecth, the default InfluxDB that gets installed is version 1.0.2 and not the latest (1.7.x… [Weiterlesen]
Set up a embedded Payara 5 for Arquillian tests with DB2 z/OS drivers
Despite a lot of tutorials on using embedded Payara with Arquillian, I struggled a while to get the container running. Here are the steps ############################################################################################################### Code for configuring and deploying… [Weiterlesen]
Google Chrome: CORS and Kiosk Mode
In order to avoid any problems with CORS when just running a local app open -a Google Chrome –args –disable-web-security –user-data-dir=„“ If you want to have a nice full-screen Kiosk… [Weiterlesen]
Building a CalDAV client with web components
Some steps and pitfalls on my way creating a CalDAV client with webcomponents 1. If you want to use moment.js include it this way import moment from ‚moment‘; window.moment =… [Weiterlesen]
Move cursor after last element with Javascript
_moveCursor(){ let range = document.createRange(); let lastSpan = this._getLastSpan(); range.setStartAfter(lastSpan); range.collapse(true); let selection = window.getSelection(); selection.removeAllRanges(); selection.addRange(range); } Props to: stackoverflow.com/a/15814297/4415951
Jenksfile: Pushing to git from pipeline script
– Add a read/write ssh-key to e.g. bitbucket – Add the key to Jenkins – Go to „pipeline syntax“ and create „sshagent“ step with just create credential identifier sshagent([‚the-credentials-id‘]) {… [Weiterlesen]
IntelliJ Wizadry
Great free IntelliJ tutorial by Dr. Heinz Kabutz: javaspecialists.teachable.com/courses/enrolled/256104 Best of: – Shift+Enter: new line when in middle of a line – Cmd+W: Context aware selection – Shift+Cmd+Up/Down: Move code… [Weiterlesen]