Blog: myshittycode


354 blogs updated: 115 min. ago
Azure: Deploying WAR File to Tomcat
PROBLEM Typically, when using ZipDeploy to push a WAR file (ex: my-app.war) to an Azure instance, we need to:- Rename my-app.war to ROOT.war...
0
03-05-2019 04:03:31 myshittycode Advanced
Feign + Eureka: UnknownHostException when Attempting to Invoke a Service
PROBLEM When attempting use Feign to invoke a service through Eureka, the following exception occurs:- SOLUTION Go to the donkey-kong-servic...
0
01-05-2019 05:00:30 myshittycode Advanced
Spring Boot: Restarting App using Dev Tools with IntelliJ IDEA
Spring Boot provides spring-boot-devtools module that allows the app to "smartly" restart whenever the files on the classpath have changed. ...
8
26-04-2019 19:54:24 myshittycode Advanced
Spring Boot: Connecting to IBM MQ over JMS using non-IBM JRE
There are several ways to connect to IBM MQ:- com.ibm.mq.MQQueueManager com.ibm.mq.jms.MQQueueCon nectionFactory com.ibm.msg.client.jms.Jm s...
10
24-04-2019 03:54:47 myshittycode Advanced
React: Debugging Layout Thrashing
PROBLEM When the React app grows larger over time, it is highly likely to run into situations where the component keeps re-rendering for no ...
3
16-04-2019 05:26:13 myshittycode Advanced
Groovy/Java: Handling Byte Order Marks When Reading a File
PROBLEM Given a file with the following content:- When reading the file:- the following values are printed:- Even though the value is trimme...
4
29-08-2018 04:56:54 myshittycode Advanced
Spring Web: Encode ‘+' Value Using UriComponentsBuilder
PROBLEM Given the following code When using Spring Web 4.3.18.RELEASE, the URL is properly encoded:- However, when using version between 5.0...
4
13-08-2018 18:09:08 myshittycode Advanced
macOS + Eclipse: The ‘X' Executable Launcher was Unable to Locate its Companion Shared Library
PROBLEM When attempting to launch Eclipse-based app (ex: MyApp.app) on Mac, the following error is thrown:- SOLUTION This problem seems to o...
0
14-06-2018 04:21:36 myshittycode Advanced
Webpack + ESLint: Automatically Fix ESLint Errors
PROBLEM Given the following webpack.config.js When running any Webpack command, ESLint may find violations and halt the entire process with ...
3
03-04-2018 02:25:28 myshittycode Advanced
React + Recompose: Calling Multiple HOC Wrappers
PROBLEM Sometimes, wrapping a React component with multiple High Order Components (HOC) can get rather unwieldy and unreadable. For example:...
4
02-04-2018 20:11:43 myshittycode Advanced


© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.