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
How to keep git log and less output on the screen | |
http://serebrov.github.io/html/2014-01-04-git-log-and-less-keep-output.html | |
Just for git commands: | |
git config --global --replace-all core.pager "less -iXFR" | |
For less globally (including git) - add to .bashrc / .zshrc / etc: | |
export LESS=-iXFR | |
The options we set for less are: |
import pytest | |
import aiohttp | |
import asyncio | |
from asynctest import CoroutineMock, MagicMock, patch | |
# Example Code | |
async def fetch(session, url): |
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