Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/bin/bash | |
| # Helper script for deluge or qBittorrent bittorrent clients | |
| # Intended to be run when the torrent download completes | |
| # | |
| # for qBittorrent, enable 'Run external program on torrent completion' under 'Downloads' in the options dialog. | |
| # in the text field, enter: | |
| # | |
| # <path to>/torrent-complete.sh "%K" "%N" "%D" | |
| # |
| #!/usr/bin/env bash | |
| # | |
| # gh-dl-release! It works! | |
| # | |
| # This script downloads an asset from latest or specific Github release of a | |
| # private repo. Feel free to extract more of the variables into command line | |
| # parameters. | |
| # | |
| # PREREQUISITES | |
| # |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000