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
;; Given a set of configuration for restore, and a restore function | |
;; returns the restore parameters string to be used | |
;; System Parameters | |
;; config a (baseline) config b(100x more) config c(500x more) | |
;; ############################################################################################## | |
;; datomic.s3BackupConcurrency 25 2500 12500 | |
;; datomic.backupBranchConcurrency 32 3200 16000 | |
;; datomic.writeConcurrency 4 400 2000 |
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 '[datomic.client.api :as d]) | |
(require '[datomic.local :as dl]) | |
(def client (d/client {:server-type :datomic-local | |
:system "dev"})) | |
(def db-name "test-uri-db") | |
(d/create-database client {:db-name db-name}) | |
(def conn (d/connect client {:db-name db-name})) | |
(d/transact conn {:tx-data [{:db/ident :uri/full-uri |
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
setInterval(() => { | |
$('.post_box .toggle-update-button .v-icon').map((k, v) => { v.click() }) | |
}, 1000) |
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
if (options && options.component) { | |
instance.$slots.default = instance.$createElement(options.component, { | |
props: options.props, | |
}); | |
} | |
instance.$mount(`#${refId}`); | |
instance.$on('onClose', this.close); |