Skip to content

Instantly share code, notes, and snippets.

@minghao51
minghao51 / sample-dataset-alternative.csv
Created June 9, 2020 18:52
sample-dataset long format
Month Temperature Precipitation
January 7 8.1
February 7 14.9
March 10 41
April 15 31.4
May 20 42.6
June 23 57.5
July 26 36
@minghao51
minghao51 / sample-dataset.csv
Created June 9, 2020 18:09
sample csv data for testing
January February March April May June July
Temperature 7 7 10 15 20 23 26
Precipitation 8.1 14.9 41 31.4 42.6 57.5 36
@minghao51
minghao51 / covid world csv
Last active June 11, 2020 16:50
Covid_continent
dateRep,Africa,America,Asia,Europe,Oceania,Other
2020-01-06,0.0,0.0,59.0,0.0,0.0,0.0
2020-01-13,0.0,0.0,127.0,0.0,0.0,0.0
2020-01-20,0.0,0.0,375.0,0.0,0.0,0.0
2020-01-27,0.0,15.0,7825.0,9.0,9.0,0.0
2020-02-03,0.0,55.0,63328.0,102.0,43.0,0.0
2020-02-10,0.0,54.0,145254.0,114.0,40.0,289.0
2020-02-17,3.0,28.0,201453.0,87.0,10.0,1346.0
2020-02-24,4.0,74.0,113151.0,233.0,25.0,2575.0
2020-03-02,15.0,358.0,43581.0,6383.0,47.0,697.0
@minghao51
minghao51 / onenote_export.py
Last active January 9, 2020 08:44 — forked from danmou/onenote_export.py
Onenote export to HTML
### README
# This Python scripts exports all the OneNote notebooks linked to your Microsoft account to HTML files.
## Output
# The notebooks will each become a subdirectory of the `output` folder, with further subdirectories
# for the sections within each notebook and the pages within each section. Each page is a directory
# containing the HTML file `main.html` and two directories `images` and `attachments` (if necessary)
# for the images and attachments. Any sub-pages will be subdirectories within this one.
## Setup
@minghao51
minghao51 / ScriptLab Search Wiki.POWERPOINT.yaml
Last active November 9, 2019 06:08
Search Wikipedia based on the selected text.
name: ScriptLab Search Wiki
description: Search Wikipedia based on the selected text.
host: POWERPOINT
api_set: {}
script:
content: |
$("#insert").click(run);
Office.onReady((info) => {
console.log(info.host);