Skip to content

Instantly share code, notes, and snippets.

@flying-sheep
flying-sheep / memray-flamegraph-anndata-mem.html
Created April 30, 2024 10:09
Flamegraph for anndata#1482
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>memray - flamegraph report</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css">
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__/