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
--- | |
--- | |
[ | |
{% for post in site.posts limit:10 %} | |
{ | |
"title": {{ post.title | jsonify }}, | |
"url": {{ post.url | jsonify }} | |
} | |
{% unless forloop.last %},{% endunless %} | |
{% endfor %} |
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
import Ember from 'ember'; | |
export default Ember.Object.extend({ | |
model: null, | |
subpath: null, | |
dynamicModelProperty: Ember.computed('model', 'subpath', function() { | |
let subpath = this.get('subpath'); | |
if ( subpath ) { |
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
<li>{{ include.item.title }} | |
{% if include.item.items.size > 0 %} | |
<ul> | |
{% for item in include.item.items %} | |
{% include item.html item=item %} | |
{% endfor %} | |
</ul> | |
{% endif %} | |
</li> |
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
<!-- | |
based on @iriberri's http://bl.ocks.org/iriberri/7d84ed35ef0b5e80555d | |
--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Point Collector | CARTO</title> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" /> |
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
import Ember from 'ember'; | |
var get = Ember.get, | |
arrayComputed = Ember.arrayComputed; | |
export default function (dependentKey, property) { | |
var options = { | |
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
~/Library/Application Support/FEZ/Settings | |
--8<-- Default (Xbox 360) | |
gamepadMapping Jump=1 GrabThrow=0 CancelTalk=2 OpenMap=8 OpenInventory=3 MapZoomIn=5 MapZoomOut=4 Pause=9 RotateLeft=6 RotateRight=7 FpViewToggle=10 ClampLook=11 | |
--8<-- Sony PS3 DualShock3 / Logitech RumblePad 2 | |
gamepadMapping Jump=14 GrabThrow=15 CancelTalk=13 OpenMap=0 OpenInventory=12 MapZoomIn=9 MapZoomOut=8 Pause=3 RotateLeft=10 RotateRight=11 FpViewToggle=1 ClampLook=2 | |
--8<-- |
NewerOlder