short url: caseywatts.com/selfpublish
my book is out! an applied psychology / self-help book targeted at developers: Debugging Your Brain
Markdown --> PDF (as a booklet!)
Markdown --> EPUB and MOBI
| -Dspring.output.ansi.enabled=ALWAYS |
| For Spring Applications use JAVA_TOOL_OPTIONS enviroment. | |
| -XX:MaxRAMPercentage=75 | |
| # List of plugins | |
| set -g @plugin 'tmux-plugins/tpm' | |
| # Dracula Plugin | |
| set -g @plugin 'dracula/tmux' | |
| set -g @dracula-plugins "cpu-usage git" | |
| set -g @dracula-show-powerline true | |
| # Custom config | |
| set -g mouse on |
| -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n |
| .spinner { | |
| border: 5px solid rgba(0, 0, 0, 0.1); | |
| border-left-color: #22a6b3; | |
| border-radius: 50%; | |
| width: 25px; | |
| height: 25px; | |
| animation: spin 1s linear infinite; | |
| } | |
| @keyframes spin { |
| import java.lang.annotation.Annotation; | |
| import java.lang.reflect.Type; | |
| import java.time.LocalDate; | |
| import javax.ws.rs.ext.ParamConverter; | |
| import javax.ws.rs.ext.ParamConverterProvider; | |
| import javax.ws.rs.ext.Provider; | |
| @Provider | |
| public class LocalDateParamConverterProvider implements ParamConverterProvider { |
| /** | |
| * The MIT License | |
| * Copyright (c) 2020 kekbur | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is | |
| * furnished to do so, subject to the following conditions: |
short url: caseywatts.com/selfpublish
my book is out! an applied psychology / self-help book targeted at developers: Debugging Your Brain
Markdown --> PDF (as a booklet!)
Markdown --> EPUB and MOBI
| @Bean | |
| public RestTemplate restTemplate(final LauHeaderInterceptor lauHeaderInterceptor) { | |
| final RestTemplate restTemplate = new RestTemplate(); | |
| restTemplate.setMessageConverters(Collections.singletonList(new MappingJackson2HttpMessageConverter())); | |
| restTemplate.setErrorHandler(new ResponseErrorHandler() { | |
| @Override | |
| public boolean hasError(final ClientHttpResponse response) throws IOException { | |
| return false; | |
| } |