あまり深く理解してないので識者のツッコミ大歓迎
取り敢えず最低限だけ
# 補完を有効にする| const id = "kiriban-fuminige-kinshi"; | |
| const conversions = [ | |
| { unit: "K", rate: 1000 }, | |
| { unit: "M", rate: 1000000 }, | |
| { unit: "B", rate: 1000000000 }, | |
| { unit: "万", rate: 10000 }, | |
| ]; | |
| function run(target) { |
| #include <M5StickC.h> | |
| #include "MHZ19.h" | |
| #define RX_PIN 36 // Rx pin which the MHZ19 Tx pin is attached to | |
| #define TX_PIN 26 // Tx pin which the MHZ19 Rx pin is attached to | |
| #define BAUDRATE 9600 // Device to MH-Z19 Serial baudrate (should not be changed) | |
| #define LCD_MODE_DIGIT 0 | |
| #define LCD_MODE_GRAPH 1 |
| // ==UserScript== | |
| // @name Text2Link | |
| // @namespace http://www.sanno-net.com/text2link | |
| // @version 1.0 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://teratail.com/* | |
| // @grant none | |
| // ==/UserScript== |
| #!/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 |
| javascript:(() => { | |
| let adjX = 0, | |
| adjY = 0; | |
| const NORMAL = 'NORMAL', | |
| CHECK = 'CHECK', | |
| ADJUST = 'ADJUST'; | |
| const MODES = { | |
| NORMAL: { | |
| nextKey: CHECK, | |
| message: 'press Ctrl-key once more for adjust-mode', |
| // ==UserScript== | |
| // @name BlueJeans Open In App | |
| // @namespace https://vinspee.me | |
| // @version 0.1 | |
| // @license MIT | |
| // @description Open BlueJeans meetings in the app | |
| // @author Vince Speelman <[email protected]> | |
| // @match *://bluejeans.com/* | |
| // @grant window.close | |
| // @require https://cdn.rawgit.com/agnoster/base32-js/91f43b82f19f467ade1270aa4b0e579b201d7efd/dist/base32.min.js |
| # Run this as a Computer Startup script to allow installing fonts from C:\InstallFont\ | |
| # Based on http://www.edugeek.net/forums/windows-7/123187-installation-fonts-without-admin-rights-2.html | |
| # Run this as a Computer Startup Script in Group Policy | |
| # Full details on my website - https://mediarealm.com.au/articles/windows-font-install-no-password-powershell/ | |
| $SourceDir = "C:\InstallFont\" | |
| $Source = "C:\InstallFont\*" | |
| $Destination = (New-Object -ComObject Shell.Application).Namespace(0x14) | |
| $TempFolder = "C:\Windows\Temp\Fonts" |
| // Amazonの注文履歴をTSV形式で出力するスクリプト | |
| // | |
| // 2015-01-01 時点での DOM 構造に対応, GoogleCrome, Opera でテスト済。 | |
| // formatEntry関数を書き換えれば自由な書式で出力できます。 | |
| // | |
| // 参考: | |
| // - Amazonの注文履歴をCSV形式にして出力するスクリプト | |
| // https://gist.github.com/arcatdmz/8500521 | |
| // - Amazon で使った金額の合計を出す奴 (2014 年バージョン) | |
| // https://gist.github.com/polamjag/866a8af775c44b3c1a6d |
| Set Excel = WScript.CreateObject("Excel.Application") | |
| 'キーコード | |
| Const VK_SHIFT = &H10 | |
| 'マウス定数 | |
| Const MOUSEEVENTF_ABSOLUTE = &H8000 | |
| Const MOUSE_MOVE = &H1 | |
| Const MOUSEEVENTF_LEFTDOWN = &H2 | |
| COnst MOUSEEVENTF_LEFTUP = &H4 |