At a certain point in time we want to lock a CMI period to a forecasted amount.
- A lock already exists
- We lock in the same CMI
- We lock in a different CMI
require "js" | |
# access to the html document, so we can add visual elements like buttons | |
document = JS.global[:document] | |
# jq is a library which provides easer to read function to add elements | |
jq = JS.global['$'] | |
# write the initial html, we give every element an ID so we can address them later | |
jq.apply("#main").html( | |
<<HTML |
# https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points | |
symbol_map U+E5FA-U+E62B Symbols Nerd Font Mono | |
# Devicons | |
symbol_map U+e700-U+e7c5 Symbols Nerd Font Mono | |
# Font Awesome | |
symbol_map U+f000-U+f2e0 Symbols Nerd Font Mono | |
# Font Awesome Extension | |
symbol_map U+e200-U+e2a9 Symbols Nerd Font Mono | |
# Material Design Icons | |
symbol_map U+f0001-U+f1af0 Symbols Nerd Font Mono |
#!/usr/bin/env bash | |
set -e | |
query_file="$1" | |
# use json instead of csv, because I had an error where BQ complained it could not render a field as csv table | |
bq query --format json --headless -sync -quiet < "$query_file" 2>/dev/null \ | |
| vd --filetype json |
#!/usr/bin/env bash | |
set -e | |
# brew install ankitpokhrel/jira-cli/jira-cli fzf | |
jira issue list \ | |
--columns KEY,STATUS,SUMMARY,RESOLUTION,ASSIGNEE \ | |
--resolution x \ | |
--type ~Epic \ |
───────┬──────────────────────────────────────────────────────────────────────── | |
│ File: /Users/waldemar/.config/nvim/init.vim | |
───────┼──────────────────────────────────────────────────────────────────────── | |
1 │ call plug#begin() | |
2 │ " Global: | |
3 │ Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
4 │ " Plug 'kien/ctrlp.vim' | |
5 │ Plug 'tpope/vim-sensible' | |
6 │ Plug 'rking/ag.vim' | |
7 │ Plug 'scrooloose/nerdtree' |
#!/usr/bin/env inlein | |
'{:dependencies [[org.clojure/clojure "1.10.0"] | |
[spec-provider "0.4.14"] | |
[org.clojure/tools.cli "0.4.2"] | |
[cheshire "5.8.1"]]} | |
(require '[cheshire.core :as json]) | |
(require '[clojure.edn :as edn]) | |
(require '[spec-provider.provider :as sp]) | |
(require '[clojure.string :as string]) |
#!/usr/bin/env inlein | |
'{:dependencies [[org.clojure/clojure "1.10.0"] | |
[cheshire "5.8.1"]]} | |
(require '[cheshire.core :as json]) | |
(require '[clojure.edn :as edn]) | |
(defn read-edn | |
[s] | |
(try |