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
| import re | |
| import codecs | |
| import base64 | |
| import os | |
| from Tkinter import * | |
| from tkMessageBox import showinfo | |
| from tkFileDialog import askopenfilename | |
| class Person: | |
| def __init__(self, file=None, baseDir=None): |
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
| //Paste this into http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html replacing exisiting code | |
| var date = new Cesium.JulianDate.now(); | |
| var outObj = [] | |
| for(var i = 0; i < 100; i++){ | |
| var rand = Math.floor((Math.random() * 10000000) + 1); | |
| var newDate = new Cesium.JulianDate(); | |
| Cesium.JulianDate.addMinutes(date, rand, newDate); | |
| outObj.push({ | |
| ISO: Cesium.JulianDate.toIso8601(newDate), |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| luisbg | |
| @luisbg | |
| luis@debethencourt.com | |
| Ohloh profile for Luis de Bethencourt | |
| Blogalia |
NewerOlder