Chromeの開発者ツールのElementタブで、*
のスタイルに、以下の内容を追加
tab-size: 4 !important;
// https://wandbox.org/permlink/oFiLhUB4zQ73nxTx | |
const kCMajorScale = ["C", "D", "E", "F", "G", "A", "B"]; | |
const kAMinorScale = ["A", "B", "C", "D", "E", "F", "G"]; | |
const ScaleShiftDirection = { | |
kDominant: 0, | |
kSubdominant: 1, | |
} |
#include <iostream> | |
#include <chrono> | |
#include <thread> | |
#include <cmath> | |
// 行を上書きして更新するサンプル | |
int main() | |
{ | |
std::cout << "Hello" << std::endl; |
Chromeの開発者ツールのElementタブで、*
のスタイルに、以下の内容を追加
tab-size: 4 !important;
#pragma once | |
#if defined(_MSC_VER) | |
#include <windows.h> | |
#else | |
#include <cstdlib> | |
#include <cwchar> | |
#include <vector> | |
#include <dlfcn.h> | |
#endif |
# 指定したディレクトリ直下にあるaifファイルをmp3に変換 | |
if [ $# -ne 1 ]; then | |
echo "need a directory." | |
echo "usage $0 <target_dir>" | |
exit 1 | |
fi | |
echo "Target Dir : $1" |
sudo installer -dumplog -verbose -pkg ./<installer>.pkg -target / |
#!/bin/bash | |
sudo curl -o /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-darwin-amd64 | |
echo "set permission..." | |
sudo chmod +x /usr/local/bin/gitlab-runner | |
echo "start gitlab-runner..." | |
gitlab-runner start |
//https://wandbox.org/permlink/WDyGG2FRC7FNuoXy | |
#include <iostream> | |
int main() | |
{ | |
// unseekable stream test | |
std::ostream &os = std::cout; | |
printf("initial state: %d\n", std::cout.fail()); | |
os << "hello world" << std::endl; |