Skip to content

Instantly share code, notes, and snippets.

View tubbynl's full-sized avatar

Michaël van de Giessen tubbynl

View GitHub Profile
@tubbynl
tubbynl / LoggingClientHttpRequestInterceptor.java
Created March 14, 2025 10:56 — forked from jkuipers/LoggingClientHttpRequestInterceptor.java
RestTemplate-interceptor that logs outgoing requests and resulting responses
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpRequest;
import org.springframework.http.MediaType;
import org.springframework.http.client.ClientHttpRequestExecution;
import org.springframework.http.client.ClientHttpRequestInterceptor;
import org.springframework.http.client.ClientHttpResponse;
import org.springframework.util.StreamUtils;
@tubbynl
tubbynl / piboard.md
Last active December 2, 2015 10:31 — forked from andrewvaughan/piboard.md
Create a Raspberry Pi Rotating Dashboard

These instructions were performed on a RaspberryPI 2 with a proper heatsink.

Configure the Pi

sudo raspi-config
  1. Choose 1. Expand Filesystem
  2. Choose 3. Enable Boot to Desktop/Scratch and choose Desktop Log in as user 'pi' at the graphical desktop