Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| --- subConverters.py.orig 2020-05-13 06:22:38.793268700 +0900 | |
| +++ subConverters.py 2020-05-13 06:22:11.372249300 +0900 | |
| @@ -24,6 +24,7 @@ | |
| import pathlib | |
| import sys | |
| import unittest | |
| +import subprocess | |
| from music21 import common | |
| from music21 import defaults |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 cv2 | |
| import numpy as np | |
| import keras | |
| from keras.models import Sequential | |
| from keras.layers.convolutional import Conv2D | |
| from keras.layers.core import Activation | |
| from keras.layers.pooling import MaxPooling2D | |
| from keras.layers import Dense, Dropout, Flatten | |
| from keras.optimizers import Adam, RMSprop, SGD |
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
| #! /usr/bin/ruby | |
| # Extract messages from BBQ file of Idolm@ster DS. | |
| require 'bindata' | |
| $input_filename = ARGV[0] | |
| class BbqMessageInfo < BinData::Record | |
| endian :little |
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
| #! /usr/bin/ruby | |
| # coding: utf-8 | |
| # | |
| # auto_furigana.rb: Mecab, Natto を用いて青空文庫風のルビ記法で振り仮名を自動的に振るスクリプト | |
| # (参考 https://qiita.com/kt-tsutsumi/items/599f287f15b8e4cb84f3 | |
| # https://www.karelie.net/python3-mecab-html-furigana-1/) | |
| # | |
| require 'natto' | |
| require 'moji' |
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
| ;;; 心拍トレーニング時の目標心拍数計算 | |
| (defun calc-heart-rate-for-training (age) | |
| "" | |
| (interactive "sAge:") | |
| (let* ((max-heart-rate (- 206.9 ( * 0.67 (string-to-number age)))) | |
| (zone-heart-rate-percentage-table '(("ゾーン1(ウォームアップやクーリングダウン:最大心拍数の50%〜60%の運動強度)" 50 60) | |
| ("ゾーン2(ランニングの基礎づくり。LSDなどによる脂肪燃焼効果:最大心拍数の60%〜70%の運動強度)" 60 70) | |
| ("ゾーン3(トレーニングの目的や効果:最大心拍数の70%〜80%の運動強度)" 70 80) | |
| ("ゾーン4(インターバルトレーニングや閾値走など、無酸素性能力や乳酸への耐性を向上させる:最大心拍数の80%〜90%の運動強度)" 80 90) | |
| ("ゾーン5(インターバルやレペティショントレーニングなど、最大酸素摂取量の向上や筋力強化:最大心拍数の90〜100%の運動強度)" 90 100)))) |
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
| #! /usr/bin/ruby | |
| # coding: utf-8 | |
| # | |
| # syukujitsu2org.rb: Convert the list of holidays in Japan(syukujitsu.csv from https://www8.cao.go.jp/chosei/shukujitsu/gaiyou.html) to Org format. | |
| require 'csv' | |
| JAPANESE_WEEKDAY_NAME_TABLE = { | |
| 0 => "日", |
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
| diff -urN lookup-1.4+media-20150915.orig/lisp/lookup-vars.el.in lookup-1.4+media-20150915/lisp/lookup-vars.el.in | |
| --- lookup-1.4+media-20150915.orig/lisp/lookup-vars.el.in 2013-06-23 10:31:49.000000000 +0900 | |
| +++ lookup-1.4+media-20150915/lisp/lookup-vars.el.in 2019-04-16 22:54:08.293392200 +0900 | |
| @@ -167,6 +167,10 @@ | |
| :type 'number | |
| :group 'lookup-general-options) | |
| +(when (not (fboundp 'make-variable-frame-local)) | |
| + (defun make-variable-frame-local (variable) | |
| + (make-variable-buffer-local variable))) |
NewerOlder