Start out with 25 horses. Group them arbitrarily into races with 5 horses. Label them.
Race 1
a
b
c
d
e
| import requests | |
| import time | |
| from config import API_KEY, API_SECRET, ACCESS_TOKEN, USER_ID | |
| # Get your authentication information from https://disqus.com/api/applications/ | |
| AUTH = { | |
| 'api_key': API_KEY, | |
| 'api_secret': API_SECRET, |
| LEGISLATIVE BRANCH | |
| Advisory Neighborhood Commissions | |
| Council of the District of Columbia | |
| Office of the District of Columbia Auditor | |
| JUDICIAL BRANCH | |
| Commission on Judicial Disabilities and Tenure | |
| DC Court of Appeals |
| import errno | |
| import os | |
| import sys | |
| if __name__ == '__main__': | |
| try: | |
| with open(sys.argv[1], 'r') as infile: | |
| text = infile.readlines() | |
| except IndexError: | |
| print('Usage: python arena_ascii.py txt_file_path') |
Start out with 25 horses. Group them arbitrarily into races with 5 horses. Label them.
Race 1
a
b
c
d
e
| #!/bin/bash | |
| # set max file size to include (in MB) | |
| max_size_mb=100 | |
| max_size_b="$(($max_size_mb * 1000000))c" | |
| git_dir="$(git rev-parse --show-toplevel)" | |
| git_exclude=$git_dir/.git/info/exclude | |
| files="$(find $git_dir -path $git_dir/.git -prune -o -type f -size +$max_size_b -print | sed "s%$git_dir/%%g" | sed "s/\ /\\\ /g")" |