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
# encoding: utf-8 | |
""" | |
This workflow requires the python module `alfred-workflow` (https://github.com/deanishe/alfred-workflow). | |
To install it on your system, follow the tutorial on `alfred-workflow` documentation website and | |
replace the python script by this one. | |
""" | |
import sys | |
from workflow import Workflow3 as Workflow, ICON_WEB, ICON_WARNING, web |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/usr/local/bin/python3 | |
from argparse import ArgumentParser | |
from socket import gethostname | |
import subprocess | |
import arrow | |
import requests | |