Skip to content

Instantly share code, notes, and snippets.

@bxiang
bxiang / LogStreamApp.scala
Last active February 26, 2022 13:54
LogStreamApp
import java.nio.file.{Files, Paths}
import zio._
import zio.console._
import zio.duration._
import zio.stream._
object LogStreamApp extends App {
def isErrorWarning(data: String) = {
@bxiang
bxiang / Vagrantfile
Created December 10, 2019 02:23 — forked from lucasjellema/Vagrantfile
Vagrantfile for creating and running an Ubuntu VM with large disk, preconfigured IP address, provisioned Docker and Docker Compose
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.