Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
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
#!/bin/bash | |
set -euxo pipefail | |
openssl genrsa 2048 | openssl pkcs8 -topk8 -v2 des3 -inform PEM -out $1.p8 -nocrypt | |
openssl rsa -in $1.p8 -pubout -out $1.pub | |
cat $1.p8 | |
cat $1.pub |
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
#!/bin/bash | |
set -euxo pipefail | |
openssl genrsa 2048 | openssl pkcs8 -topk8 -v2 des3 -inform PEM -out $1.p8 -passout pass:"${2}" | |
openssl rsa -in $1.p8 -pubout -out $1.pub -passin pass:"${2}" | |
cat $1.p8 | |
cat $1.pub |
Loading
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 contextlib | |
import time | |
import coiled | |
import dask | |
import dask.dataframe as dd | |
import distributed | |
import pandas | |
from dask.datasets import timeseries |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
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 datetime | |
import distributed | |
from distributed.diagnostics import SchedulerPlugin | |
from distributed.utils import key_split, key_split_group | |
class TaskGroupStatistics(SchedulerPlugin): | |
def __init__(self): | |
"""Initialize the plugin""" |
NewerOlder