Skip to content

Instantly share code, notes, and snippets.

View Yarith's full-sized avatar

Yarith

  • Germany, Erlangen
View GitHub Profile
@Yarith
Yarith / Article - Animate removed DOM elements.md
Last active April 28, 2022 23:50
Elm: Animate the removal of DOM elements with CustomElement and MutationObserver

Elm: Animate the removal of DOM elements with CustomElement and MutationObserver

Desired result

You can see the end result in this ellie. It displays a smooth removal of the clicked items. You can also remove some items from the beginning or the end.

Version 1

https://ellie-app.com/cvCV93KgD56a1

Version 2

An updated ellie with improved performance. This gist was not yet updated with all changes made in this version. Only the article text is somewhat updated.

@Yarith
Yarith / compile-ghc-mod-5.9.0-with-stack.md
Last active December 8, 2018 21:26
Installation and configuration of the Haskell IDE Engine (HIE) together with the Elm Compiler Source for the Haskell Language Server extension in Visual Studio Code. Additional information about the Installation of the ghc-mod executable from source.

Compile ghc-mod on OpenSUSE Tumbleweed (2018-12-04)

Notes about the compilation of ghc-mod 5.9.0 for ghc 8.2.2.

Working yaml file for the master branch at changeset 96c2207

Used commit: changeset 96c2207 Maybe the newer commit with changeset e5b7daf which is used by the Haskell IDE Engine in my today installation maybe work too. Have not tested it standalone.

Working stack.yaml file:

resolver: lts-11.22