Skip to content

Instantly share code, notes, and snippets.

George Mauer togakangaroo

View GitHub Profile
View notes.org

Covid19 County-Level Deaths

Set this variable to your county name

"Orleans"

No need to run this block, its just pulling data from the nytimes covid-19 tracking csv and filtering it to that of your county. If you’re not in Louisiana, change it to your state.

View notes.org

Covid19 Orleans Deaths

"Orleans"
curl https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-counties.csv | 
 grep "$COUNTY,.*Louisiana"
View notes.org

Covid19 Orleans Deaths

curl https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-counties.csv | 
 grep "Orleans.*Louisiana"
View notes.org

Covid19 Orleans Deaths

curl 'https://dev.datacenterresearch.org/covid-19/outputs/New%20Orleans%20confirmed%20cases%20and%20deaths.csv' -H 'Connection: keep-alive' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'Origin: https://www.datacenterresearch.org' -H 'Sec-Fetch-Dest: empty' -H 'User-Agent: Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Mobile Safari/537.36' -H 'Accept: */*' -H 'Sec-Fetch-Site: same-site' -H 'Sec-Fetch-Mode: cors' -H 'Referer: https://www.datacenterresearch.org/covid-19-data-and-information/covid-19-data/' -H 'Accept-Language: en-US,en;q=0.9' --compressed
View notes.org

Covid19 Orleans Deaths

curl 'https://dev.datacenterresearch.org/covid-19/outputs/New%20Orleans%20confirmed%20cases%20and%20deaths.csv' -H 'Connection: keep-alive' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'Origin: https://www.datacenterresearch.org' -H 'Sec-Fetch-Dest: empty' -H 'User-Agent: Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Mobile Safari/537.36' -H 'Accept: */*' -H 'Sec-Fetch-Site: same-site' -H 'Sec-Fetch-Mode: cors' -H 'Referer: https://www.datacenterresearch.org/covid-19-data-and-information/covid-19-data/' -H 'Accept-Language: en-US,en;q=0.9' --compressed
View foo.md

Sum elements to next in a list

Question:

I have to create a function that sums of every 2 consecutives elements ina lst. for example ([2,4,3,1,-2]). the output expected [6,7,4,-1]

The basic idea is to take the collection

View foo.md

Table of Contents

The basic idea is to take the collection

View is-it-hoisting.html
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2020-02-06 Thu 17:15 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>&lrm;</title>
<meta name="generator" content="Org mode" />
View *Org HTML Export*.txt
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2020-02-06 Thu 17:15 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>&lrm;</title>
<meta name="generator" content="Org mode" />
View notes.org

.Net Course Outline

History and Glossary

.Net vs Java

Anders Hejlsberg and goals of .Net 1.0

  • Emulate success of Java with something familiar to practictioners
  • Prepare groundwork for fixing Java’s errors
  • Create next-gen system for coding on windows
  • Bring VB6 developers to .Net
  • Bring VB6 developers to the web
  • (Later) Promote component-centeric development and encourage ecosystem
You can’t perform that action at this time.