As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
"""Traverses the directory tree deleting any .pyc's who do not have a source .py. | |
Helpful when switching between revisions with source control.""" | |
from os.path import join | |
from os import walk, unlink | |
import re | |
import sys | |
PYTHON_RE = re.compile(R'^(.*\.py)(c)?$') | |
global count |
"""Usage: trac2down <trac wiki dump path>""" | |
from __future__ import unicode_literals | |
import codecs | |
import os | |
import re | |
import sys | |
def convert_wiki_link(link): | |
if link.startswith('wiki:'): |
# custom sqlalchemy column type for a pendulum datetime - https://pendulum.eustace.io/ | |
from datetime import datetime | |
import pendulum | |
import sqlalchemy as sa | |
from sqlalchemy.types import TypeDecorator as _TypeDecorator | |
from sqlalchemy_utils.types.scalar_coercible import ScalarCoercible as _ScalarCoercible |