Skip to content

Instantly share code, notes, and snippets.

View natelowry's full-sized avatar
:shipit:

Nate Lowry natelowry

:shipit:
View GitHub Profile
/*jshint esversion: 6 */
const exiftool = require("exiftool-vendored").exiftool; //yarn add exiftool-vendored
const gpxParser = require("gpxparser"); //yarn add gpxparser
const fs = require("fs");
var gpx = new gpxParser();
gpx.parse(fs.readFileSync("c:/data/Geo.gpx"));
var mainTrack = gpx.tracks[0];
@natelowry
natelowry / NumberFormatting.swift
Last active March 12, 2025 16:20
Swift number formatting, rounding, and validation extensions
print("Pi Time: \(3.14.f(3))")
let myNumber = 4.20 / 6.9
print("the answer is \(myNumber.f(5))")