Nim

https://nim-lang.org/ On cygwin 64 it doesn’t compile out-of-the-box. $ sh build.sh Error: unknown operating system: cygwin_nt-6.3 That’s ok. Debian good nim needs c emacs hi.nim…

Debug nodejs with chrome devtools

chrome://inspect/#devices $ node –inspect –debug-brk shifty Debugger listening on ws://127.0.0.1:9229/705a62e5-3ba5-4b93-8ee6-d0c86419451b For help see https://nodejs.org/en/docs/inspector Debugger attached. (node:2580) [DEP0062] DeprecationWarning: node –inspect –debug-brk is deprecated. Please…

Spring @ControllerAdvice

@ControllerAdvice(annotations = Controller.class) public class ControllerErrorAdvice extends ResponseEntityExceptionHandler { @ExceptionHandler(value = { IllegalArgumentException.class, IllegalStateException.class, NullPointerException.class }) protected ResponseEntity<Object> handleConflict(RuntimeException ex, WebRequest request) { return handleExceptionInternal(ex,…

Wildfly – Define system property

C:\java\wildfly\wildfly-10.1.0.Final\bin>jboss-cli –connect controller=localhost [standalone@localhost:9990 /] /system-property=spring.profiles.active:add(value=local) {“outcome” => “success”} [standalone@localhost:9990 /] /system-property=spring.profiles.active:read-resource { “outcome” => “success”, “result” => {“value” => “local”} } [standalone@localhost:9990 /] /system-property=spring.profiles.active:read-resource…