@home:~$

  • Effective Dart Style

    https://dart.dev/guides/language/effective-dart/style에 있는 공식 문서를 번역하고 정리한 글 네이밍 스타일 다음의 3가지 스타일(flavor)을 사용한다. UpperCamelCase (=PascalCase) lowerCamelCase lowercase_with_underscores ALL_CAPS_WITH_UNDERSCORES (=SCREAMING_CAPS)은 legacy code에 의한 일관성이 필요할 때만 쓴다. UpperCamelCase를 사용하는 경우는 다음과 같다. class, enum, typedef, 타입 파라미터, 메타데이터 어노테이션 class SliderMenu { ... } @Foo(anArg) class HttpRequest { ... } typedef...

  • Python MIDI viewer

    개인적으로 MIDI 파일을 처리하는 간단한 툴을 만들어야해서, 그 첫번 째 단계로 MIDI 파일을 분석해서 화면에 보여주는 기능을 만들었다. 이 기능은 실제 런타임의 일부가 아니라 전처리를 위한 툴의 형식이었으므로 사용 언어는 Python으로 하였다. 그림 1. 이 앱을 통해 트랙별 MIDI 출력을 한 예 [첨부] Source code (Python) midi_viewer.zip 이왕 만든 김에...

  • Yet Another Sample Page

    Text can be bold, italic, strikethrough or keyword. Link to another page. There should be whitespace between paragraphs. There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project. Header 1 This is a normal paragraph following a header. GitHub is a...