Skip to content

Instantly share code, notes, and snippets.

View marrs's full-sized avatar

David Marrs marrs

View GitHub Profile
@marrs
marrs / project.clj
Created March 17, 2020 23:11
Reproducible reitit bug
(defproject ring-example "0.1.0-SNAPSHOT"
:description "Reitit Ring App with Swagger"
:dependencies [
[org.clojure/clojure "1.10.0"]
[ring/ring-jetty-adapter "1.7.1"]
[ring/ring-devel "1.8.0"]
[metosin/reitit "0.4.2"]
]
:repl-options {:init-ns server}
)
@marrs
marrs / README.md
Last active August 29, 2015 14:18
Suggested native routing

Native Routing in the Browser

It is often the case a website's pages are made up of standard content, such as a site logo, navigation, breadcrumb, footer, etc, and then the content that is specific to the page itself. I shall refer to these as "template" and "content" from now on. These are concepts only, they have no concrete representation below.

The content makes up the meat of the resource and will be unique for each page.

@marrs
marrs / _buttons.scss
Created January 9, 2014 12:27
Example sass project used to test styledocco. Tests styledocco's ability to parse SCSS and deal with dependencies between multiple files.
//
// Buttons
// --------------------------------------------------
// Base styles
// --------------------------------------------------
// Core styles
.btn {