This file contains 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 dateutil.parser | |
import fiona | |
import glob | |
import json | |
import math | |
import pytz | |
import re | |
import sys | |
from pathlib import Path |
This file contains 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 strict"; | |
var csv = require("ya-csv"); | |
var polyline = require("polyline"); | |
var moment = require("moment-timezone"); | |
var togpx = require("togpx") | |
var reader = csv.createCsvStreamReader(process.stdin, { columnsFromHeader : true }); | |
var geojson = { |
This file contains 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 io, re, requests, sys, time, zipfile | |
def get_device(token): | |
r = get("/api/v1/user/get", token) | |
device = r.json()["user"]["devices"] | |
print("Device: " + device, file = sys.stderr) | |
return device | |
def list_presences(token, device): | |
r = get("/v4/presence/{0}/latest".format(device), token) |
This file contains 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
Homocysteine (serum) | |
Total cholesterol | |
LDL | |
LDL particle number | |
LDL small particle number | |
LDL size | |
Oxidized LDL | |
HDL | |
HDL particle number | |
Triglycerides |
This file contains 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
dnOTU_15 | AV15-1068 | 16733 | |
---|---|---|---|
dnOTU_16 | AV15-1068 | 20403 | |
dnOTU_17 | AV15-1068 | 32939 |
This file contains 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 groovy.xml.MarkupBuilder | |
new MarkupBuilder().kml(xmlns : 'http://www.opengis.net/kml/2.2') { | |
Document() { | |
new File(args?.size() ? args[0] : '.').eachFileMatch(~/.*\.flight\.kml/) { file -> | |
new XmlParser().parse(file).Document.Placemark.each { placemark -> | |
placemark.Point.each { point -> | |
Placemark { | |
name(placemark.name.text()) | |
Point { |
This file contains 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
package benchmark; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
import org.openjdk.jmh.annotations.Benchmark; | |
import org.openjdk.jmh.annotations.Mode; | |
import org.openjdk.jmh.annotations.Scope; | |
import org.openjdk.jmh.annotations.State; |
This file contains 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
package benchmark; | |
import java.util.Collections; | |
import java.util.List; | |
import java.util.Random; | |
import org.openjdk.jmh.annotations.Benchmark; | |
import org.openjdk.jmh.annotations.Mode; | |
import org.openjdk.jmh.annotations.Scope; | |
import org.openjdk.jmh.annotations.Setup; |
This file contains 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
package benchmark; | |
import org.openjdk.jmh.annotations.Benchmark; | |
import org.openjdk.jmh.annotations.Mode; | |
import org.openjdk.jmh.annotations.Scope; | |
import org.openjdk.jmh.annotations.State; | |
import org.openjdk.jmh.infra.Blackhole; | |
import org.openjdk.jmh.runner.Runner; | |
import org.openjdk.jmh.runner.options.Options; | |
import org.openjdk.jmh.runner.options.OptionsBuilder; |
This file contains 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
package benchmark; | |
import org.openjdk.jmh.annotations.Benchmark; | |
import org.openjdk.jmh.annotations.Mode; | |
import org.openjdk.jmh.annotations.Scope; | |
import org.openjdk.jmh.annotations.State; | |
import org.openjdk.jmh.runner.Runner; | |
import org.openjdk.jmh.runner.options.Options; | |
import org.openjdk.jmh.runner.options.OptionsBuilder; |
NewerOlder