This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink] | |
"Arial"=hex(7):6d,00,65,00,69,00,72,00,79,00,6f,00,4b,00,65,00,2e,00,74,00,74,\ | |
00,63,00,2c,00,4d,00,65,00,69,00,72,00,79,00,6f,00,4b,00,65,00,5f,00,55,00,\ | |
49,00,47,00,6f,00,74,00,68,00,69,00,63,00,00,00,4d,00,49,00,4e,00,47,00,4c,\ | |
00,49,00,55,00,2e,00,54,00,54,00,43,00,2c,00,50,00,4d,00,69,00,6e,00,67,00,\ | |
4c,00,69,00,55,00,00,00,53,00,49,00,4d,00,53,00,55,00,4e,00,2e,00,54,00,54,\ | |
00,43,00,2c,00,53,00,69,00,6d,00,53,00,75,00,6e,00,00,00,47,00,55,00,4c,00,\ | |
49,00,4d,00,2e,00,54,00,54,00,43,00,2c,00,47,00,75,00,6c,00,69,00,6d,00,00,\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT] | |
[HKEY_CLASSES_ROOT\7-Zip-Zstandard.001] | |
@="001 Archive" | |
[HKEY_CLASSES_ROOT\7-Zip-Zstandard.001\DefaultIcon] | |
@="C:\\Program Files\\7-Zip-Zstandard\\7z.dll,9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Usage: rk3588-rec-enc.sh <ID: example: 3273601024> <dst.ts> | |
# | |
# Requirements: | |
# - Mirakurun | |
# - ffmpeg | |
# - tsreadex (https://github.com/xtne6f/tsreadex) | |
# - gstreamer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name TwitterFollowingTimelineSwitcher | |
// @description Twitter ホームのデフォルトのタイムラインを「フォロー中」に切り替える UserScript | |
// @match https://twitter.com/* | |
// @namespace https://gist.github.com/tsukumijima | |
// @updateURL https://gist.github.com/tsukumijima/23e6980665913b82473eaedd00dbb0da/raw/TwitterFollowingTimelineSwitcher.user.js | |
// @downloadURL https://gist.github.com/tsukumijima/23e6980665913b82473eaedd00dbb0da/raw/TwitterFollowingTimelineSwitcher.user.js | |
// @supportURL https://gist.github.com/tsukumijima/23e6980665913b82473eaedd00dbb0da | |
// @author tsukumi | |
// @version 1.0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dts-v1/; | |
/memreserve/ 0x0000000000000000 0x0000000000030000; | |
/memreserve/ 0x000000000001f000 0x0000000000001000; | |
/memreserve/ 0x0000000000030000 0x00000000000d0000; | |
/memreserve/ 0x0000000002c00000 0x000000000b800000; | |
/memreserve/ 0x0000000001b00000 0x0000000000400000; | |
/memreserve/ 0x0000000002600000 0x0000000000600000; | |
/memreserve/ 0x0000000001ffe000 0x0000000000004000; | |
/memreserve/ 0x0000000011000000 0x0000000009200000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name TwitterHideAccounts | |
@description Twitter に表示される自分のアカウント名とアイコンを隠すユーザースタイル | |
@namespace https://gist.github.com/tsukumijima | |
@updateURL https://gist.github.com/tsukumijima/30345f307a021af10785cb9ffd369ccd/raw/TwitterHideAccounts.user.css | |
@author tsukumi | |
@version 1.2.0 | |
@license MIT | |
==/UserStyle== */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name TwitterRevertColoring | |
@description Twitter の UI の配色を元に戻すユーザースタイル | |
@namespace https://gist.github.com/tsukumijima | |
@updateURL https://gist.github.com/tsukumijima/931905c4ed3f181ce926730463a29d80/raw/TwitterRevertColoring.user.css | |
@author tsukumi | |
@version 1.3.9 | |
@license MIT | |
==/UserStyle== */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# TSInfoExtractor.py | |
# Copyright (c) 2021-2022 tsukumi. Licensed under MIT. | |
# | |
import json | |
import sys | |
from copy import copy | |
from datetime import date | |
from datetime import datetime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env pwsh | |
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent | |
$exe="" | |
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { | |
# Fix case when both the Windows and Linux builds of Node | |
# are installed in the same directory | |
$exe=".exe" | |
} | |
$ret=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* WebGL で動画をキャプチャして Canvas に描画する試作品(失敗作) | |
* 元々 Safari で CanvasRenderingContext2D.drawImage() で MSE 経由の動画をキャプチャできないバグがあり、 | |
* WebGLRenderingContext.texImage2D() ならできるんじゃないかと試したときのもの | |
* macOS Safari では一応機能するが、キャプチャした瞬間映像が描画されなくなる | |
* (CSS ハックで強制的に repaint(再描画)をかける事でどうにかできなくはないが、30fps は出ない) | |
* iPadOS Safari ではキャプチャ自体が機能せず、CSS ハックも使えないので実質無意味 | |
* 参考: https://webglfundamentals.org/webgl/lessons/ja/webgl-image-processing.html | |
* 参考: https://medium.com/veltra-engineering/webgl-2d-a9c7a7d89fb8 | |
* @param {HTMLVideoElement} video |
NewerOlder