Skip to content

Instantly share code, notes, and snippets.

View msikma's full-sized avatar
๐Ÿš€
ใ‚ชใƒผใƒ—ใƒณใ‚ฝใƒผใ‚นใฎ็†ฑ็‹‚็š„ใชใƒ•ใ‚กใƒณ

Michiel Sikma msikma

๐Ÿš€
ใ‚ชใƒผใƒ—ใƒณใ‚ฝใƒผใ‚นใฎ็†ฑ็‹‚็š„ใชใƒ•ใ‚กใƒณ
View GitHub Profile
@msikma
msikma / ballade-no-1.ly
Created January 4, 2016 03:59
Ballade No.1 in Lilypond, work in progress
% Ballade No.1 in G Minor, Op.23 (F.Chopin, 1835-1836)
%
% (C) 2016, Michiel Sikma <[email protected]>
% Licensed under CC BY-SA 4.0.
%
% This sheet music is part of the Pdly project.
% See <https://github.com/msikma/pdly> for more information.
AUTHORS = "M.Sikma"
# Copyright (C) 2014-2016, Reisan Ltd. - All rights reserved.
# This file is proprietary and confidential. For more information,
# see the 'copyright.md' file, which is part of this source code package.
'''
Database schema definitions for the site's persistent state information.
'''
from reisan.flask import db
'''
Schema for JMdict files. There will be only a single entry: the currently
used JMdict file. If needed, it's possible to create a new one, parse and
insert a whole new JMdict file, and then delete the old.
Every dictionary entry is in a 1-n relationship with the DictDictionary
entry.
'''
from tqdm import tqdm
# MIT license
'''
Module for formatting text for display in a terminal. Colored output is
provided through the use of ISO 6429 terminal escape sequences.
'''
# Terminal colors are defined by the ISO 6429 standard.
# To convert this list to foreground colors, add 30;
# for a background color, add 40.
$ vf deactivate
$ vf new kc
Using base prefix '/Library/Frameworks/Python.framework/Versions/3.5'
New python executable in /Users/msikma/.virtualenvs/kc/bin/python3.5
Not overwriting existing python script /Users/msikma/.virtualenvs/kc/bin/python (you must use /Users/msikma/.virtualenvs/kc/bin/python3.5)
Installing setuptools, pip, wheel...done.
$ ./setup.py develop
running develop
running egg_info
writing top-level names to kanaconv.egg-info/top_level.txt
Traceback (most recent call last):
File "/Users/msikma/.virtualenvs/kc/bin/kanaconv.py", line 9, in <module>
load_entry_point('kanaconv', 'console_scripts', 'kanaconv.py')()
File "/Users/msikma/.virtualenvs/kc/lib/python3.5/site-packages/pkg_resources/__init__.py", line 547, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/Users/msikma/.virtualenvs/kc/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2719, in load_entry_point
return ep.load()
File "/Users/msikma/.virtualenvs/kc/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2379, in load
return self.resolve()
File "/Users/msikma/.virtualenvs/kc/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2385, in resolve
running sdist
running egg_info
writing kanaconv.egg-info/PKG-INFO
writing entry points to kanaconv.egg-info/entry_points.txt
writing top-level names to kanaconv.egg-info/top_level.txt
writing dependency_links to kanaconv.egg-info/dependency_links.txt
reading manifest file 'kanaconv.egg-info/SOURCES.txt'
writing manifest file 'kanaconv.egg-info/SOURCES.txt'
warning: sdist: standard file not found: should have one of README, README.rst, README.txt
$ ./setup.py develop
running develop
running egg_info
writing dependency_links to kanaconv.egg-info/dependency_links.txt
writing top-level names to kanaconv.egg-info/top_level.txt
writing entry points to kanaconv.egg-info/entry_points.txt
writing kanaconv.egg-info/PKG-INFO
reading manifest file 'kanaconv.egg-info/SOURCES.txt'
writing manifest file 'kanaconv.egg-info/SOURCES.txt'
$ ./setup.py develop
running develop
running egg_info
writing dependency_links to kanaconv.egg-info/dependency_links.txt
writing top-level names to kanaconv.egg-info/top_level.txt
writing entry points to kanaconv.egg-info/entry_points.txt
writing kanaconv.egg-info/PKG-INFO
reading manifest file 'kanaconv.egg-info/SOURCES.txt'
writing manifest file 'kanaconv.egg-info/SOURCES.txt'
$ which asdf.py
/Users/msikma/.virtualenvs/kc/bin/asdf.py
$ which python
/Users/msikma/.virtualenvs/kc/bin/python
$ cat /Users/msikma/.virtualenvs/kc/bin/asdf.py