This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/nix/store/j6w8a63v99z8hhyay1di6k8f7chxmzqq-source | |
├── neuron.cabal | |
├── src | |
│ ├── app | |
│ │ ├── Data | |
│ │ │ └── Structured | |
│ │ │ └── Breadcrumb.hs | |
│ │ ├── Main.hs | |
│ │ └── Neuron | |
│ │ ├── CLI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gruppvy | |
Has overviewLink? | |
yes? -> HasLink | |
no? -> NoLink | |
HasLink | |
HLOverview | |
# - [ ] Text "Genom att trycka på knappen godkänner jag att min Svalna-data delas med forskare" över knappen om man inte redan godkänt (getProfile {field_profile_accept_research} är true) | |
Description | |
# - [ ] Sätt field_profile_accept_research till true i register_clicked_group_overview_link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Animated Button | |
Go | |
click -> Loading | |
Loading | |
successful -> Success | |
failure -> Error | |
Success | |
reset -> Go | |
Error | |
reset -> Go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aspiration App Logic | |
open app from home screen -> Has User Previously Logged In? | |
Logged Out Flow | |
Has User Previously Logged In? | |
yes -> Is Device Authentication Set Up? | |
no -> App Welcome Screen | |
App Welcome Screen | |
tap login -> Is Device Authentication Set Up? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{- | | |
This module gives a direct representation of concrete functions as | |
algebraic data structures. | |
> show not | |
>>> (False => True) :++: (True => False) | |
> show (&&) | |
>>> (False => ((False => False) :++: (True => False))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE RankNTypes #-} | |
import qualified Data.IntMap as M | |
import Control.Monad.Trans.Free | |
import Control.Monad.Trans | |
{- | |
The phantom parameter s protects labels from escaping an invocation of runGotoT. | |
For example, this program: | |
invalid = runGotoT label >>= runGotoT . goto | |
is rejected at compile time with this version, but crashes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; -*- 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 | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Copy LOL item-set | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Adds a button for copying the item set. | |
// @author You | |
// @match http://lol.item-set.com/* | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// an example to create a new mapping `ctrl-y` | |
/* | |
mapkey('<Ctrl-y>', 'Show me the money', function() { | |
Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).'); | |
}); | |
*/ | |
// an example to replace `u` with `?`, click `Default mappings` to see how `u` works. | |
map('?', 'u'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// My settings: | |
if (window.location.origin === "https://www.duckduckgo.com") { | |
unmap('h'); | |
unmap('j'); | |
unmap('k'); | |
unmap('l'); | |
} |