This file contains hidden or 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
import ast | |
import logging | |
import re | |
# import test_get_complete_position_original as orig | |
logger = logging.getLogger('test_get_complete_position') | |
logger.propagate = False | |
imports = re.compile( |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
from __future__ import division, print_function | |
import itertools as it | |
import six | |
from pyprimes.factors import factorise, factors # noqa | |
try: | |
from math import gcd # noqa | |
except ImportError: |
This file contains hidden or 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
import greenlet | |
import logging | |
import neovim | |
import os | |
from functools import partial | |
from jupyter_client import KernelManager, find_connection_file | |
logger = logging.getLogger(__name__) | |
error, debug, info, warn = ( | |
logger.error, logger.debug, logger.info, logger.warn,) |
This file contains hidden or 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
import greenlet | |
import logging | |
import neovim | |
import os | |
from functools import partial | |
from jupyter_client import KernelManager | |
from jupyter_client.consoleapp import JupyterConsoleApp | |
from jupyter_client.threaded import ThreadedKernelClient | |
from jupyter_core.application import JupyterApp |
This file contains hidden or 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
import ast | |
import greenlet | |
import logging | |
import neovim | |
import os | |
import re | |
from .base import Base | |
from functools import partial | |
from jupyter_client import KernelManager | |
from jupyter_client.consoleapp import JupyterConsoleApp |
This file contains hidden or 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
1463705827.587976 client started (18194): socket /private/tmp/tmux-501/default, protocol 8 | |
1463705827.588003 on Darwin 14.5.0 Darwin Kernel Version 14.5.0: Mon Jan 11 18:48:35 PST 2016; root:xnu-2782.50.2~1/RELEASE_X86_64; libevent 2.0.22-stable (kqueue) | |
1463705827.588042 socket is /private/tmp/tmux-501/default | |
1463705827.588053 trying connect | |
1463705827.588068 connect failed: Connection refused | |
1463705827.588135 lock file is /private/tmp/tmux-501/default.lock | |
1463705827.588220 flock succeeded | |
1463705827.588224 got lock (5) | |
1463705827.588229 trying connect | |
1463705827.588235 connect failed: Connection refused |
This file contains hidden or 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
" Vim plugin for showing matching parens | |
" Maintainer: Bram Moolenaar <[email protected]> | |
" Last Change: 2014 Jul 19 | |
" Exit quickly when: | |
" - this plugin was already loaded (or disabled) | |
" - when 'compatible' is set | |
" - the "CursorMoved" autocmd event is not available. | |
if exists("g:loaded_matchparen") || &cp || !exists("##CursorMoved") | |
finish |
This file contains hidden or 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
import matplotlib.pyplot as plt | |
import numpy as np | |
import scipy.constants as const | |
from numpy.linalg import norm | |
from collections import namedtuple | |
pa2psf = 1 / (const.psi * (const.inch / | |
const.foot) ** 2) | |
m2ft = 1 / const.foot | |
if 'fignum_override' not in globals(): |
This file contains hidden or 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
menu.usb=USB Type | |
menu.speed=CPU Speed | |
menu.keys=Keyboard Layout | |
menu.usb=USB Type |
This file contains hidden or 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
#echo -ne "\x1bP\x1b]4;0;rgb:00/00/00\a\x1b\\" | |
#echo -ne "\x1bP\x1b]4;1;rgb:7a/00/00\a\x1b\\" | |
#echo -ne "\x1bP\x1b]4;2;rgb:00/7a/00\a\x1b\\" | |
#echo -ne "\x1bP\x1b]4;3;rgb:7a/7a/00\a\x1b\\" | |
#echo -ne "\x1bP\x1b]4;4;rgb:00/00/7a\a\x1b\\" | |
#echo -ne "\x1bP\x1b]4;5;rgb:7a/00/7a\a\x1b\\" | |
#echo -ne "\x1bP\x1b]4;6;rgb:00/7a/7a\a\x1b\\" | |
#echo -ne "\x1bP\x1b]4;7;rgb:c5/c5/c5\a\x1b\\" | |
#echo -ne "\x1bP\x1b]4;8;rgb:7a/7a/7a\a\x1b\\" | |
#echo -ne "\x1bP\x1b]4;9;rgb:ff/00/00\a\x1b\\" |