Profile cover photo
Profile photo
Matthew O. Smith
47 followers
47 followers
About
Matthew O.'s posts

Post has attachment

Post has attachment
Adds support for the case where you want to render the templates with different variables based on the target path, to allow using some view-logic say, for a dev and prod output.

As in #1, but allowing for :extra-values to be passed with each path:

:resource {:resource-paths [["resources"
{:target-path "app/dev"
:extra-values {:dev true :prod false}}]
["resources"
{:target-path "app/prod"
:extra-values {:dev false :prod true}}]]}

Post has attachment
lein-resource 16.11.1 released
lein-resource is a    plugin that can be used to copy files from mulitple source directories to a target directory while maintaining the subdirecotries. Also, each file will by default be transformed using  stencil . Version 16.11.1  *  gh-22  - adds suppor...

Post has attachment
Bible Thought - Proverbs 15:1
Answer Proverbs 15:1—“A soft answer turneth away wrath, but grievous words stir up anger.” The way we talk is at least as important as what we say. See Also:   8 Essential Marriage Tips from the Scriptures Wisdom from Grandpa Points to Ponder

Post has attachment
Nurture a marriage
In a recent quote : 白鷺呵寶 Nurturing Parents Marriage brings greater possibilities for happiness than does any other human relationship. Yet some married couples fall short of their full potential. They let their romance become rusty, take each other for gran...

Post has attachment

Post has attachment
Using the Windows Vista recover partition to install to a new hard drive
Alas, the hard drive died and Windows vista no longer boots.  How to get it installed on a new hard drive using only the recover partition from the old one. Attach a USB drive with at least encough free space to hold the recover partition. Boot using puppy ...

Post has attachment

Post has attachment

Post has attachment
5 Faces of Dependency Injection in Clojure
Dilemma : How, in a functional way, to access resources like database and other external dependencies.  Most non-trivial applications will have one or more external resources that need to be acquired in order to work. Things like databases and web services ...
Wait while more posts are being loaded