The library rooms (downtown Vancouver)
- Big open grass area outlooking the ocean and the north mountains
Trout Lake Park, East Vancouver
- Big open grass area around a lagoon
Stanley Park, downtown Vancouver
The library rooms (downtown Vancouver)
Trout Lake Park, East Vancouver
Stanley Park, downtown Vancouver
#!/bin/bash | |
ag[1]="Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0" | |
ag[2]="Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36" | |
ag[3]="Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; AS; rv:11.0) like Gecko" | |
ag[4]="Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.13) Gecko/20101203 iPhone" | |
ag[5]="Mozilla/5.0 (iPod; U; CPU iPhone OS 4_3_3 like Mac OS X; ja-jp) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5" | |
ag[6]="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20120101 Firefox/29.0" | |
ag[7]="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20130331 Firefox/21.0" | |
ag[8]="Mozilla/5.0 (X11; FreeBSD amd64) AppleWebKit/536.5 (KHTML like Gecko) Chrome/19.0.1084.56 Safari/1EA69" |
wget http://download.redis.io/releases/redis-2.8.6.tar.gz | |
tar xzf redis-2.8.6.tar.gz | |
cd redis-2.8.6 | |
make | |
make install |
{ | |
"index": { | |
"title": "Hello World" | |
} | |
} |
/** | |
* (C)Leanest CSS spinner ever | |
*/ | |
@keyframes spin { | |
to { transform: rotate(1turn); } | |
} | |
.progress { | |
position: relative; |
- var paths = [], files = []; function recursiveTree(obj) { if (typeof obj == "object" && !obj.length) { for (item in obj) { if (item === "contents") { recursiveTree(obj[item]); } else if (item != "data") { paths.push(item); recursiveTree(obj[item]); paths.splice(paths.length-1, 1); } } } else if (typeof obj == "object") { for (i in obj) { var file = obj[i]; if (/(\.html$)/.test(file)) { paths.push(file); files.push("/" + paths.join("/")); paths.splice(paths.length-1, 1); } } } }; recursiveTree(public); | |
xml | |
urlset(xmlns="http://www.sitemaps.org/schemas/sitemap/0.9") | |
- for(i in files) { | |
url | |
loc= files[i] | |
priority 0.5 | |
- } |
/* | |
* Helper method to avoid Backbone wrapping empty element | |
*/ | |
Backbone.View.prototype.replaceElement = function (html) { | |
if (typeof html === "string") { | |
html = $(html); | |
} | |
this.$el.replaceWith(html); | |
$(this.el).undelegate(); | |
this.setElement(html); |
/^\/(gallery|catalog|about)/.test(current.source) |
- function excerpt(markup) { | |
- return markup.split("<!-- more -->")[0] | |
- } | |
.blog.summary | |
ul | |
each post, slug in public.posts.data | |
li | |
h3 #{post.title} | |
p.byline |