This file contains hidden or 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
;; #Warn ; Enable warnings to assist with detecting common errors. | |
#NoEnv ; recommended for performance and compatibility with future autohotkey releases. | |
#UseHook | |
#InstallKeybdHook | |
#SingleInstance force | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
SendMode Input | |
;; If the script is not elevated, relaunch as administrator and kill current instance | |
;; This allows us to use the hyper key in admin applications. |
This file contains hidden or 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 clj-kondo.clj-commons.secretary | |
(:require | |
[clj-kondo.hooks-api :as api] | |
[clojure.string :as str])) | |
#_{:clj-kondo/ignore [:clojure-lsp/unused-public-var]} | |
(defn defroute |
This file contains hidden or 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
import Joi from 'joi'; | |
import moment from 'moment'; | |
import 'moment-round'; | |
import { isNumber } from 'util'; | |
import { searchRequestSchema } from './../lib/models/index'; | |
import { ValidationError } from './../lib/utils/Errors'; | |
import log from './../lib/utils/logger'; | |
export default class Vendor { | |
constructor(db, mq) { |