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
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): |
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
param ( | |
[string]$inputFile | |
) | |
# 入力ファイルの存在を確認 | |
if (-Not (Test-Path $inputFile)) { | |
Write-Host "Error: ファイル $inputFile が見つかりません。" -ForegroundColor Red | |
exit 1 | |
} |
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
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" |
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
ChatGPT end tone |
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
// UTF-8の範囲内で、特定の開始コードポイントから終了コードポイントまでの文字を生成する関数 | |
function generateUTF8CharactersInRange($startCodePoint, $endCodePoint) { | |
$utf8Characters = ''; | |
for ($codePoint = $startCodePoint; $codePoint <= $endCodePoint; $codePoint++) { | |
$utf8Characters .= mb_convert_encoding('&#' . $codePoint . ';', 'UTF-8', 'HTML-ENTITIES'); | |
} | |
return $utf8Characters; | |
} | |
// UTF-8のすべての文字を生成 |
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
(()=>{ | |
/** | |
* 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) { |
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 -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 |
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 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 |
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 Text2Link_auto | |
// @namespace | |
// @version 1.2 | |
// @description Link the URL loaded on to linked ! | |
// @updateURL https://gist.githubusercontent.com/ten9miq/bd91fc3222c9dd4eaa321f1bb499ca37/raw/Text2Link.js | |
// @downloadURL https://gist.githubusercontent.com/ten9miq/bd91fc3222c9dd4eaa321f1bb499ca37/raw/Text2Link.js | |
// @author ten9miq | |
// @match http*://*/* | |
// @grant none |
NewerOlder