Skip to content

Instantly share code, notes, and snippets.

View YousefED's full-sized avatar

Yousef YousefED

View GitHub Profile
var viewer = new Cesium.Viewer('cesiumContainer');
var lines = viewer.scene.primitives.add(new Cesium.PolylineCollection());
for(var i = 0; i < 1000; i++) {
var positions = [-75+i, 35, -60, 40];
lines.add({
positions: Cesium.Cartesian3.fromDegreesArray(positions),
function locationPick() {
document.getElementById("myDropdown").classList.toggle("show");
}
window.onclick = function(event) {
if (!event.target.matches('.dropbtn')) {
var dropdowns = document.getElementsByClassName("dropdown-content");
var i;
for (i = 0; i < dropdowns.length; i++) {
@YousefED
YousefED / gist:bb8c4b4635852a5b44dd
Created March 3, 2016 07:48
temp fix strava v3
/**
* Created by austin on 9/20/14.
*/
var util = require('./util')
;
var activities = {}
, _qsAllowedProps = [