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
/* | |
* A cut-down i18n utility. @snipsnipsnip | |
* Based on Chrome DOM i18n By Eli Grey, http://eligrey.com | |
* Public Domain. | |
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
*/ | |
"use strict"; | |
for (let e of document.querySelectorAll("[data-i18n]")) { |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="JavaApplication2" default="default" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant"> | |
<description>Builds, tests, and runs the project JavaApplication2.</description> | |
<import file="nbproject/build-impl.xml"/> | |
<property name="ivy.install.version" value="2.3.0-rc1" /> | |
<property name="ivy.jar.dir" value="${basedir}/ivy" /> | |
<property name="ivy.cache.dir" value="${basedir}/ivy" /> | |
<property name="ivy.jar.file" value="${ivy.jar.dir}/ivy.jar" /> | |
<property name="ivy.lib" value="${basedir}/lib" /> |
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
# https://gist.github.com/297312 から | |
# rubyで遊んでみたかったので勝手に移植させていただきました | |
module Synthesizer | |
module_function | |
# RIFFフォーマットのwavデータを生成します。 | |
# sampling_rate: サンプリングレート | |
# wave_data: 波形データ。振幅の値(-1から1の値)のリストになります。 | |
# 戻り値: wavデータの不完全文字列 |
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
#ifndef DEBUG_H_ | |
#define DEBUG_H_ | |
#ifdef _MSC_VER | |
# define DEBUG_H_FUNCTION_NAME __FUNCTION__ | |
#else | |
# define DEBUG_H_FUNCTION_NAME __func__ | |
#endif | |
#define PrintInfoFormatIntlIntl(p,line) \ |