Skip to content

Instantly share code, notes, and snippets.

View randroid88's full-sized avatar

Randy Lutcavich randroid88

  • Randroid LLC
  • Austin, Texas
  • 13:45 (UTC -05:00)
View GitHub Profile
@dodalovic
dodalovic / Decorator.kt
Last active April 6, 2021 13:08
Decorator pattern in Kotlin
package patterns
interface CarService {
fun doService()
}
interface CarServiceDecorator : CarService
class BasicCarService : CarService {
override fun doService() = println("Doing basic checkup ... DONE")
@indiesquidge
indiesquidge / express-example.md
Last active February 9, 2025 09:51
Custom port on Express.js

Express.js Example

Setup

This code is a direct copy of the code found on the Express.js site under Getting Started. I just followed installing and hello world from there to get a basic server up and running.

(index.js file)