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
# coding: utf-8 | |
# FFMpegを使って指定ディレクトリの動画ファイルから音声部分を一括抽出するプログラム | |
# ------------------: 使い方:--------------------------- | |
# python3 extract_audio.py (ディレクトリのパス) (抽出対処の拡張子 mp4など) [remove] | |
# removeをつけると抽出した後に元ファイルを削除する | |
import glob | |
import shlex | |
import subprocess | |
import re |
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
#include <iostream> | |
enum NUM { ZERO, ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT }; | |
char text[EIGHT*EIGHT] = {}; | |
int main(int argc, char* args[]) { | |
char *ptrA = text, | |
*ptrB = ptrA; | |
++ptrB; | |
*ptrA = EIGHT * EIGHT + EIGHT; | |
*ptrB++ = *ptrA + FOUR * SEVEN + ONE; ++ptrA; |
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
GL_VERSION_1_[2-9]\d* | |
GL_VERSION_2_\d+ | |
GL_VERSION_3_\d+ | |
GL_VERSION4_\d+ | |
GL_ARB_framebuffer_object | |
GL_ARB_sync | |
GL_ARB_timer_query | |
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
function RatioValue(values, sum, bInt) { | |
this._bInt = bInt || false; | |
this._value = values; | |
// 合計値が指定されてなければ初期値の合計を適用 | |
this._calcAcSum(); | |
this._sum = sum || this._ac_sum; | |
this._adjustValues(false); |