Skip to content

Instantly share code, notes, and snippets.

View eltimn's full-sized avatar
🌏

Tim Nelson eltimn

🌏
View GitHub Profile
@eltimn
eltimn / keybase.md
Created June 3, 2015 11:12
Keybase Proof

Keybase proof

I hereby claim:

  • I am eltimn on github.
  • I am eltimn (https://keybase.io/eltimn) on keybase.
  • I have a public key whose fingerprint is 90A7 48F6 12C4 66DD 4AFC B8B3 AF3B 2EC1 8410 97E9

To claim this, I am signing this object:

@eltimn
eltimn / JettyLauncher.scala
Last active August 29, 2015 14:24
Embedded Jetty example
package code
import java.net.{InetAddress, InetSocketAddress}
import org.eclipse.jetty.server.Server
import org.eclipse.jetty.webapp.WebAppContext
import org.slf4j.LoggerFactory
import net.liftweb.util.Props
Running from: /usr/share/jenkins/jenkins.war
May 18, 2016 3:19:36 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Logging initialized @458ms
May 18, 2016 3:19:36 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
May 18, 2016 3:19:36 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Empty contextPath
May 18, 2016 3:19:36 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-9.2.z-SNAPSHOT
May 18, 2016 3:19:37 PM org.eclipse.jetty.util.log.JavaUtilLog info
@eltimn
eltimn / chi.go
Last active February 23, 2024 22:57 — forked from alexaandru/chi.go
Chi-like syntactic sugar layer on top of stdlib http.ServeMux
// Chi-like syntactic sugar layer on top of stdlib http.ServeMux.
package main
import (
"net/http"
"slices"
)
type (
middleware func(http.Handler) http.Handler