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 -e | |
# | |
# The original version is https://gist.github.com/krzys-h/e2def49966aa42bbd3316dfb794f4d6a | |
# | |
if [ "$EUID" -ne 0 ]; then | |
echo "Swithing to root..." | |
exec sudo $0 "$@" | |
fi |
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
import struct | |
""" | |
FILE STRUCTURE: | |
[GLOBALHEADER] | |
-PADDING with 0xFF- | |
[MUSIC HEADER 01] | |
-PADDING with 0xFF- | |
[MUSIC DATA 01] |
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
// | |
// CKlau 社製 KVM スイッチの「有線リモコン」から信号を読み出すサンプル。 | |
// 2022 Satoshi Mimura ( @mimura1133 ) | |
// | |
// 対象の製品例 : https://www.amazon.co.jp/dp/B07HRBBLWN?th=1 | |
// | |
// GPIO 17 番に信号線、GND に GND を接続すると動くと思います。 | |
// また GPIO 22 番から内部で取得した信号を吐き出すようになっているので、オシロスコープでデバッグできます。 | |
// | |
// 夜中に一気に書き上げたので、デバッグコードやら洗練されてない書き方が多々ありますが |
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
/* | |
HTTPS サーバを用意して、Header に下記のパラメータを設定する必要あり。 | |
Cross-Origin-Embedder-Policy: require-corp | |
Cross-Origin-Opener-Policy: same-origin | |
Permissions-Policy: direct-sockets=(self) | |
--- | |
99.0.4807.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
#!/bin/python3 | |
# | |
# SSDP (DLNA の探索プロトコル) を吸って吐くプロキシ。 | |
# Wireguard のように純粋にbridgeできないネットワーク間で使うと幸せになれる気がします。 | |
# (使ったことでネットワークがダウン等しても保証は出来ませんので、自己責任でどうぞ。) | |
# | |
# Author : Satoshi Mimura (@mimura1133) | |
# |
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 | |
# | |
# This script is for Ubuntu 19.10 to download and install XRDP+XORGXRDP via | |
# source. | |
# | |
# Modified from https://github.com/microsoft/linux-vm-tools/blob/master/ubuntu/18.04/install.sh | |
# by Satoshi Mimura (@mimura1133, http://mimumimu.net/) | |
# |
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
using System; | |
using System.Drawing; | |
using System.Drawing.Imaging; | |
using System.IO; | |
using System.Linq; | |
using System.Security.Cryptography; | |
using System.Text; | |
namespace build | |
{ |
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
{ | |
"defaultProfile": "{5b351a96-8fb8-49d7-b960-4bb0d1aee3c5}", | |
"initialRows": 30, | |
"initialCols": 120, | |
"alwaysShowTabs": true, | |
"showTerminalTitleInTitlebar": true, | |
"experimental_showTabsInTitlebar": true, | |
"profiles": [ | |
{ | |
"guid": "{5b351a96-8fb8-49d7-b960-4bb0d1aee3c5}", |
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
comment_char % | |
escape_char / | |
% This file is part of the GNU C Library and contains locale data. | |
% The Free Software Foundation does not claim any copyright interest | |
% in the locale data contained in this file. The foregoing does not | |
% affect the license of the GNU C Library as a whole. It does not | |
% exempt you from the conditions of the license if your use would | |
% otherwise be governed by that license. |
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\SYSTEM\CurrentControlSet\Control\Nls\Calendars\Japanese\Eras] | |
;"2019 05 01"="令和_令_Reiwa_R" | |
NewerOlder