Skip to content

Instantly share code, notes, and snippets.

View tareefdev's full-sized avatar
🏠
Working from home

Tareef Mando tareefdev

🏠
Working from home
View GitHub Profile
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",
[{'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': [],
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.
@tareefdev
tareefdev / output.sh
Created August 21, 2017 14:54
bt full output
#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