Skip to content

Instantly share code, notes, and snippets.

View joergi's full-sized avatar
🍻

Joergi joergi

🍻
View GitHub Profile
@joergi
joergi / email-foundation.html
Created May 15, 2020 09:38
email foundation test script.
<style>
.show-for-large {
border: 1px solid green;
}
.hide-for-large {
@joergi
joergi / fstab
Created April 11, 2020 13:37
manjaro fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/luks-a03f75ee-2af7-40f4-bba5-5d9d241afc73 / ext4 defaults,noatime,discard 0 1
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
@joergi
joergi / ErrorInterceptor.java
Last active November 30, 2017 14:17
ErrorInterceptor.java should catch all exceptions as in an normalen https://spring.io/blog/2013/11/01/exception-handling-in-spring-mvc
package errortest.de.joergi.errors;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import lombok.extern.slf4j.Slf4j;
@Slf4j
@ControllerAdvice
public class ErrorInterceptor {