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
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="nexus" | |
# Example aliases |
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
(def sidebar-items [{ :name "Dashboard" :color "red" :icon "dashboard" :link "/dashboard" } | |
{ :name "Обращения" :color "blue" :icon "comments-2" :link "/ticket" } | |
{ :submenu [ | |
{ :name "Инциденты" :icon "bug" :link "/incidents" } | |
{ :name "Запросы на обслуж" :icon "basket" :link "/requests" } | |
{ :name "Запросы на изм" :icon "cog" :link "/rfcs" } | |
{ :name "Фидбеки" :icon "comments" :link "/feedbacks" }]} | |
{ :name "Изменения" :icon "cog" :link "/changes" } | |
{ :name "Проблемы" :icon "shit" :color "green" :link "/problems" } | |
{ :name "Знания" :icon "book" :link "/knowledges" } |
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
(defn assign-durations [{:keys [resolve_at resolved_at response_at responded_at] :as v}] | |
(-> v | |
(assign-duration [response_at responded_at] :response-left) | |
(assign-duration [resolve_at resolved_at] :resolve-left))) | |
;; assign-duration | |
(-> (first (select tickets (where {:id 25029}))) | |
(select-keys [ :resolve_at :resolved_at :responded_at :response_at :resolve-left :response-left]) | |
(select-keys [:resolve_at :resolved_at]) | |
vals |
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
(ns speakup.core | |
(:require [rum.core :as rum] | |
[cljs-react-material-ui.core :refer [get-mui-theme color]] | |
[cljs-react-material-ui.icons :as ic] | |
[cljs-react-material-ui.rum :as ui] | |
[cljs-react-material-ui.chip-input.rum :refer [chip-input]])) | |
(enable-console-print!) | |
;; (println "This text is printed from src/speakup/core.cljs. Go ahead and edit it and see reloading in action.") |
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
(defproject speakup "0.1.0-SNAPSHOT" | |
:description "FIXME: write this!" | |
:url "http://example.com/FIXME" | |
:license {:name "Eclipse Public License" | |
:url "http://www.eclipse.org/legal/epl-v10.html"} | |
:min-lein-version "2.7.1" | |
:dependencies [[org.clojure/clojure "1.8.0"] | |
[org.clojure/clojurescript "1.9.229"] |
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
## run sinatra + ssl + thin within command line | |
thin --debug --rackup config.ru start --ssl --ssl-key-file=k.key --ssl-cert-file=c.crt --ssl-disable-verify |
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
(ns test3.main | |
(:require [goog.dom :as gdom] | |
[goog.net.XhrIo] | |
[goog.object :as gobj])) | |
(defn user-list | |
"returns HTML string from users list of maps m" | |
[m] | |
(str "<ul>" | |
(apply str |
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
ace-editor:1.1 | |
ansible:1.0 | |
apache-httpcomponents-client-4-api:4.5.5-3.0 | |
authentication-tokens:1.3 | |
authorize-project:1.3.0 | |
aws-credentials:1.27 | |
aws-java-sdk:1.11.594 | |
bouncycastle-api:2.17 | |
branch-api:2.5.4 | |
build-monitor-plugin:1.12+build.201809061734 |
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
ace-editor:1.1 | |
ansible:1.0 | |
ant:1.9 | |
antisamy-markup-formatter:1.5 | |
apache-httpcomponents-client-4-api:4.5.5-3.0 | |
authentication-tokens:1.3 | |
authorize-project:1.3.0 | |
aws-credentials:1.27 | |
aws-java-sdk:1.11.594 | |
bouncycastle-api:2.17 |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC63qEZsm1GqdJxSpmG9ns5XANku/ZyxGI3a4xFRtPE+m8YOaOxfTc4Kom498eKrfIruD3h5LKMpxHND6TyhZ/6bUFBkCEMnBSPLramwxqvkMn1XtwJJsj6i3Wns3RXmLTRi3Yaa8cZsN2u3YrSUk3xZfh6LwMW5fMs/I3/lcRSow0Vp9lWCd0B3NeaT/KN8/HeeiYtdc1paYvrskIco3BasZ/YouPYhYE9kgspSwQifEIKZ2htDuueW0ZbttFoKMRLA8g4lP7BPyAUIls82XjTl0mAsjZxv4vloVyV7eKVxvHd3YBbEqtbtt0sCsXGtDVhoRKRDGC/TbBRBXxFAuW/ [email protected] |
OlderNewer