Skip to content

Instantly share code, notes, and snippets.

View dkuemper's full-sized avatar

Daniel Kuemper dkuemper

  • University of Applied Sciences Osnabrueck
View GitHub Profile
anonymous
anonymous / helath_analysis
Created March 30, 2015 13:19
Analyze your Health app data using R
# -*- coding: utf-8 -*-
# Setting up all required elements
setwd('~/Documents/Health')
options(stringsAsFactors=FALSE)
Sys.setlocale(category="LC_ALL", locale = "en_US.UTF-8")
library(XML)
library(ggplot2)
#####################
@tonyrewin
tonyrewin / osm_tiles_downloader
Created March 9, 2014 08:20
small script to download OSM tiles
#!/usr/bin/python
from sys import argv
import os
import math
import urllib2
import random
import os.path
def deg2num(lat_deg, lon_deg, zoom):