Skip to content

Instantly share code, notes, and snippets.

View olafurpg's full-sized avatar

Ólafur Páll Geirsson olafurpg

View GitHub Profile
@arturopala
arturopala / AnyWordSpecCompat.scala
Last active April 27, 2020 07:17
Scala trait adding ScalaTest's AnyWordSpec compatibility to MUnit
import scala.reflect.ClassTag
trait AnyWordSpecCompat extends munit.FunSuite {
implicit class NameExt[T](name: String) {
def in(body: => T): Unit = test(name)(body)
def should(body: => T): Unit = {
val pos0 = munitTestsBuffer.length
@stettix
stettix / things-i-believe.md
Last active July 10, 2024 23:00
Things I believe

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette. See also my blog at www.janvsmachine.net.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.

@jastice
jastice / integrations-bsp-intellij-bloop.md
Last active June 28, 2019 11:48 — forked from jvican/integrations-bsp-intellij-bloop.md
Instructions to try the BSP IntelliJ-Bloop integration out.

Installation instructions

  1. Install bloop 1.0.0-M11 by following the Bloop installation instructions. Then, make sure you start up the bloop server on the background and to generate the configuration files by running bloopInstall in your build tool.
  2. Install IntelliJ 2018.2 EAP and then enable the nightly version of the Scala Plugin by opening Preferences | Languages & Frameworks | Scala | Updates tab and selecting the Nightly plugin update channel: intellij-eap
  3. check for updates and download the Scala plugin Nightly release.
  4. Reboot IntelliJ. The Scala plugin should now have version 2018.2.277 or higher (check in Preferences | Plugins)
  5. Open the "Find Action" search box (usual hotkey Shift+Ctrl+A or shift+cmd+A) and search for "bsp". The search box will show the full action name: "Enable experime