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
<html lang="en"> | |
<head> | |
<title></title> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<meta charset="utf-8"> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale = 1.0, maximum-scale=1.0, user-scalable=no"> | |
<link rel="stylesheet" href="main.css"> | |
</head> | |
<body> |
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
#! python3 | |
CHR_SCALE_S = ('a', 'ais', 'b', 'c', 'cis', 'd', 'dis', 'e', 'f', 'fis', 'g', 'gis') | |
CHR_SCALE_F = ('a', 'bes', 'b', 'c', 'des', 'd', 'ees', 'e', 'f', 'ges', 'g', 'aes') | |
CHR_SCALES = (CHR_SCALE_S, CHR_SCALE_F) | |
SCALE = ('a', 'b', 'c', 'd', 'e', 'f', 'g') | |
INTERVAL = {'m2':1, 'M2':2, 'm3':3, 'M3':4, 'P4':5, '4+':6, '5-':6, 'P5': 7, 'm6':8, 'M6':9, 'm7':10, 'M7':11} | |
def get_interval(note, interval, up=True): | |
'''get a note at interval from given 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
#! python3 | |
from interval import get_interval, INTERVAL | |
def get_triad(bass, figure=''): | |
'''takes a bass note (ie a,b,c,d ...) and a figured bass string (ie '6/4', '6')''' | |
n1 = bass | |
n2 = '' | |
n3 = '' | |
if figure == '': |
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 | |
"""This sets up a Debian VM for host-only network adapter""" | |
import argparse | |
from subprocess import call | |
parser = argparse.ArgumentParser(description="setup VM for host only networking") | |
parser.add_argument('--ip', '-ip', required=True, help='an ip address for host only adapter') | |
args = vars(parser.parse_args()) |
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
(testenv) rfrazier@debian64:~/nupic$ nupic-bindings-check | |
Traceback (most recent call last): | |
File "/home/rfrazier/testenv/bin/nupic-bindings-check", line 11, in <module> | |
load_entry_point('nupic.bindings==0.7.2', 'console_scripts', 'nupic-bindings-check')() | |
File "/home/rfrazier/testenv/lib/python2.7/site-packages/nupic/bindings/check.py", line 60, in checkMain | |
checkImportBindingsExtensions() | |
File "/home/rfrazier/testenv/lib/python2.7/site-packages/nupic/bindings/check.py", line 39, in checkImportBindingsExtensions | |
import nupic.bindings.algorithms | |
File "/home/rfrazier/testenv/lib/python2.7/site-packages/nupic/bindings/algorithms.py", line 119, in <module> | |
from nupic.proto.Cells4_capnp import Cells4Proto |
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
(testenv) rfrazier@debian64:~/nupic$ python scripts/run_nupic_tests.py | |
======================================= test session starts ======================================== | |
platform linux2 -- Python 2.7.9, pytest-3.0.7, py-1.4.34, pluggy-0.4.0 -- /home/rfrazier/testenv/bin/python | |
cachedir: .cache | |
rootdir: /home/rfrazier/nupic, inifile: | |
plugins: xdist-1.16.0, cov-2.5.0 | |
collected 294 items / 47 errors | |
============================================== ERRORS ============================================== | |
___________ ERROR collecting tests/unit/nupic/algorithms/anomaly_likelihood_jeff_test.py ___________ |
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
Using ld.gold as LINKER. | |
fatal: Not a git repository (or any of the parent directories): .git | |
rm: cannot remove 'conftest*': No such file or directory | |
grep: /tmp/tmpahiavs/scripts/ThirdParty/Build/Apr1StaticLib/libtool: No such file or directory | |
make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. | |
make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. | |
mkdir include | |
mkdir include/arch | |
mkdir include/arch/unix | |
rm: cannot remove 'libtoolT': No such file or directory |
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
execute pathogen#infect() | |
" Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe. | |
let g:UltiSnipsExpandTrigger="<tab>" | |
let g:UltiSnipsJumpForwardTrigger="<c-b>" | |
let g:UltiSnipsJumpBackwardTrigger="<c-z>" | |
let g:UltiSnipsSnippetDir="~/.vim/UltiSnips" | |
let g:UltiSnipsSnippetDirectories=["~/.vim/UltiSnips", "UltiSnips"] |
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
\documentclass[12pt]{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage[english]{babel} | |
\usepackage[a4paper,margin=1in]{geometry} | |
\usepackage[singlespacing]{setspace} | |
\usepackage{hyperref} | |
\usepackage{graphicx} | |
\usepackage{amsmath,amssymb,amsfonts,amsthm} | |
\usepackage{enumitem} | |
\usepackage{fix-cm} |
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
-- This is a set of data to use with USU CS5800 Homework 1, Relational Algebra | |
group: HomeWork1 | |
Supplier = { | |
Name:string, City:string | |
'Amazon', 'Seattle' | |
'Google', 'Ventura' | |
'Disney', 'Anaheim' |
OlderNewer