This file contains 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
\documentclass[letterpaper]{article} | |
\usepackage{amsmath} | |
\usepackage{tikz} | |
\usepackage{epigraph} | |
\usepackage{lipsum} | |
\usepackage[danish]{babel} | |
\renewcommand\epigraphflush{flushright} | |
\renewcommand\epigraphsize{\normalsize} | |
\setlength\epigraphwidth{0.72\textwidth} |
This file contains 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
proc lightformat(p: var MultipartData): string = | |
if p == nil or p.content.len == 0: | |
return | |
# Create boundary that is not in the data to be formatted | |
var bound: string | |
while true: | |
bound = $random(int.high) | |
var found = false | |
for s in p.content: |
This file contains 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
proc lightformat(p: var MultipartData): string = | |
if p == nil or p.content.len == 0: | |
return | |
# Create boundary that is not in the data to be formatted | |
var bound: string | |
while true: | |
bound = $random(int.high) | |
var found = false | |
for s in p.content: |
This file contains 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
import requests, re, sys | |
url = "https://mobile.twitter.com/{}/following" | |
cursor = "" | |
usernames = [] | |
first = True | |
if len(sys.argv) < 2: | |
print("Usage: python followers.py <username>") | |
quit(1) |