Basically, it does this for all the repos you own
brew install hub
brew install jq
from dataclasses import dataclass | |
import numpy as np | |
import pymc3 as pm | |
@dataclass | |
class SkillDistribution: | |
'''A class representing the data of a skill distribution. |
# $ python3 --version | |
# Python 3.10.1 | |
# $ python3 hilbert.py | |
# [(0, 0), (1, 0), (1, 1), (2, 1), (2, 2), (2, 3), (3, 3), (3, 4), (4, 4), (4, 5), (5, 5), (5, 6), (5, 7), (6, 7), (6, 8), (7, 8)] | |
import math | |
def hilbert_iter(n): | |
(i, j) = (0, 0) |
# in the base directory of your project | |
QuoteStyle = Traditional | |
VerbEnvir | |
{ | |
verbatim comment listing verbatimtab rawhtml errexam picture texdraw | |
filecontents pgfpicture tikzpicture minted lstlisting texttt | |
solution | |
} |
Copilot-completed given the prompt: | |
class AsyncQueue { | |
constructor() { | |
// Values that have been queued but not dequeued yet are stored here | |
this.values = []; | |
// When Promises are dequeued before their corresponding values are | |
// queued, the resolve methods for those Promises are stored here. | |
this.resolvers = []; | |
// Once closed, no more values can be enqueued, and no more unfulfilled |
class StateMachine: # pragma: no cover | |
""" | |
A simple state machine implementation. | |
""" | |
def __init__(self): | |
self.handlers = {} | |
self.startState = None | |
self.endStates = [] | |
def add_state(self, name, handler, end_state=0): |
from rich import print | |
from rich.table import Table | |
def subsequent_pairs(L): | |
L = iter(L) | |
a = next(L) | |
b = next(L) | |
while True: | |
yield (a, b) |
Month | Price | Percent change | |
---|---|---|---|
10/1/2020 | 3374.70 | 0.27 | |
9/1/2020 | 3365.52 | -0.77 | |
8/1/2020 | 3391.71 | 5.41 | |
7/1/2020 | 3217.73 | 2.80 | |
6/1/2020 | 3130.20 | 5.76 | |
5/1/2020 | 2959.74 | 5.71 | |
4/1/2020 | 2799.99 | 4.83 | |
3/1/2020 | 2670.92 | -18.89 | |
2/1/2020 | 3293.02 | -0.30 |
Basically, it does this for all the repos you own
brew install hub
brew install jq
I hereby claim:
To claim this, I am signing this object: