Skip to content

Instantly share code, notes, and snippets.

@joewalnes
joewalnes / .block
Last active January 1, 2017 19:49 — forked from mbostock/.block
Streamgraph
license: gpl-3.0
MODULES := ./node_modules
BIN := $(MODULES)/.bin
.PHONY: install_modules all clean
all: install_modules filtrex.js filtrex.min.js
clean:
rm -f filtrex.js
rm -f filtrex.min.js
@joewalnes
joewalnes / 1. web.xml
Created December 21, 2012 12:47 — forked from anonymous/MyCustomDecoratorSelector.java
Custom SiteMesh 3 configuration - selecting a decorator based on HttpSession.
<web-app>
<filter>
<filter-name>sitemesh</filter-name>
<filter-class>com.blah.MyCustomSiteMeshFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>sitemesh</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>