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
--- | |
title: "R Notebook" | |
output: html_document | |
--- | |
```{r message=FALSE, warning=FALSE, include=FALSE} | |
list.of.packages <- c("geojsonio", "leaflet") | |
new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"])] | |
if(length(new.packages)) install.packages(new.packages) |
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
#!/bin/bash | |
# A script to combine geojson files produced by Overland iOS app into one file. | |
if ! command -v jq &> /dev/null | |
then | |
echo "jq command could not be found. Ensure it is installed and runnable from current context" | |
exit | |
fi |
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
from os import curdir | |
from os.path import join as pjoin | |
import sys, datetime, time, glob, os | |
from systemd import journal | |
from http.server import BaseHTTPRequestHandler, HTTPServer | |
class StoreHandler(BaseHTTPRequestHandler): | |
store_path = pjoin(curdir, 'store') | |
# in overland the url will be http://yourservername_or_ip:8383/store |