Skip to content

Instantly share code, notes, and snippets.

@TimDix
TimDix / app.html
Last active August 31, 2016 20:30 — forked from jdanyow/app.html
Aurelia RequireJS Gist
<template>
<require from="my-element"></require>
<h1>${message}</h1>
<template repeat.for="item of data">
My Element:
<my-element data.bind="item"></my-element>
<br />
</template>
@TimDix
TimDix / 0_reuse_code.js
Last active May 31, 2016 16:38
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Trial 1: Control, all blocks can be cached, area_layout_caching is off.
$ ab -l -r -n 500 -c 10 -k -H "Accept-Encoding: gzip, deflate" http://concrete5.localhost/
This is ApacheBench, Version 2.3 <$Revision: 1638069 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking concrete5.localhost (be patient)
Completed 100 requests
Completed 200 requests