This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pickle5 import Pickler, load, PickleBuffer | |
import copyreg | |
import os | |
import numpy as np | |
import time | |
import gc | |
import io | |
from multiprocessing import get_context | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Based on multiprocessing.sharedctypes.RawArray | |
# | |
# Uses posix_ipc (http://semanchuk.com/philip/posix_ipc/) to allow shared ctypes arrays | |
# among unrelated processors | |
# | |
# Usage Notes: | |
# * The first two args (typecode_or_type and size_or_initializer) should work the same as with RawArray. | |
# * The shared array is accessible by any process, as long as tag matches. | |
# * The shared memory segment is unlinked when the origin array (that returned |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ctypes | |
import dask.array | |
import dask.array.image | |
import dask.array as da | |
import numpy as np | |
import os | |
import pathlib | |
import skimage.io | |
import subprocess | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Repo 1 of 3827 ... | |
Repo 101 of 3827 ... | |
Repo 201 of 3827 ... | |
Repo 301 of 3827 ... | |
Repo 401 of 3827 ... | |
Repo 501 of 3827 ... | |
Repo 601 of 3827 ... | |
Repo 701 of 3827 ... | |
Repo 801 of 3827 ... | |
Repo 901 of 3827 ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from __future__ import absolute_import, print_function, division | |
import itertools | |
import operator | |
import hashlib | |
import pickle | |
import sys | |
import zarr |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import glob | |
from os.path import join, basename | |
# install this with "conda install -c conda-forge python-graphviz" | |
import graphviz as gv | |
# path to your conda environment | |
path = '/tmp/foo' | |
dg = gv.Digraph(filename='env-%s' % basename(path), format='svg') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import os | |
import requests | |
import ruamel.yaml | |
with open(os.path.expanduser('~/.conda-smithy/circle.token'), 'r') as fh: | |
circle_token = fh.read().strip() |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* # OFFICIAL GITHUB BRAND COLORS | |
-------------------------------------------------------------------- | |
Official Github Brand Colors (August 20, 2015) from the | |
GitHub internal CSS framework (Primer) version 2.3.3 | |
Source URI: http://primercss.io/colors/ | |
1.a = Github Branding Color Swatches | |
-------------------------------------------------------------------- */ | |
.swatch-github-blue { | |
background-color:#4078c0; |