(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
#!/usr/bin/env python | |
""" | |
Get exchange rate from NBP service for USD (default) and provided day (or now) | |
""" | |
import argparse | |
from datetime import datetime | |
import requests |
#!/usr/bin/env python | |
import argparse | |
from datetime import datetime | |
from pytz import common_timezones, timezone | |
parser = argparse.ArgumentParser(description="Tells you if it's Thursday " | |
"anywhere in the world.") | |
parser.add_argument('--all', action='store_true', default=False, | |
help='Print all timezones with Thursday.') |
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the active virtualenv | |
# * the active nodejs virtualenv[1] | |
# * the branch/status of the current Git, Mercurial or Subversion repository | |
# * the return value of the previous command | |
# * one line prompt |