Skip to content

Instantly share code, notes, and snippets.

View Uppercase.scala
import _root_.kafka.serializer.{StringDecoder, StringEncoder}
import{Restart, Resume}
import{Props, OneForOneStrategy, SupervisorStrategy, ActorSystem}
import{ActorMaterializerSettings, Supervision, ActorMaterializer}
import{Sink, Source}
import com.softwaremill.react.kafka.KafkaMessages.StringKafkaMessage
import com.softwaremill.react.kafka.{ConsumerProperties, ProducerProperties, ReactiveKafka}
import org.reactivestreams.{Publisher, Subscriber}

Keybase proof

I hereby claim:

  • I am andreionut on github.
  • I am andreionut ( on keybase.
  • I have a public key ASBgDrRDS8F2_oqG_AOUaPX32poufhyHYVBb3MFElmdX7Qo

To claim this, I am signing this object:

View .gitconfig
excludesfile = ~/.gitignore
precomposeunicode = false
quotepath = false
autosetuprebase = always
default = upstream
View ssl_connect.ex
Elixir 1.0.2 Code:
iex(1)> :inets.start
iex(2)> :ssl.start
iex(3)> :ssl.connect("", 2195, [{:mode, :binary}, {:certfile, "/path_to_cert.pem"}], 30000)
{:error, {:options, {:socket_options, [mode: :binary]}}}
iex(5)> :ssl.connect("", 443, [], 30000)
#!/usr/bin/env ruby
# encoding: utf-8
# poor man's flycheck for Erlang
# It looks at the modified files via `git status`, compiles them,
# and displays the errors, if any.
# For simplicity it outputs the beam's in /tmp
@repo_root = `git rev-parse --show-toplevel`.strip