Skip to content

Instantly share code, notes, and snippets.

@rgordon
rgordon / compose.yaml
Created April 9, 2023 23:14
simple yaml per latest compose spec to launch jupyter lab container
services:
jupyter-notebook:
image: jupyter/datascience-notebook:latest
volumes:
- $PWD:/home/jovyan/work
ports:
- 8888:8888
container_name: jupyter_lab
command: "jupyter lab"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rgordon
rgordon / MultiColumnTransformer.ipynb
Created January 21, 2023 22:18
Pyspark multi-column transformer
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am rgordon on github.
  • I am rgordon (https://keybase.io/rgordon) on keybase.
  • I have a public key ASCjxkMI97mpPCwUNgPG-P4ws6bMLnRFfd2oMuJhZxiLwAo

To claim this, I am signing this object:

@rgordon
rgordon / apple_health_load_analysis_R.r
Last active August 15, 2016 07:28 — forked from ryanpraski/apple_health_load_analysis_R.r
Load Apple Health Kit export.xml file in R then analyze and visualize Steps Data using R
library(dplyr)
library(ggplot2)
library(lubridate)
library(XML)
#load apple health export.xml file
#xml <- xmlParse("C:\\Users\\praskry\\Desktop\\apple_health_data\\export.xml")
xml <- xmlParse("./export/export.xml")
#transform xml file to data frame - select the Record rows from the xml file
@rgordon
rgordon / gist:4703558
Created February 3, 2013 20:37
simple Arduino script to read dht11 sensor and display on parallax serial lcd
#include <dht11.h>
#include <SoftwareSerial.h>
dht11 DHT11;
const int dht11Pin = 2;
const int TxPin = 6;
SoftwareSerial mySerial = SoftwareSerial(255, TxPin);
void setup()