Skip to content

Instantly share code, notes, and snippets.

View rokoucha's full-sized avatar
🤝
Tree shaking

rokoucha

🤝
Tree shaking
View GitHub Profile
@rokoucha
rokoucha / test.html
Created February 3, 2023 12:20
rendering with wrong size in iPad Chrome
<!DOCTYPE html>
<html>
<head>
<title>calc test</title>
<style>
body {
margin: 0;
}
p {

Keybase proof

I hereby claim:

  • I am rokoucha on github.
  • I am rokoucha (https://keybase.io/rokoucha) on keybase.
  • I have a public key ASAyUKe3GvzJpH7RAn1b0c7i9hRly7Gv3bodL2ePdHoj-wo

To claim this, I am signing this object:

@rokoucha
rokoucha / aquaskk.json
Last active September 14, 2022 05:05
Karabiner-Elements Complex Modifications for AquaSKK (iTerm2, JetBrains Fleet)
{
"title": "AquaSKK",
"rules": [
{
"description": "AquaSKK for iTerm2",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "j",
@rokoucha
rokoucha / dictionary.softbank
Last active October 13, 2023 02:26
SoftBank BB Corp. RADIUS dictionary
# -*- text -*-
# SOFTBANK BB Corp. E-WMTA
# $Id$
VENDOR SoftBankBB 22197
BEGIN-VENDOR SoftBankBB
ATTRIBUTE SoftBankBB-Unknown 1 octets
ATTRIBUTE SoftBankBB-E_WMTA-Vendor 2 string
ATTRIBUTE SoftBankBB-E_WMTA-Version 3 string
------------------------------------------------------------------------------------------------------------------------------
[G:\Videos\vce-test.mp4]
------------------------------------------------------------------------------------------------------------------------------
auo [info]: 自動フィールドシフト使用時はvbv設定は正確に反映されません。
auo [info]: VCEEncC options...
-c h264 --vbr 6000 --vbv-bufsize 15000 --max-bitrate 15000 --gop-len auto --no-mp4opt -o "G:\Videos\vce-test.mp4" --sm -i -
auo [info]: qaac (v2.68) で音声エンコードを行います。 ABR (AAC) ビットレート指定, 128kbps
auo [info]: Convert yuy2 -> nv12 [AVX2]
VCEEnc (x64) 5.01 (r382) by rigaya, Dec 24 2019 22:17:07 (VC 1924/Win/avx2)
OS Version Windows 10 x64 (18363)
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions": [
{
"command": {
"action": "closeTab"
},
"keys": "ctrl+w"
},
# Install chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
# Install Boxstarter
choco install -y Boxstarter
# Setup
BOXSTARTERSHELL
Install-BoxstarterPackage -PackageName 'https://gist.githubusercontent.com/rokoucha/5d89b0586b7b9350be9ac699915a3c06/raw/boxstarter.ps1'
@rokoucha
rokoucha / foxy-gesture.json
Last active February 11, 2021 10:13
Foxy Gesture options
{
"timestamp": "2021-02-11T10:13:04.912Z",
"fileName": "foxyGestures.2021-02-11.json",
"addonId": "{e839c3f9-298e-4cd0-99e0-464431cb7c34}",
"version": "1.2.10",
"settings": {
"gestureTimeout": 2000,
"statusTimeout": 2000,
"showStatusText": true,
"blacklistUrlPatterns": [],
@rokoucha
rokoucha / jurich.txt
Created March 17, 2020 11:09
『MOTHER2』ふっかつ 糸井重里からのメッセージ 書き起し
えーほぼ日に来てくれた皆さんありがとうございます
あのー、MOTHER2というゲームが、えーいよいよ復活しました。
ぇーずっと出ないですか出ないですかって言われてたんですけども
えーとうとう、皆さんにもう一回やってもらう機会ができました。
えー僕はあのーあまりにも本人なんで、ぇ自分の子供の事あれこれ言うのと同じで
なかなか、えー、複雑な、言いにくいんですけども、多分おもしろいとっ(唾を吐く)思います
あのー、先にやった人に聞いてください、つまんないって言われたらそれしょうがないんで
えー、これから暫くあのー、いっしょに僕も遊びますので、付き合ってください、よろしくお願いします。
@rokoucha
rokoucha / CustomizedConsoleLogger.ts
Last active January 27, 2020 14:39
Customized console logger for Deno
/**
* CustomizedConsoleLogger.ts - Customized console logger for Deno
* Copyright (c) 2020 Rokoucha
* Released under the MIT license, see LICENSE.
* This code was forked from https://deno.land/std/log/handlers.ts
* > Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
*/
import { BaseHandler } from 'https://deno.land/std/log/handlers.ts'
import { LogLevel } from 'https://deno.land/std/log/levels.ts'
import { LogRecord } from 'https://deno.land/std/log/logger.ts'