This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def buildConfigFile = new File("${userHome}/.grails/${appName}-buildConfig.groovy") | |
if (buildConfigFile.exists()) { | |
println "Processing external build config at $buildConfigFile" | |
def slurpedBuildConfig = new ConfigSlurper().parse(buildConfigFile.toURL()) | |
slurpedBuildConfig.grails.plugin.location.each { k, v -> | |
if (!new File(v).exists()) { | |
println "WARNING: Cannot load in-place plugin from ${v} as that directory does not exist." | |
} else { | |
println "Loading in-place plugin $k from $v" | |
grails.plugin.location."$k" = v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('live tile', function () { | |
describe('when updating the tile', function () { | |
var async = new AsyncSpec(); | |
async.beforeEach(function (complete) { | |
Shared.getImages() | |
.then(Tiles.buildThumbails) | |
.then(async.storage.store('fileNames')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copy this into the console of any web page that is interactive and doesn't | |
do hard reloads. You will hear your DOM changes as different pitches of | |
audio. | |
I have found this interesting for debugging, but also fun to hear web pages | |
render like UIs do in movies. | |
*/ | |
const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |