Skip to content

Instantly share code, notes, and snippets.

@trevormunoz
trevormunoz / BaseLayout.astro
Last active September 7, 2021 22:34
Astro bits
---
import HeaderLayout from "./HeaderLayout.astro"
import FooterLayout from "./FooterLayout.astro"
const {title} = Astro.props;
---
<!doctype html>
<html lang="us-en">
<head>
<title>{title} | MITH</title>
<link rel="stylesheet" href="/styles/global.css" />
@trevormunoz
trevormunoz / load_and_migrate.py
Created May 3, 2021 11:14
Example usage of umd-mith/veefor
#%%
from dataclasses import asdict, fields
from datetime import datetime
import pytz
import json
import re
from collections import Counter
import ulid
from pydantic import ValidationError
import lakeland_db_migrate_v4 as lv4
@trevormunoz
trevormunoz / finding-cluster-breaks.ipynb
Created July 23, 2017 00:03
Trying to find "bins" representing columns using math.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@trevormunoz
trevormunoz / basic_plots_shared.ipynb
Created June 22, 2017 17:13
Page Analysis Plots
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@trevormunoz
trevormunoz / get-atl-base-geometries.ipynb
Created March 11, 2017 15:29
Exploring Python tools for geospatial data
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@trevormunoz
trevormunoz / mapzen_api_demo.ipynb
Created March 9, 2017 11:35
Using the Mapzen API to geocode locations
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@trevormunoz
trevormunoz / geopandas_lyttonsville.ipynb
Last active March 6, 2017 17:45
Recalculating centroids using Geopandas
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@trevormunoz
trevormunoz / crge_convert.ipynb
Created November 18, 2016 19:58
CRGE Intersectional Research Database scrape
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@trevormunoz
trevormunoz / pandas_dishes.ipynb
Created January 10, 2014 17:35
An IPython notebook demonstrating how the Pandas data analysis library can be used to help curate data from the New York Public Library's What's On the Menu? Project
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.