Skip to content

Instantly share code, notes, and snippets.

David Steiman xetys

Block or report user

Report or block xetys

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@devisnotnull
devisnotnull / installing_kubernetes_on_proxox.md
Last active Dec 22, 2019
Installing Kubernetes on Proxox, Herzner
View installing_kubernetes_on_proxox.md

Installing Kubernetes on Proxox

For this example i shall be using a dedicated server from Hertzner.https://www.hetzner.de/en/. A shout out to hetzner if your looking for cheap and beefy dedicated hosting then these guys are your best bet.

Setting up the Hertzer server

This guide assumes your server has Debian 8 (Jessie installed)

Config when tested

@matteocedroni
matteocedroni / SecurityChecker.java
Last active Feb 24, 2020
Programmatically check Spring Security expressions
View SecurityChecker.java
import org.apache.log4j.Logger;
import org.springframework.expression.EvaluationContext;
import org.springframework.expression.spel.standard.SpelExpressionParser;
import org.springframework.security.access.expression.ExpressionUtils;
import org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler;
import org.springframework.security.access.expression.method.MethodSecurityExpressionHandler;
import org.springframework.security.util.SimpleMethodInvocation;
import java.lang.reflect.Method;
You can’t perform that action at this time.