This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on alfred_script(q) | |
| tell application "wezterm" to activate | |
| do shell script "/Applications/WezTerm.app/Contents/MacOS/wezterm cli send-text " | |
| tell application "System Events" to keystroke q | |
| tell application "System Events" | |
| key code 36 -- enter key | |
| end tell | |
| end alfred_script |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.springframework.http.HttpMethod; | |
| import org.springframework.http.codec.ServerCodecConfigurer; | |
| import org.springframework.security.authentication.ReactiveAuthenticationManager; | |
| import org.springframework.security.web.server.authentication.AuthenticationWebFilter; | |
| import org.springframework.security.web.server.util.matcher.ServerWebExchangeMatchers; | |
| public class LoginWebFilter extends AuthenticationWebFilter { | |
| private final ServerCodecConfigurer serverCodecConfigurer; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "io" | |
| "net" | |
| "net/http" | |
| "os" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.collokia.webapp.routes; | |
| import io.netty.handler.codec.http.HttpHeaders; | |
| import io.vertx.core.net.SocketAddress; | |
| import io.vertx.ext.web.RoutingContext; | |
| import io.vertx.ext.web.Session; | |
| import sun.reflect.generics.reflectiveObjects.NotImplementedException; | |
| import javax.servlet.*; |