View gist:ba6eb7be4d4edf5f08b70d073f680717
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のすべての文字を生成 |
View ショートカットで番号付きリストと箇条書きリストをクリップボードへ入れる
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) { |
View make_current_arm64_rpi_kernel_debs.sh
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 |
View LinkBot ver.UserScript.user.js
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 53JIlLenWe11 | |
// @match http*://*/* | |
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAiZJREFUOE+VlEtIVGEUx3/nPiYxIiGYikgKimgjBUWUK4OghbQoiGhRLoqYuRW9hB4StigJogKdubiyrRVkghuFWhbVpgcY9KaFLsQgkNS5M/+4k4+RxmH8Vh/nO+fHOf9zzmdUOF6oi8A5RB3iRhTYncXcbVFORps84z1QM+sTiXoC+1kuZlGQ36kdcnm9IEjsjQJ7viQQD+W6Y3wy2DgTOBxNsJNWm1gaKPbuVr2X5ztgFrEtd9beLl2jedA3wHHF5qnAPlcNqgm1IYJ1FDA51Jl4GoMELSa+4CBPjEym7WspdE5sN6ODZrQB2yuNRMnbsIxr+ZQ9iW1FkJ/ReRm3SltdJQwzzuRS1mV+l3bJYQhYAbxCXI6meMlyorKw3yS82mLW1zH2AX8wms3P6oHgOPAuStDECRuvKptu1Xp5XgANQJ95WY0Aa0xcyAV2L5FVg6C1AI/yaesvhbqhDjsFDjjQHnfQz6hFRk+cVQyajmUSNOfTNjCj111gMEqxHzPNwrysHgOHEG1RYDe9jJowngGKS/shqAeuRmnroF0JL8klx+ifTtmHBWXe12rf50gOegls1A91WqITGDU3 |
View Text2Link.js
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/53JIlLenWe11/bd91fc3222c9dd4eaa321f1bb499ca37/raw/Text2Link.js | |
// @downloadURL https://gist.githubusercontent.com/53JIlLenWe11/bd91fc3222c9dd4eaa321f1bb499ca37/raw/Text2Link.js | |
// @author 53JIlLenWe11 | |
// @match http*://*/* | |
// @grant none |
View amazon_page_add_keepa.user.js
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 amazon page add keepa | |
// @version 0.1 | |
// @description sakura checker frame to amazon page add. | |
// @updateURL https://gist.github.com/53JIlLenWe11/9ed4287f1f10231abaa8633de5adc790/raw/amazon_page_add_keepa.user.js | |
// @downloadURL https://gist.github.com/53JIlLenWe11/9ed4287f1f10231abaa8633de5adc790/raw/amazon_page_add_keepa.user.js | |
// @author 53JIlLenWe11 | |
// @include /^https://(www\.|smile\.)amazon\.co\.jp/(.*/)?[d-g]p// | |
// @run-at document-end | |
// @grant none |
View amazon_page_add_sakura_checker.user.js
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 amazon page add sakura checker | |
// @version 0.6 | |
// @description sakura checker frame to amazon page add. | |
// @updateURL https://gist.github.com/53JIlLenWe11/1c54907db1d11343e3e68a603e72cc2b/raw/amazon_page_add_sakura_checker.user.js | |
// @downloadURL https://gist.github.com/53JIlLenWe11/1c54907db1d11343e3e68a603e72cc2b/raw/amazon_page_add_sakura_checker.user.js | |
// @author 53JIlLenWe11 | |
// @include /^https://(www\.|smile\.)amazon\.co\.jp/(.*/)?[d-g]p// | |
// @match http*://sakura-checker.jp/* | |
// @run-at document-end |
View js 全イベント発火検知.js
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
var listeners = getEventListeners(document); | |
Object.keys(listeners).forEach(event => { | |
if (["pointerover", "pointerout", "pointerleave", "pointerenter", "mouseleave", "pointermove", "mouseover", "mouseout", "mousemove", "mousedown", "mouseup","scroll","mousewheel"].includes(event) == false) { | |
document.addEventListener(event, e => console.log("俺:" + e.type, e)); | |
console.log("ok", event, listeners[event]); | |
} else { | |
console.log("noooo", event, listeners[event]); | |
} | |
}); |