Skip to content

Instantly share code, notes, and snippets.

@ten9miq
ten9miq / gist:1074d271d9755cf9c4432668b973a8ab
Created October 20, 2026 08:04
要素削除と黒字印刷(終了機能追加)
javascript: (function () { var index = 0, docElem, doc = document, win = window; win.delRunFlag = 1; win.cZa = []; /* 全要素に対してイベントを作成 */ while (docElem = doc.body.getElementsByTagName('*').item(index++)) { docElem.onmouseover = function (winEve = win.event) { winEve.cancelBubble = true; if (winEve.stopPropagation) winEve.stopPropagation(); if (win.delRunFlag) { this.style.background = 'yellow'; } }; docElem.onmouseout = function (winEve = win.event) { winEve.cancelBubble = true; if (winEve.stopPropagation) winEve.stopPropagation(); if (win.delRunFlag) { this.style.background = ''; } }; docElem.onclick = function (winEve = win.event) { winEve.cancelBubble = true; if (winEve.stopPropagation) winEve.stopPropagation(); if (!win.delRunFlag) { return true; } this.style.background = ''; var h = doc.createTextNode(''); win.cZa.push(this, this.parentNode, h); this.parentNode.replaceChild(h, this); return false; }; } /* 中央上にコントローラーを表示 */ var controller = doc.createElement('div'); var innerController = doc.createElement(
; RCtrl2連打でカーソルを現在のモニタの画面中央に移動
; Alt+F1でモード切替
; カーソルが存在するモニターの中央へ移動する
; 切替時のカーソルが存在するモニターの中央へ全モニターから移動する
#NoEnv
#Persistent
#InstallKeybdHook
SetBatchLines, -1
@ten9miq
ten9miq / share
Last active December 20, 2024 07:12
def recursive_vars(obj, depth=0):
indent = ' ' * depth
if hasattr(obj, '__dict__'):
print(f"{indent}{obj.__class__.__name__} object at {hex(id(obj))}:")
for key, value in vars(obj).items():
print(f"{indent} {key}:")
recursive_vars(value, depth + 2)
elif isinstance(obj, list):
print(f"{indent}List:")
for index, item in enumerate(obj):
Sub SendHttpPost()
Dim xmlHttp As Object
Set xmlHttp = CreateObject("MSXML2.XMLHTTP")
Dim url As String
url = "ここに送信先のURLを入力" ' 送信先のURL
Dim postData As String
postData = "ここに送信するデータを入力" ' 送信するデータ
xmlHttp.Open "POST", url, False
xmlHttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
ChatGPT end tone
(()=>{
/**
* http://www.openjs.com/scripts/events/keyboard_shortcuts/
* Version : 2.01.B
* By Binny V A
* License : BSD
*/
const shortcut = {
'all_shortcuts':{},//All the shortcuts are stored in this array
'add': function(shortcut_combination,callback,opt) {
@ten9miq
ten9miq / make_current_arm64_rpi_kernel_debs.sh
Created October 15, 2021 12:43 — forked from satmandu/make_current_arm64_rpi_kernel_debs.sh
Make arm64 deb packages for the offical Raspberry Pi Foundation arm64 kernels + NOW INSTALLS headers package too.
#!/bin/bash -x
# make_arm64_rpi_kernel_debs.sh
# Builds arm64 debian packages from the CURRENT rpi firmware repository kernel which is installed by:
# sudo rpi-update
# This runs on an arm64 host with arm64 compilation tools...
# or with some sort of cross-compilation setup.
# Debs are put in $workdir/build
#
# This will NOT work in Raspbian unless you have an arm64 compilation
# environment setup. Appears to work on
// ==UserScript==
// @name LinkBot ver.UserScript
// @namespace https://github.com/PaeP3nguin/LinkBot
// @version 0.6
// @description Removed linkBot from Chrome Web store. https://chrome.google.com/webstore/detail/chnfcfcbnhloogdohcmjogkklghefofm
// @author ten9miq
// @match http*://*/*
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAiZJREFUOE+VlEtIVGEUx3/nPiYxIiGYikgKimgjBUWUK4OghbQoiGhRLoqYuRW9hB4StigJogKdubiyrRVkghuFWhbVpgcY9KaFLsQgkNS5M/+4k4+RxmH8Vh/nO+fHOf9zzmdUOF6oi8A5RB3iRhTYncXcbVFORps84z1QM+sTiXoC+1kuZlGQ36kdcnm9IEjsjQJ7viQQD+W6Y3wy2DgTOBxNsJNWm1gaKPbuVr2X5ztgFrEtd9beLl2jedA3wHHF5qnAPlcNqgm1IYJ1FDA51Jl4GoMELSa+4CBPjEym7WspdE5sN6ODZrQB2yuNRMnbsIxr+ZQ9iW1FkJ/ReRm3SltdJQwzzuRS1mV+l3bJYQhYAbxCXI6meMlyorKw3yS82mLW1zH2AX8wms3P6oHgOPAuStDECRuvKptu1Xp5XgANQJ95WY0Aa0xcyAV2L5FVg6C1AI/yaesvhbqhDjsFDjjQHnfQz6hFRk+cVQyajmUSNOfTNjCj111gMEqxHzPNwrysHgOHEG1RYDe9jJowngGKS/shqAeuRmnroF0JL8klx+ifTtmHBWXe12rf50gOegls1A91WqITGDU3VI+JF