Skip to content

Instantly share code, notes, and snippets.

View wjn0's full-sized avatar

Walter Nelson wjn0

View GitHub Profile
@wjn0
wjn0 / process_record
Created April 13, 2023 12:22
Process the record directory from a Wyze Cam v3
#!/bin/bash
INDIR=$(realpath $1)
OUTFILE=$(realpath $2)
OUTDIR=$(realpath seccam_output)
rm -r $OUTDIR/tmp
mkdir -p $OUTDIR/tmp
for date in `ls $INDIR`; do
@wjn0
wjn0 / Dockerfile
Created November 18, 2018 17:42
basic Dockerfile for an R data science development environment
FROM ubuntu
ADD ./hcc /root/hcc
ADD .vim /root/.vim
ENV TZ=America/New_York
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update
RUN apt-get install -y git