Skip to content

Instantly share code, notes, and snippets.

with import <nixpkgs>{};
let
version = "1.20.5";
rpath = stdenv.lib.makeLibraryPath [
alsaLib
atk
cairo
/* Qwerty
* ,-----------------------------------------------------------------------------------.
* | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp |
* |------+------+------+------+------+------+------+------+------+------+------+------|
* | Tab | A | S | D | F | G | H | J | K | L | ; |Enter |
* |------+------+------+------+------+------+------+------+------+------+------+------|
* |RGUI | Z | X | C | V | B | N | M | , | . | / |Shift |
* |------+------+------+------+------+------+------+------+------+------+------+------|
* | Ctrl | Hyper| Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right |
* `-----------------------------------------------------------------------------------'
elmOpts :: Maybe String -> ElmOptions
elmOpts target = do
case target of
Just our_target ->
defElmOptions { urlPrefix = Static "http://prod.dev" }
_ ->
defElmOptions { urlPrefix = Static "http://localhost:3000" }
specs :: ElmOptions -> [Spec]
specs elmopts =
# Add nice functions to deal with roles
module Stencilable
extend ActiveSupport::Concern
extend Forwardable
def_delegators :@stencil, *stencil_caca(self).stenciled_methods
def stencil_caca(org = nil)
Black::ThirdParty::StencilFactory.get_class(
org.provider,
self.class.name.demodulize