This file contains hidden or 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
| $("#ac_me").autocomplete({ | |
| source: function( request, response ) { | |
| $.getJSON("http://api.addressfinder.co.nz/search/location?callback=?", | |
| {q:request.term,key:"YOUR-API-KEY"}, | |
| function( data ) { | |
| response( $.map( data.results, function( item ) { | |
| return { | |
| label: item.a, | |
| pxid: item.pxid | |
| } |
This file contains hidden or 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
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| html{ | |
| background: #f06; | |
| background: linear-gradient(45deg, #f06, yellow); | |
| min-height:100%; | |
| } | |
| .hello{ | |
| display:inline-block; |
This file contains hidden or 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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <title></title> | |
| <meta name="description" content=""> | |
| <meta name="viewport" content="width=device-width"> |
This file contains hidden or 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
| source "https://rubygems.org" | |
| gem "therubyracer" | |
| gem "guard" | |
| gem "guard-coffeescript" |
This file contains hidden or 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
| Ext.define('App.model.Address', { | |
| extend: 'Ext.data.Model', | |
| config: { | |
| fields: [ | |
| { | |
| name: 'a' | |
| }, { | |
| name: 'pxid' | |
| }, { | |
| name: 'v' |
This file contains hidden or 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
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>Streetview Annotation</title> | |
| <link type='text/css' rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.css" /> | |
| <style type="text/css"> | |
| #mapdiv{ | |
| position: absolute; | |
| top: 0; | |
| bottom: 0; |
This file contains hidden or 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
| #map img{ | |
| max-width: none; | |
| } | |
| #map label { | |
| width: auto; | |
| display:inline; | |
| } |
This file contains hidden or 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
| var groups = [ | |
| {name:"European",value:2949.0 }, | |
| {name:"Asian",value:924.0 }, | |
| {name:"Pacific",value:99.0 }, | |
| {name:"M\u0101ori",value:255.0 }, | |
| {name:"MELAA",value:87.0 }, |
This file contains hidden or 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
| children = | |
| "Christina Daniel" : 12 | |
| "Brock Sanford" : 10 | |
| "Yasmin Feest" : 8 | |
| "Brock Sauer" : 7 | |
| "Christina Leannon" : 9 | |
| "Maci Block" : 11 | |
| "Ruben Macejkovic" : 5 | |
| "Aiyana Schneider" : 10 | |
| "Celestine Ullrich" : 11 |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <script src="http://mbostock.github.com/d3/d3.v2.js?2.8.1"></script> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
| <style> | |
| body { | |
| font: 10px sans-serif; | |
| } | |
| rect { |
OlderNewer