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 copy import deepcopy | |
import seaborn as sns | |
from functools import reduce | |
from tqdm import tqdm | |
import pandas as pd | |
from mne.datasets import eegbci | |
from argparse import ArgumentParser | |
import logging | |
from mne.io import concatenate_raws, read_raw_edf | |
from mne.channels import make_standard_montage |
We can't make this file beautiful and searchable because it's too large.
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
make,model,year,drive,transmission,cylinders,fuelType,miles_per_gallon | |
Alfa Romeo,Spider Veloce 2000,1985,Rear-Wheel Drive,Manual 5-spd,4,Regular,19 | |
Ferrari,Testarossa,1985,Rear-Wheel Drive,Manual 5-spd,12,Regular,9 | |
Dodge,Charger,1985,Front-Wheel Drive,Manual 5-spd,4,Regular,23 | |
Ford,Focus Electric,2016,Front-Wheel Drive,Automatic (A1),,Electricity,110 | |
Tesla,Model X AWD - 90D,2016,All-Wheel Drive,Automatic (A1),,Electricity,90 | |
Dodge,B150/B250 Wagon 2WD,1985,Rear-Wheel Drive,Automatic 3-spd,8,Regular,10 | |
Subaru,Legacy AWD Turbo,1993,4-Wheel or All-Wheel Drive,Manual 5-spd,4,Premium,17 | |
Chevrolet,Cavalier Convertible,1987,Front-Wheel Drive,Automatic 3-spd,6,Regular,18 | |
BMW,135i Convertible,2010,Rear-Wheel Drive,Manual 6-spd,6,Premium,17 |
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 pandas as pd | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import io | |
import base64 | |
import plotly.express as px | |
def generate_html_report(report_items): | |
html_string = ''' |
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
name: Build and deploy Jekyll site to GitHub Pages | |
on: | |
push: | |
branches: | |
- master # or master before October 2020 | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: |
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
--- | |
layout: page | |
--- | |
<ul class="posts-list list-unstyled" role="list"> | |
{% for e in site.medium_posts_json %} | |
<li class="post-preview"> | |
<a href="{{ e.link | absolute_url }}"> | |
<h2 class="post-title">{{ e.title | strip_html }}</h2> | |
</a> |
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
require 'uri' | |
require 'net/http' | |
require 'json' | |
require 'nokogiri' | |
module Jekyll | |
class JekyllDisplayMediumPosts < Generator | |
safe true | |
priority :high | |
def generate(site) | |
jekyll_coll = Jekyll::Collection.new(site, 'medium_posts_json') |
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
package main | |
import ( | |
"log" | |
"os" | |
"github.com/gdamore/tcell" | |
) | |
func main() { |
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
package main | |
import ( | |
"math/rand" | |
"strconv" | |
"time" | |
"github.com/gdamore/tcell" | |
) |
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
package main | |
type Part struct { | |
X int | |
Y int | |
} | |
type SnakeBody struct { | |
Parts []Part | |
Xspeed int |
NewerOlder