Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"upstream": {
"cline-ch": {
"shape": [
7954,
3465
],
"doublets": [
0,
43,
We couldn’t find that file to show.
Pandas ExtensionArray / ExtensionDType for UUID
@flying-sheep
flying-sheep / index.html
Last active November 23, 2022 12:24
react-slide-routes demo
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<title>Demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="importmap">
{
"imports": {
"@emotion/react": "https://esm.sh/@emotion/react@11.10.5?dev",
@flying-sheep
flying-sheep / setup.py
Created December 2, 2020 14:17
Use flit metadata from setup.py
"""Temporary setuptools bridge
Don't use this except if you have a deadline or you encounter a bug.
"""
import re
import setuptools
from pathlib import Path
from flit_core import common, config
from setuptools_scm.integration import find_files
/node_modules/
/package-lock.json
#!/usr/bin/env python3
import sys
import json
import shutil
from datetime import datetime
from pathlib import Path
from io import StringIO
import whoosh.fields as f
from whoosh.index import create_in
@flying-sheep
flying-sheep / .gitignore
Last active May 2, 2020 13:45
polcompball (but adaptable to any subreddit) flair counter
/cache-*.json
/.vscode/
__pycache__/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.