journal (Sun May 24 2020)

Today I learnt

  • #gatsby
  • #javascript
  • #realestate
  • #piano

I can format mdx frontmatter in gatsby e.g.

query MyQuery {
  allMdx {
    nodes {
      frontmatter {
        title
        publish_date(formatString: "YYYY-MM-DD")
      }
    }
  }
}

Importing a file from a CDN, e.g. markdown styling is pretty simple. Just add it to react-helmet.


Using javascript date in this way is probably the most reliable way to create a date from numbers. It has the least surprieses

let birthday = new Date(1995, 11, 17)

Month is 0 based. But everything else works as expected.


Found rentometer.com for analyzing rent of a property Foreclosure: When someone defaults on their mortgage payments and the back take the property and puts it on sale.

https://www.investopedia.com/terms/f/foreclosure.asp


  • The triangle in the middle is called the MIDDLE C
  • Left of the Middle C - Played by left hand, right of the middle C played by right hand
  • Remembering keys
    • C before black key pair.
    • G is the first gap black key triples.
    • A is the second gap between black key triples
    • B After the black key triples
    • D Between the white key pair
    • E After white key pair
    • F before the black key triples.