Skip to content

Instantly share code, notes, and snippets.

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):
//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),
@colek42
colek42 / 0_reuse_code.js
Created January 7, 2016 23:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@colek42
colek42 / gist:97b974869acaff5a07e3
Created December 6, 2015 01:38
git hub cheat sheet
luisbg
@luisbg
luis@debethencourt.com
Ohloh profile for Luis de Bethencourt
Blogalia