Skip to content

Instantly share code, notes, and snippets.

View darekasan's full-sized avatar

だれかさん darekasan

View GitHub Profile
@darekasan
darekasan / Convert-ForiPod.ps1
Created November 4, 2025 08:44
iPod用に動画を変換するスクリプト例 逆テレシネで24fpsにするのでアニメ録画向け
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
# 入力・出力フォルダの設定
$InputDir = "."
$OutputDir = "converted"
# 出力フォルダがなければ作成
if (!(Test-Path $OutputDir)) {
New-Item -ItemType Directory -Path $OutputDir | Out-Null
}
// https://gist.github.com/microtherion/2636608
#include <MIDI.h>
#include <SPI.h>
#define VS_XCS A3 // Control Chip Select Pin (for accessing SPI Control/Status registers)
#define VS_XDCS A2 // Data Chip Select / BSYNC Pin
#define VS_DREQ A1 // Data Request Pin: Player asks for more data
// $ gcc rpi-nokia5510-lcd.c -lwiringPi
#include <stdio.h>
#include <wiringPi.h>
#include <wiringPiSPI.h>
#define CMD_FUNCTIONSET 0x20
#define CMD_EXTENDEDINSTRUCTION 0x01
#define CMD_DISPLAYCONTROL 0x08
#define CMD_DISPLAYNORMAL 0x04
javascript:var m = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var d = new Date();prompt("コピーしてね",`${document.title},${window.location.href},参照${m[d.getMonth()]}. ${d.getDay()}, ${d.getFullYear()}`);
javascript:prompt("コピーしてね",document.title+" - "+window.location.href);
javascript:window.open(encodeURI(decodeURI("https://twitter.com/intent/tweet?"+"text=NowBrowsing : "+document.title+"&url="+window.location.href)),"null","menubar=no,toolbar=no,width=640,height=320");