Skip to content

Instantly share code, notes, and snippets.

View partriv's full-sized avatar

Par partriv

View GitHub Profile
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600" width="800" height="600" role="img" aria-label="Cartoon pelican riding a red bicycle">
<!-- SKY -->
<rect x="0" y="0" width="800" height="485" fill="#B8E6FE"/>
<!-- Sun -->
<circle cx="680" cy="85" r="48" fill="#FFDE59" stroke="#FFAA00" stroke-width="4"/>
<g stroke="#FFAA00" stroke-width="5" stroke-linecap="round">
<line x1="680" y1="15" x2="680" y2="28"/>
<line x1="750" y1="85" x2="737" y2="85"/>
<line x1="610" y1="85" x2="623" y2="85"/>
<line x1="630" y1="35" x2="639" y2="44"/>
@partriv
partriv / get_ranked_followers.py
Created June 24, 2020 01:59
quick script to sort your follower list by who has the most follows
# get your developer keys here https://developer.twitter.com/
import twitter
api = twitter.Api(consumer_key=API_KEY,
consumer_secret=SECRET_KEY,
access_token_key=ACCESS_TOKEN,
access_token_secret=ACCESS_TOKEN_SECRET,
sleep_on_rate_limit=True)
count = -1