Skip to content

Instantly share code, notes, and snippets.

@archimag
archimag / kotlin.el
Created December 3, 2018 11:10
Emacs config for kotlin and gradle
(require 'gradle-mode)
(gradle-mode 1)
(setf gradle-use-gradlew t)
(setf gradle-gradlew-executable "./gradlew")
(eval-after-load 'flycheck
(lambda ()
(require 'flycheck-kotlin)
(flycheck-kotlin-setup)))
;; inventory.lisp
(ql:quickload "restas.wookie")
(ql:quickload "mongo-cl-driver.cl-async")
(ql:quickload "cl-json")
(restas:define-module #:restas-demo.mongo-crud-tutorial
(:use #:cl #:iter #:alexandria #:blackbird #:mongo.sugar)
(:shadowing-import-from #:blackbird #:finally))
;; restas-demo.lisp
;;
;; Данное приложение демонстрирует некоторые возможности работы с RESTAS:
;; * Работа с request
;; * Работа с reply
;; * Работа с cookies
;; * Редирект
;; * Отдача файлов
;; * Возвращение promise из маршрута
;;