Skip to content

Instantly share code, notes, and snippets.

View ivanobulo's full-sized avatar

Ivan Luzyanin ivanobulo

View GitHub Profile
@ivanobulo
ivanobulo / git_log.md
Last active March 22, 2022 17:31 — forked from olivierlacan/git_log.md
My git log custom output aliases
git config --global alias.hist "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short"
git config --global alias.lol "log --graph --decorate --pretty=oneline --abbrev-commit --all"
git config --global alias.mylog "log --pretty=format:'%h %s [%an]' --graph"
git config --global alias.last 'log -1 HEAD'
git config --global alias.s 'status -s'

To check that they've been added correctly, first run git config --list. You should see something like this in the midst of all your other configuration:

@ivanobulo
ivanobulo / EventSourcing.scala
Last active March 26, 2018 06:27 — forked from szoio/EventSourcing.scala
Event Sourcing with Free Monads
package eventsourcing
import java.time.Instant
import cats._
import cats.data.EitherK
import cats.free.{Free, InjectK}
import cats.implicits._
import doobie.imports._
import fs2.Stream