Skip to content

Instantly share code, notes, and snippets.

View abcdw's full-sized avatar
🏛️
building

Andrew Tropin abcdw

🏛️
building
View GitHub Profile
@abcdw
abcdw / gitstory.org
Created March 21, 2018 09:35
Git workflow suitable for small teams

Suitable git story

Introduction

This is a story about a small team and their approach for developing web-services in clojure using Git, GitHub, CircleCi, YouTrack, Docker, Amazon ECS. Most of the tools are easily exchangeable, where the focus will be on git workflow for continuous delivery and a type of agile process with project management tool.

Agile sounds like a marketing stunt in most cases, yet we try to implement some

@abcdw
abcdw / example.clj
Last active September 26, 2016 13:33
;; clojure google maps api example
(def api-url "http://maps.googleapis.com/maps/api/geocode/json?sensor=false&latlng=")
(def places
[{:descr "Place in Champniers"
:lat 45.700160
:lng 0.189237}
{:descr "Place in Innopolis"
:lat 55.752803
:lng 48.743634}
{:descr "Place in Vvedenskaya Sloboda"
@abcdw
abcdw / msort.clj
Last active June 16, 2022 01:02
merge sort in clojure
(defn mrg
([L R] (mrg L R []))
([[l & left :as L] [r & right :as R] M]
(if (or (empty? L) (empty? R))
(concat M L R)
(if (<= l r)
(recur left R (conj M l))
(recur L right (conj M r))))))
(defn msort [arr]
@abcdw
abcdw / .vimrc
Last active June 17, 2022 11:32
micro vimrc
"""""""""""""""""""""""
" MY MICRO VIMRC v0.2 "
"""""""""""""""""""""""
set nocompatible
set wildmenu
set wildmode=longest:full,full
set keywordprg=:help
set ruler