Skip to content

Instantly share code, notes, and snippets.

View arnodirlam's full-sized avatar

Arno Dirlam arnodirlam

View GitHub Profile
@arnodirlam
arnodirlam / application.ex
Last active December 10, 2020 22:11
AppSignal: Trace spawned Ecto processes (f.ex. preload with in_parallel: true)
defmodule MyApp.Application do
use Application
def start(_type, _args) do
MyApp.Appsignal.EctoParentSpan.attach()
children = [
# ...
]
0xc5214db6AB71EF218169D93E9D2921c10986f64F
0x4991ade085d38ac3a6d82d09672eac9fa64577fa
@arnodirlam
arnodirlam / distillery-failed-upgrade.log
Created February 9, 2017 15:08
distillery failed upgrade after removing dependency https://github.com/bitwalker/distillery/issues/198
==> Loading configuration..
Distillery output_dir: rel/vira
==> Assembling release..
==> Building release vira:0.0.2 using environment prod
==> One or more direct or transitive dependencies are missing from
:applications or :included_applications, they will not be included
in the release:
:ecto_enum
:json_web_token
@arnodirlam
arnodirlam / .eslintrc.js
Last active June 3, 2016 08:47
eslint config
module.exports = {
root: true,
parserOptions: {
ecmaVersion: 6,
sourceType: 'module'
},
extends: 'eslint:recommended',
env: {
browser: true
},