Skip to content

Instantly share code, notes, and snippets.

View tbeason's full-sized avatar
📌
Stay sharp

Tyler Beason tbeason

📌
Stay sharp
View GitHub Profile
@Arkoniak
Arkoniak / covid19.jl
Created March 7, 2020 18:32
Covid-19 julia reshape
using HTTP, DataFrames, CSV
confirmed_url = "https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_19-covid-Confirmed.csv"
deaths_url = "https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_19-covid-Deaths.csv"
recovered_url = "https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_19-covid-Recovered.csv"
confirmed_df = CSV.File(IOBuffer(HTTP.get(confirmed_url).body)) |> DataFrame
deaths_df = CSV.File(IOBuffer(HTTP.get(deaths_url).body)) |> DataFrame
recovered_df = CSV.File(IOBuffer(HTTP.get(recovered_url).body)) |> DataFrame
ncols = size(confirmed_df, 2)
@kristopherjohnson
kristopherjohnson / Makefile
Last active December 19, 2024 20:15
Makefile that uses Pandoc to generate HTML, PDF, DOCX, etc. from Markdown source files
# Makefile
#
# Converts Markdown to other formats (HTML, PDF, DOCX, RTF, ODT, EPUB) using Pandoc
# <http://johnmacfarlane.net/pandoc/>
#
# Run "make" (or "make all") to convert to all other formats
#
# Run "make clean" to delete converted files
# Convert all files in this directory that have a .md suffix
@dmbates
dmbates / JuliaGitPullRequest.md
Created May 16, 2012 16:49
Setting up git for creating pull requests to JuliaLang

These notes are based on Patrick O'Leary's video that he kindly created when I was wingeing about problems with git. It is best to watch the video first then go back through these notes to recall the steps.

Create a clone of the JuliaLang repository

git clone git://github.com/JuliaLang/julia.git

or

git clone git://github.com/JuliaLang/julia.git myjulia