Skip to content

Instantly share code, notes, and snippets.

View anorouzi's full-sized avatar
🐬
Working from home

Ahmad Norouzi anorouzi

🐬
Working from home
View GitHub Profile
@anorouzi
anorouzi / twitter crawler.txt
Created July 4, 2022 22:50 — 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)
@anorouzi
anorouzi / media_queries.css
Created July 12, 2017 23:26 — forked from staydecent/media_queries.css
Example of various media queries for responsive web design.
/* Media queries used on blog.staydecent.ca by Adrian Unger
check my full source at:
http://blog.staydecent.ca/static/css/style-0.1.6.css */
@media only screen and (min-width:768px) and (max-width:1269px) {
/* In my particular design, I used a fluid grid limited to a
max-width of 1140px, while (if there is enough room)
pushing the menu outside of layout, requiring a total
limit of at least 1270px.
So, this first query applies to any screen-width less