Skip to content

Instantly share code, notes, and snippets.

View CrashedBboy's full-sized avatar
😃
Bravery is a choice not a feeling

CrashedBboy CrashedBboy

😃
Bravery is a choice not a feeling
View GitHub Profile
@jasonbeverage
jasonbeverage / cesium_polyline_modify
Created December 12, 2016 18:32
Modify positions of a cesium polyline programatically.
var viewer = new Cesium.Viewer('cesiumContainer');
var positions = Cesium.Cartesian3.fromDegreesArray([-75, 37,
-85, 37]);
var redLine = viewer.entities.add({
name : 'Red line on the surface',
polyline : {
positions : positions,
width : 5,
/*
* config/bootstrap.js
* Example of how to redirect all http request to https
* See http://jsbot.io/node/http-and-https-handle-with-sailsjs
*
*/
module.exports.bootstrap = function(cb) {
var express = require("express")
var app = express();
@mstankie
mstankie / import-plt.py
Created June 15, 2016 19:33
Two images side-by-side using matplotlib (pylab)
import matplotlib.pyplot as plt