Skip to content

Instantly share code, notes, and snippets.

R. Haluk Öngör rhalukongor

  • Istanbul
Block or report user

Report or block rhalukongor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
rhalukongor / .spacemacs
Last active Sep 14, 2017
Use ESLint from project folder
View .spacemacs
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
;; Base distribution to use. This is a layer contained in the directory
rhalukongor / example.ex
Last active Aug 29, 2015
Dynamic supervision example
View example.ex
defmodule SomeModule do
def start(host, options) do
# We are assuming MainSup has been already started somewhere
# (ideally in a supervision tree).
{:ok, child_pid} = SomeSup.attach_to(MainSup, host, options)
defmodule SomeSup do
use Supervisor
You can’t perform that action at this time.