Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View Wikunia's full-sized avatar

Ole Kröger Wikunia

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)

Demo:

Spoiler warning

Spoiler text. Note that it's important to have a space after the summary tag. You should be able to write any markdown you want inside the <details> tag... just make sure you close <details> afterward.

console.log("I'm a code block!");
@jasonsanjose
jasonsanjose / gist:567b16762f6ae927fa81
Created August 21, 2014 15:55
Execute Brackets code hints
var Commands = brackets.getModule("command/Commands"),
CommandManager = brackets.getModule("command/CommandManager");
CommandManager.execute(Commands.SHOW_CODE_HINTS);
@wormeyman
wormeyman / OpenWithBrackets.bat
Last active January 19, 2022 20:33 — forked from mrchief/LICENSE.md
Run as administrator, when you right click on a file or folder it gives you the option to open in brackets. When you are done close the cmd window.
@echo off
SET st2Path=C:\Program Files (x86)\Brackets\Brackets.exe
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Brackets" /t REG_SZ /v "" /d "Open with Brackets" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Brackets" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Brackets\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f
rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Brackets" /t REG_SZ /v "" /d "Open with Brackets" /f