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 React from "react"; | |
import Counter from "./Counter"; | |
const App = () => { | |
return ( | |
<div className="App"> | |
<Counter initialCount={100} /> | |
</div> | |
); | |
}; |
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
from __future__ import annotations | |
import array | |
import asyncio | |
from bisect import bisect_left | |
from dataclasses import dataclass | |
import logging | |
import os | |
import socket | |
import time |
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 pyparsing as pp | |
token = pp.Word(pp.alphanums + '_-.') | |
command = pp.OneOrMore(token) | |
separators = ['1>>', '2>>', '>>', '1>', '2>', '>', '<', '||', | |
'|', '&&', '&', ';'] | |
separator = pp.oneOf(separators) |
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 | |
from datetime import datetime | |
from collections import namedtuple | |
from itertools import groupby, takewhile | |
from statistics import median, mean | |
from matplotlib import pyplot | |
import numpy as np | |
from geopy.distance import geodesic | |
Point = namedtuple('Point', 'latitude, longitude, datetime') |
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
use crate::utils::{read_input, Result}; | |
#[derive(Clone, Copy)] | |
pub enum OperatorType { | |
Sum, | |
Product, | |
Min, | |
Max, | |
Gt, | |
Lt, |
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
(ns bf.core) | |
(defmulti run-symbol | |
(fn [symbol _] symbol)) | |
(defmethod run-symbol \+ | |
[_ {:keys [pos] :as state}] | |
(update-in state [:stack pos] inc)) | |
(defmethod run-symbol \- |
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 datetime import datetime | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
from matplotlib.ticker import FuncFormatter | |
from nltk.sentiment.vader import SentimentIntensityAnalyzer | |
import praw | |
options = dict(client_id='', | |
client_secret='', | |
user_agent='') |
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 pathlib import Path | |
from typing import NamedTuple | |
from collections import defaultdict | |
from datetime import timedelta | |
from subprocess import call | |
from pycaption.srt import SRTReader | |
import lxml.html | |
import tensorflow as tf | |
import tensorflow_hub as hub | |
import numpy as np |
NewerOlder