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
var baseMap = 'mapbox.world-bright' | |
var layers = [ | |
baseMap | |
]; | |
var loadMap = function(layers) { | |
var url = 'http://api.tiles.mapbox.com/v3/' + layers + '.jsonp'; | |
wax.tilejson(url, function(tilejson) { | |
var map = new MM.Map('map', new wax.mm.connector(tilejson)); | |
map.setCenterZoom({ lat: 39, lon: -98 }, 4); |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<title>sap.ui.ux3.Shell Test</title> | |
<script src="sapui5/resources/sap-ui-core.js" | |
type="text/javascript" | |
id="sap-ui-bootstrap" |
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
<!-- HTML --> | |
<div class="modal-dialog-background"> | |
<div class="modal-dialog"> | |
<h1>Submit</h1> | |
<div class="inner-wrapper"> | |
<p>Press submit to record your answers.</p> | |
</div> | |
<div class="buttons"> | |
<button type="button" class="cancel">Cancel</button> | |
<button type="button" class="submit">Submit</button> |
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
/****************************************************************************** | |
* | |
* SCROLLER | |
* Author: Kerri Shotts | |
* Version: 0.1 alpha | |
* License: MIT | |
* | |
* This library is intended to be similar to iScroll-lite in that it should be | |
* a relatively fast method of scrolling content without being horribly laggy | |
* or cause incorrect "clicks" to be registered. |
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
<html> | |
<head> | |
<title></title> | |
<script type="text/javascript" charset="utf-8" src="phonegap/cordova-1.6.0.js"></script> | |
<script id="sap-ui-bootstrap" | |
type="text/javascript" | |
src="sapui5/resources/sap-ui-core.js" | |
data-sap-ui-theme="sap_platinum" |
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
// I am trying to modify this gist inorder to run into iPhone/iPad using jquery with User login (User, Password and source) | |
// Details using SAP gateway demo. I think we can modify this source | |
// http://gateway.server:port/sap/opu/sdata/IWFND/RMTSAMPLEFLIGHT/?$format=xml | |
// This is the SAP demo gateway portal | |
http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/1051f6d9-e87a-2e10-d188-e2786c7878b1 | |
User: GW@ESW | |
Password: "ESW4GW" |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="author" content="Clark Sell" /> | |
<title>Consuming an OData Service from jQuery</title> | |
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.6.2.min.js"></script> | |
<script src="http://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js"></script> <!-- http://api.jquery.com/category/plugins/templates/ --> |
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
When one says "social coding" I ask "how social"? One measure of social-ness is the number of distinct collaborators. | |
The data is from the github.timeline dataset. The visualization uses D3 and is adapted from the Sunburst example. | |
Click http://bl.ocks.org/2866246 to view it in all its glory. |
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
var geojson = L.geoJson(data, { | |
// style for all vector layers (color, opacity, etc.) (optional) | |
getStyle: function (feature) { | |
return feature.properties && feature.properties.style; | |
}, | |
// function for creating layers for GeoJSON point features (optional) | |
pointToLayer: function (feature, latlng) { | |
return L.marker(latlng, { |