Skip to content

Instantly share code, notes, and snippets.

@wararyo
wararyo / template.css
Created February 11, 2019 14:26
Amazon link Builder Template
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);
@wararyo
wararyo / Rotary_Encoder.c
Last active July 21, 2024 20:08
HID Mouse
#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変化
<?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
*/
@wararyo
wararyo / Wiring
Last active November 20, 2021 04:39
赤外線リモコンコンセント 07-8251 OCR-05W をMoonrakerで使用する
14 GND -> IR_LED Cathode
16 GPIO23 -> IR_LED Anode
18 GPIO24 -> GPIO25
20 GND
22 GPIO25 -> GPIO24
@wararyo
wararyo / ..VRChat Discord Mute Syncer.md
Last active April 18, 2024 09:36
VRChat Discord Mute Syncer

VRChat Discord Mute Syncer

How to run

  1. Get client ID and client secret in Discord Developer Portal and edit .env
  2. Launch VRChat and Discord (not in browser but standalone application)
  3. Enable OSC in VRChat
  4. Run the followings
@wararyo
wararyo / .M5PaperS3 Authenticator (TOTP).md
Last active January 2, 2025 21:32
M5PaperS3 Authenticator (TOTP)

M5PaperS3 Authenticator

M5PaperS3で、TOTPによる2段階認証コードを生成できるアプリケーションです!  
一応Google Authenticator等の代わりに使えますが、実用を想定していません🙏
MITライセンスに従い、自己責任でお願いいたします。

Googleアカウント、GitHub、X、Slack、AWSなどがTOTPによる2段階認証に対応しています。

使用方法