Skip to content

Instantly share code, notes, and snippets.

<canvas id="my-canvas" width="500" height="500"></canvas>
<script>
let mycanvas = document.getElementById('my-canvas')
let ctx = mycanvas.getContext('2d')
console.log(mycanvas)
let bird = {
x: 20,
@YuanruiZhang
YuanruiZhang / twitter crawler.txt
Created November 29, 2018 21:08 — forked from vickyqian/twitter crawler.txt
A Python script to download all the tweets of a hashtag into a csv
import tweepy
import csv
import pandas as pd
####input your credentials here
consumer_key = ''
consumer_secret = ''
access_token = ''
access_token_secret = ''
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)