Skip to content

Instantly share code, notes, and snippets.

View ryozi-tn's full-sized avatar

ryozi ryozi-tn

  • Japan
View GitHub Profile
@ryozi-tn
ryozi-tn / rdpwrap-ini-update.ps1
Created March 9, 2025 16:19
rdpwrap.ini auto update script and scheduler
# パラメータ設定
$RDPWRAP_INI_URL = "https://raw.githubusercontent.com/sebaxakerhtc/rdpwrap.ini/refs/heads/master/rdpwrap.ini"
$SAVE_PATH = "C:\Program Files\RDP Wrapper\rdpwrap.ini"
$TEMP_FILE = "$env:TEMP\rdpwrap.ini.tmp"
# 事前設定
$EventLogName = "Application"
$EventSource = "RDPWrapAutoUpdate"
# イベントソースが未登録なら作成(管理者権限が必要)
@ryozi-tn
ryozi-tn / win11.reg
Last active October 15, 2024 19:08
Windows11の鬱陶しい動きを消すやつを説明付きでほしかったので書いた
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager]
; システム > 通知 > 追加の設定 > "更新後およびサインイン時に Windows のウェルカムエクスペリエンスを表示して、新機能と提案を表示する"を無効(0)
"SubscribedContent-310093Enabled"=dword:00000000
; システム > 通知 > 追加の設定 > "Windowsを使用する際のヒントや提案を入手する"を無効(0)
"SubscribedContent-338388Enabled"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
; 個人用設定 > スタート > "スタート画面にアカウント関連の通知を時々表示する"を無効(0)にする
@ryozi-tn
ryozi-tn / kaiju.txt
Created April 1, 2018 09:56
壊獣鳴き声集(ロボミZ)
# op
壊獣1 ズビズバァアアアアーッ!
壊獣1 モゴゴ……ムギゲガ……
壊獣1 シャババアアアアッ!
壊獣1 ペンキョポッ!?
壊獣1 アババ……
# 1-2
壊獣1 ゲルゴゴゴミゴモ……!
@ryozi-tn
ryozi-tn / cookie-survey-http.go
Created May 25, 2016 16:24
HTTP::Cookiesの挙動調査
@ryozi-tn
ryozi-tn / memo.md
Created March 6, 2016 16:21
contenteditableの領域に項番を出したいけど編集できないようにしたい.md

目的

contenteditableの領域に項番を出したいけど編集できないようにしたい.md

案1. ol-li Elementを使うよ派

https://jsfiddle.net/gtxhLoue/

  • 良い点
// simply fixed custom permalink
// dependencies: Custom Permalinks (plugin)
class Test{
public function __construct()
{
add_filter('get_sample_permalink_html', array(
$this,'get_sample_permalink_html'
), 999, 4);
}
<?php
/*
Plugin Name: My Custom Type
Plugin URI: 独自の投稿タイプを定義しますん
Description:
Author: ryozi-tn
Version: 0.1
Author URI:
*/