This file contains hidden or 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
#!/usr/bin/env python3 | |
# Save this script to ~/.i3/toggle-title-bar.py, then add the following to | |
# your ~/.i3/config file: | |
# | |
# # toggle title bar | |
# bindsym $mod+t exec ~/.i3/toggle-title-bar.py | |
# | |
# Author: Leandro Lovisolo <[email protected]> | |
# https://github.com/LeandroLovisolo |
This file contains hidden or 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
#!/usr/bin/env python2 | |
# coding: utf-8 | |
import argparse | |
import re | |
from urllib import urlretrieve | |
from urllib2 import urlopen | |
from os.path import isfile | |
def download_json_and_photos(url, url_filename, output_path): |