project-folder/
.git
wp-admin/
wp-content/
wp-includes/
.htaccess
import java.util.Map; | |
import java.util.stream.Collectors; | |
import java.util.stream.Stream; | |
public class Maps { | |
public static Map<String, Object> asFlattendMap(Map<String, Object> map) { | |
return map.entrySet().stream() | |
.flatMap(Maps::flatten) | |
.collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)); |
//Scala xml -- this is supposed to return a collection of the elements to be modified | |
(e \ "_").find { child => | |
(child \\ "_") | |
.filter { c => | |
!isMedia(c.label) | |
} | |
.exists { c => | |
c.child.exists { c => | |
(singleParagraphs && isMedia(c.label)) || (c.label == "#PCDATA" && isEmpty(c.text)) | |
} |
import sbt._ | |
import Keys._ | |
import java.net._ | |
import java.io.File | |
import play.PlayRunHook | |
/* | |
Grunt runner should be in project directory to be picked up by sbt | |
*/ | |
object Grunt { |
Char Unicode | |
------------------------------ | |
Ä, ä \u00c4, \u00e4 | |
Ö, ö \u00d6, \u00f6 | |
Ü, ü \u00dc, \u00fc | |
ß \u00df |