This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const cheerio = require("cheerio"); | |
| const { readFileSync, writeFileSync } = require("fs"); | |
| const fs = require("fs"); | |
| var TurndownService = require("turndown"); | |
| const path = require("path"); | |
| const years = [ | |
| "2009", | |
| "2010", | |
| "2011", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [{'has_media': False, | |
| 'hashtags': ['NotATargethttps'], | |
| 'img_urls': [], | |
| 'is_replied': False, | |
| 'is_reply_to': False, | |
| 'likes': 3, | |
| 'links': ['https://abcnews.go.com/International/wireStory/report-130-attacks-medical-facilities-yemen-war-67015979?fbclid=IwAR0Qxtf3UhOK2finpppgo9eqopaJbwa42cFB4vNoXlsI_Xj2asyPBKthmcU'], | |
| 'parent_tweet_id': '', | |
| 'replies': 0, | |
| 'reply_to_users': [], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const parent = ({data}) => { | |
| const [hoveredDistrict, setHoveredDistrict] = useState('hi'); | |
| console.log('I re-rendered!'); | |
| return ( | |
| <div> | |
| <firstComponent/> | |
| <secondComponent setHoveredDistrict={setHoveredDistrict} /> | |
| <div> {HoveredDistrict} </div> | |
| <thirdComponent/> |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #0 0x00007f4bc23ce49d in _int_malloc () at /lib64/libc.so.6 | |
| #1 0x00007f4bc23d0420 in malloc () at /lib64/libc.so.6 | |
| #2 0x00007f4bc2722e2f in () at /usr/lib64/libreoffice/program/libuno_sal.so.3 | |
| #3 0x00007f4bc2724374 in rtl_uString_new_WithLength () | |
| at /usr/lib64/libreoffice/program/libuno_sal.so.3 | |
| #4 0x00007f4bc2722a14 in rtl_uStringbuffer_ensureCapacity () | |
| at /usr/lib64/libreoffice/program/libuno_sal.so.3 | |
| #5 0x00007f4bc2722b1c in rtl_uStringbuffer_insert () | |
| at /usr/lib64/libreoffice/program/libuno_sal.so.3 | |
| #6 0x00007f4bc271427c in () at /usr/lib64/libreoffice/program/libuno_sal.so.3 |