author | date | title |
---|---|---|
Pepe |
2017-02-12 |
The Intro |
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
Payment Evolution | |
Initial | |
create payment -> Created | |
Created | |
Pending | |
14 days -> Transfered | |
Transfered | |
pay -> Paid | |
Paid |
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
Brokerage Evolution | |
Initial | |
sponsored buys packaged -> Created | |
two-component bonus -> Created | |
Created | |
Pending | |
14 days -> Transfered | |
Transfered |
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
Order Evolution | |
Initial* | |
click buy -> Prepared | |
Prepared | |
confirm buy -> Created | |
cancel -> Initial | |
Created | |
3 days -> Reminded | |
pay -> Paid | |
7 days -> Canceled |
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
User Evolution | |
Not a User* | |
submit sign up -> Not Verified User | |
Not Verified User | |
click verification link -> Verified User | |
Verified User | |
submit registration -> Registered User | |
Registered User | |
Free Position* | |
30 days -> Locked Position |
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
#! /bin/sh | |
npm init | |
shadow-cljs init | |
shadow-cljs |
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
(require '[clojure.zip :as zip]) | |
(defn zzz [root] (zip/zipper vector? rest (fn [[x _ _] children] (vec (cons x children))) root)) | |
(def tree ["Bea" ["Ales" ["Tom"] ["Atom" ["Elektron" ["Quark"] ["Bark"]] ["Proton"]]] ["Jarko" ["Letko"] ["Zimko" ["Prosko"] ["Ledko"]]]]) | |
(defn normalize-tree [root lenght] | |
(loop [loc (zzz root) lookup {} result []] | |
(if (zip/end? loc) | |
result |
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
-- Quit Slack, then run it after 30 minutes | |
hs.hotkey.bind({"ctrl", "alt", "cmd", "shift"}, "L", function() | |
hs.alert.show(" No Slacking", 0.5) | |
hs.application.find("Slack"):kill() | |
hs.timer.doAfter(1800, function() | |
hs.application.launchOrFocus("Slack") | |
hs.alert.show(" Slacking", 0.5) | |
end) | |
end) |