Skip to content

Instantly share code, notes, and snippets.

View keijiro's full-sized avatar

Keijiro Takahashi keijiro

View GitHub Profile
@keijiro
keijiro / avi2hevc.sh
Last active February 15, 2020 12:11
Transcode all the AVI files in the current directory using the ProRes 422 HQ codec with ffmpeg
for file in *.avi; do ffmpeg -i $file -c:v prores_ks -profile:v 3 -an "$(basename "$file" .avi)".mov; done
@keijiro
keijiro / cmake_wsl_mingw.sh
Last active September 22, 2020 08:01
Invoke CMake in WSL for Win32 cross compilation
sudo apt install mingw-w64 cmake
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-x86_64-w64-mingw32.cmake ..
@keijiro
keijiro / recover_windows_boot_manager.md
Last active January 25, 2020 09:42
How I recovered Windows Boot Manager removed by the Ubuntu installer.

What happened

I upgraded Ubuntu 18.04 to 19.10 on my main PC. After installation, Windows Boot Manager disappeared from the GRUB boot menu. I found the EFI partition was missing the /EFI/Microsoft directory. It seemed that the Ubuntu installer mistakenly removed the boot manager from EFI.

How I recovered it

  • Create a Windows installation media (USB stick) using Windows Media Creation
using UnityEngine;
using Random = Unity.Mathematics.Random;
public class RandomTest : MonoBehaviour
{
void Start()
{
const uint iteration = 1000;
var sum = new float[5];

KinoEight

gif gif

KinoEight is a custom post-processing effect that gives an 8 bit-ish style to renders.

System requirements

VAT (Vertex Animation Texture) on HDRP examples

gif

gif

This is a repository that contains examples of the use of VAT (Vertex Animation Texture) on Unity High Definition Render Pipeline (HDRP).

@keijiro
keijiro / Grubo.md
Last active December 3, 2019 09:13

Grubo

gif1 gif2

Grubo is an experimental project that aims to present an audio-visual experience using Roland Groovebox MC-101 and the [Unity game engine].

https://radiumsoftware.tumblr.com/archive/tagged/depthkit
https://radiumsoftware.tumblr.com/archive/tagged/kinect
https://radiumsoftware.tumblr.com/archive/tagged/realsense
@keijiro
keijiro / Minis.md
Last active November 5, 2019 07:01

Minis: MIDI Input for New Input System

Minis (MIDI Input for New Input System) is a Unity plugin that adds MIDI input device support to Unity's new Input System.

System Requirements

@keijiro
keijiro / profiles.json
Last active August 2, 2024 05:23
Windows Terminal Custom Profile
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions": [],
"defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"initialCols": 180,
"initialRows": 48,
"profiles":
{
"defaults": {},
"list":