Skip to content

Instantly share code, notes, and snippets.

View gamee1910's full-sized avatar
🫠
Back pain

Hoang Hai Hau gamee1910

🫠
Back pain
View GitHub Profile
@gamee1910
gamee1910 / medium.user.js
Created November 9, 2025 03:57 — forked from mathix420/medium.user.js
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey - Click the RAW button to install
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @match *://*/*
// @grant none
// @version 2.4
// @inject-into content
@gamee1910
gamee1910 / AuthenticationFilter.java
Created July 19, 2025 15:24
Authentication microservice
@Component
public class AuthenticationFilter implements GlobalFilter, Ordered {
private static final String[] PUBLIC_ENDPOINTS = {
"/account/login", "/account/verify", "/blindbox"
};
private static final Logger log = LoggerFactory.getLogger(AuthenticationFilter.class);
private final ObjectMapper objectMapper;
private final AccountService accountService;