This file contains hidden or 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
{ | |
"title": "オリジナル", | |
"rules": [ | |
{ | |
"description": "[my] Screen Brightness (fn + cmd + up/down)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "down_arrow", |
This file contains hidden or 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
wget --mirror –w 2 –p -E --convert-links –P ./ https://example.com/ | |
# see more options: https://linux.die.net/man/1/wget | |
cd example.com/ | |
php -S localhost:8081 | |
# open URL http://localhost:8081 on your browser |
This file contains hidden or 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
<html> | |
<body> | |
<textarea class="form-control" rows="5" readonly></textarea> | |
<br> | |
<button type="button" class="btn btn-primary">Recognize</button> | |
<script type="text/javascript"> | |
const recognition = new webkitSpeechRecognition(); | |
const textarea = document.querySelector('textarea'); | |
const button = document.querySelector('button'); | |
button.addEventListener('click', function () { |
This file contains hidden or 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
function batchDeleteEmail() { | |
var loopNumber = 50 | |
var batchSize = 100 // Process up to 100 threads at once | |
var searchSize = 400 // Limit search result to a max of 400 threads. Use this if you encounter the "Exceeded maximum execution time" error | |
for (i = 0; i < loopNumber; i += 1) { | |
var threads = GmailApp.search('label:XXXX', 0, searchSize); | |
for (j = 0; j < threads.length; j += batchSize) { | |
GmailApp.moveThreadsToTrash(threads.slice(j, j + batchSize)); | |
} |
This file contains hidden or 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
{ | |
"title": "Microsoft Office で Emacs キーバインド", | |
"rules": [ | |
{ | |
"description": "Microsoft Office で Emacs キーバインド", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "b", |
This file contains hidden or 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
.report-table-container.table-scrollable-wrapper { | |
height: 1200px !important; | |
} |
This file contains hidden or 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
{ | |
"description": "Emacs cursor for Superlist", | |
"manipulators": [ | |
{ | |
"description": "ctrl-f", | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.superlist\\.superlist\\.app$" |
This file contains hidden or 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
{ | |
"description": "Cmd+Shift+Space で英語入力に切り替える(1Password Quick Access 利用時に英字入力へ強制切り替え)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "spacebar", | |
"modifiers": { "mandatory": ["left_shift", "left_command"] } | |
}, | |
"to": [ | |
{ "select_input_source": { "language": "en" } }, |
OlderNewer