Skip to content

Instantly share code, notes, and snippets.

View ZoeLeBlanc's full-sized avatar
:shipit:
💃🏽🍁 👩🏽‍💻 💅🏽 🎉

Zoe LeBlanc ZoeLeBlanc

:shipit:
💃🏽🍁 👩🏽‍💻 💅🏽 🎉
View GitHub Profile
@ZoeLeBlanc
ZoeLeBlanc / pre-commit
Last active October 14, 2023 12:44
pre-commit hook for larger files
#!/bin/bash
GIT_DIR=$(git rev-parse --show-toplevel)
# Check if the file or any of its parent directories matches any patterns in gitignore
is_ignored_by_git() {
# Check if the file is ignored using Git's own check-ignore command
git -C "$GIT_DIR" check-ignore -q "$1"
return $?
}
@ZoeLeBlanc
ZoeLeBlanc / .block
Last active February 8, 2021 22:17
Game of Thrones Matrix
license: mit
@ZoeLeBlanc
ZoeLeBlanc / .block
Last active January 27, 2021 15:06
Game of Thrones Matrix
license: mit
@ZoeLeBlanc
ZoeLeBlanc / dhqa_data_zoe_edits.py
Last active May 3, 2020 20:39
Edits to Rebecca Koeser's script to generate dataset from DH Q&A archive (preliminary)
#!/usr/bin/env python
'''
Script to parse data DH Q&A archive.
Install python dependencies:
pip install beautifulsoup4 lxml
Clone DH Q&A archive repository:
@ZoeLeBlanc
ZoeLeBlanc / keplergl.json
Created November 28, 2019 21:24
map_for_website
{
"datasets": [
{
"version": "v1",
"data": {
"id": "xnp56g8ub",
"label": "test_final.csv",
"color": [
62,
172,
@ZoeLeBlanc
ZoeLeBlanc / .block
Last active September 10, 2018 20:38
d3.js tool tip with HTML link
license: mit
@ZoeLeBlanc
ZoeLeBlanc / .block
Last active September 10, 2018 14:14
vue test
license: mit
@ZoeLeBlanc
ZoeLeBlanc / .block
Created September 10, 2018 12:33
vue d2b sunburst from R
license: mit
@ZoeLeBlanc
ZoeLeBlanc / .block
Last active August 23, 2018 17:54
Step 6 - Final - Voronoi (Distance Limited Tooltip) Scatterplot
height: 550
@ZoeLeBlanc
ZoeLeBlanc / .block
Last active August 21, 2018 19:00
Multi-Line Voronoi
license: gpl-3.0