This file contains 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
# RAV328 remote for Yamaha RX-V461 receiver | |
# Based on codes found in http://hifi-remote.com/forums/dload.php?action=file&file_id=9582 | |
begin remote | |
name RAV328 | |
bits 32 | |
flags SPACE_ENC|CONST_LENGTH | |
gap 108000 |
This file contains 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
Font = Liberation Mono | |
FontHeight = 10 | |
Columns = 120 | |
Rows = 40 | |
Locale = en_US | |
Charset = UTF-8 | |
CursorType = block | |
ForegroundColour=131, 148, 150 | |
BackgroundColour= 0, 43, 54 |
This file contains 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
Font = Liberation Mono | |
FontHeight = 10 | |
Columns = 120 | |
Rows = 40 | |
Locale = en_US | |
Charset = UTF-8 | |
CursorType = block | |
ForegroundColour=131, 148, 150 | |
BackgroundColour= 0, 43, 54 |
This file contains 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
" Neo2 remappings | |
noremap s h | |
noremap n gj | |
noremap r gk | |
noremap t l | |
" kill | |
noremap k s | |
" jump | |
noremap j n | |
" hide |
This file contains 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
if 'NENGO_NBSPHINX_KERNEL' in os.environ: | |
nbsphinx_kernel_name = os.environ['NENGO_NBSPHINX_KERNEL'] | |
else: | |
from jupyter_client.kernelspecapp import KernelSpecManager | |
kernels = sorted(KernelSpecManager().find_kernel_specs()) | |
print("Available Jupyter kernels:") | |
for i, kernel in enumerate(kernels): | |
print(" {}. {}".format(i + 1, kernel)) | |
nbsphinx_kernel_name = None | |
while nbsphinx_kernel_name not in kernels: |
This file contains 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 re | |
import sys | |
import pyparsing as pp | |
escaped = pp.Combine( | |
pp.Literal('\\') + pp.CharsNotIn('', exact=1)).setResultsName('percent').leaveWhitespace() | |
comment = pp.Combine(pp.Literal('%') + pp.restOfLine).setResultsName('comment').leaveWhitespace() | |
args = pp.Forward() | |
group = pp.Forward() |
This file contains 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
#!/usr/bin/env python | |
"""Run either pyvenv or virtualenv depending on the version of Python used. | |
To use this with virtualenvwrappper, install it into a directory on your | |
``PATH`` as 'virtualenv-select' and add the following to your | |
``~/.bashrc``: | |
export VIRTUALENVWRAPPER_VIRTUALENV=virtualenv-select | |
.. note:: |
This file contains 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
#!/bin/sh | |
# An example hook script to verify what is about to be pushed to master. Called | |
# by "git push" after it has checked the remote status, but before anything has | |
# been pushed. If this script exits with a non-zero status nothing will be | |
# pushed. | |
# | |
# This hook is called with the following parameters: | |
# | |
# $1 -- Name of the remote to which the push is being done |
This file contains 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
# Configuration file for ipython-notebook. | |
c = get_config() | |
c.IPKernelApp.matplotlib = 'inline' | |
#------------------------------------------------------------------------------ | |
# NotebookApp configuration | |
#------------------------------------------------------------------------------ | |
# NotebookApp will inherit config from: BaseIPythonApplication, Application |
This file contains 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
c = get_config() | |
c.JupyterWidget.font_size = 11 | |
c.JupyterWidget.height = 30 | |
c.JupyterWidget.width = 140 | |
c.JupyterWidget.syntax_style = 'solarizedlight' | |
c.JupyterQtConsoleApp.confirm_exit = False |
NewerOlder