Skip to content

Instantly share code, notes, and snippets.

View listba's full-sized avatar
💭
need ☕

Ben List listba

💭
need ☕
View GitHub Profile
@ssrihari
ssrihari / clojure-learning-list.md
Last active April 15, 2024 14:54
An opinionated list of excellent Clojure learning materials

An opinionated list of excellent Clojure learning materials

These resources (articles, books, and videos) are useful when you're starting to learn the language, or when you're learning a specific part of the language. This an opinionated list, no doubt. I've compiled this list from writing and teaching Clojure over the last 10 years.

  • 🔴 Mandatory (for both beginners and intermediates)
  • 🟩 For beginners
  • 🟨 For intermediates

Table of contents

  1. Getting into the language
@Igosuki
Igosuki / ws.scala
Last active December 20, 2021 15:46
http4s fs2 websocket
abstract class UserWSEndpoint[F[+ _]: Timer: Concurrent: ContextShift](
broadcastTopic: Topic[F, PushNotification])(implicit F: ConcurrentEffect[F])
extends Http4sDsl[F]
with Loggable {
def broadcast(e: PushNotification) = broadcastTopic.publish1(e)
def toText[A: Encoder](a: A)(implicit e: Encoder[A], wse: Encoder[WSMessage]) =
Text(wse(WSMessage("", "", e(a).some, "", "".some)).asString.get)
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active April 15, 2024 19:36 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm