- Get client ID and client secret in Discord Developer Portal and edit
.env
- Launch VRChat and Discord (not in browser but standalone application)
- Enable OSC in VRChat
- Run the followings
14 GND -> IR_LED Cathode | |
16 GPIO23 -> IR_LED Anode | |
18 GPIO24 -> GPIO25 | |
20 GND | |
22 GPIO25 -> GPIO24 |
<?php | |
/* | |
Plugin Name: MW WP Form Forbidden Word | |
Plugin URI: | |
Description: MW WP Formのバリデーションに「禁止ワード」を追加 | |
Version: 1.0.0 | |
Author: wararyo | |
Author URI: https://github.com/wararyo | |
License: GPLv2 | |
*/ |
#define cbi(addr,bit) addr &= ~(1<<bit) | |
#define sbi(addr,bit) addr |= (1<<bit) | |
#define tbi(addr,bit) addr ^= (1<<bit) | |
// PB3: Rotary Encoder A | |
// PB4: Rotary Encoder B | |
// Method A: Watch A change and read B | |
ISR(PCINT0_vect)//A変化 |
div.az-item{ | |
transition:all 0.15s ease; | |
padding-bottom: 1px; | |
position: relative; | |
border-radius: 4px; | |
box-shadow: 0 1px 4px rgba(0,0,0,.2); | |
} | |
div.az-item:hover { | |
transform:translateY(-1px); | |
box-shadow: 0 2px 8px rgba(0,0,0,.2); |
var resolution = 192 // MIDIファイルの分解能 四分音符の長さ | |
var sunaba_spanY = 1152 // Sunabaでの一小節の長さ | |
var midiFileParser = require('midi-file-parser'); | |
var file = require('fs').readFileSync('Music2.mid', 'binary') | |
var midi = midiFileParser(file); | |
var Generate = function(noteList){ |
.header-banner { | |
display: block; | |
margin-bottom: 16px; | |
box-shadow: 0 2px 4px rgba($black, .2); | |
> img { | |
width: 240px; | |
height: 80px; | |
box-shadow: 0 2px 4px rgba(0,0,0,.2); | |
border-radius: 2px; |
/* | |
##################################### | |
# CHUNITHMっぽそうでCHUNITHMっぽくない、# | |
# すこしCHUNITHMっぽい音ゲー ########### | |
##################################### | |
# コードの概要 (行頭の数字はコード中のだいたいの位置) | |
60 Settings ゲームプレイに直接関わる変数群 | |
Camera カメラ設定 |
%YAML 1.2 | |
--- | |
# See http://www.sublimetext.com/docs/3/syntax.html | |
name: Sunaba | |
file_extensions: | |
- sunaba | |
- snb | |
- sunaba.txt | |
- snb.txt | |
scope: source.sunaba |
#define GLFW_INCLUDE_GLU | |
#define _USE_MATH_DEFINES //M_PIを使うためのおまじない | |
#include <gl/glfw3.h> //某大の教授が開発したっぽいChinouGLとやらの代わりにGLFWを使う(ChinouGLはググっても情報が出てこなかった) | |
#include <iostream> | |
#include <cstdlib> | |
#include <cmath> | |
#include <string> | |
#define LENGTH_OF(TS) (sizeof(TS) / sizeof(TS[0]))//配列のサイズを求める |