August 17, 2021
Mind Dump
!
Using prism-react-renderer
:
1let intro = []23let stanza1 = [4 "Home is where the wind fills our sails.",5 "Although many don't sail away from here.",6 "With a lake much like the sea",7 "Sailing what we've already seen.",8 "While we wait for our ship to come and take us away",9 "Well we've got many days before we go!"10]1112let chorus = [13 "Moon pies filled with singly sweet creams",14 "Dreams already made for you and me",15 "So I'll see you when I wake up",16 "But fever dreams have taken over me"17]1819let stanza2 = [20 "So decorate our time like it's makeup",21 "Music and Patron for the bros",22 "We're getting collared up",23 "Walk into the pub like it's a stickup",24 "Play a couple games of pool, hold up",25 "Hit the store to get our stomachs filled up"26]2728const Dump = (props) => (29 <div30 style={{31 fontSize: 20,32 border: '1px solid #efefef',33 padding: 10,34 background: 'white',35 }}36 >37 {Object.entries(props).map(([key, val]) => (38 <pre key={key}>39 <strong style={{ color: 'white', background: 'red' }}>40 {key} 💩41 </strong>42 {JSON.stringify(val, '', ' ')}43 </pre>44 ))}45 </div>46)4748render(<Dump props={[stanza1, chorus, stanza2, chorus]} />)
Code Blocks
My First LeetCode Blog Post