秀丸エディタおすすめ設定集
諸々の基本設定はメニューバーの その他
→ ファイルタイプ別の設定
で変更可能。
ファイルタイプ別
というのはつまり、 .txt
などの拡張子別に設定を変更できるという意味。(共通)
で適用した設定は基本的にどのファイルにも受け継がれる。
Array.from(document.querySelectorAll(".youtube")).forEach((el) => { | |
el.addEventListener( | |
"click", | |
() => { | |
const src = el.getAttribute("data-video"); | |
const newDiv = document.createElement("div"); | |
newDiv.classList.add("youtubeplay"); | |
newDiv.innerHTML = `<iframe loading="lazy" src="${src}" frameborder="0" width="560" height="315"></iframe>`; | |
el.replaceWith(newDiv); | |
}, |
* {font-family: "PlemolJP";} | |
table { | |
margin: 20px auto; | |
border: 1px solid #aaa; | |
} | |
thead, th, tbody {border: 1px solid #aaa;} | |
th {background:#e0e0e0;} | |
td { | |
border-left: 1px solid #aaa; | |
border-right: 1px solid #aaa; |
import re | |
from winreg import HKEY_CURRENT_USER, HKEY_CLASSES_ROOT, OpenKey, QueryValueEx | |
def get_browser_name() -> str: | |
register_path = r'Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice' | |
with OpenKey(HKEY_CURRENT_USER, register_path) as key: | |
return str(QueryValueEx(key, "ProgId")[0]) | |
def format_cmd(s:str) -> str: | |
exe_path = re.sub(r"(^.+exe)(.*)", r"\1", s) |
{ | |
"0": "unset", | |
"1": "unset", | |
"2": "unset", | |
"3": "unset", | |
"4": "unset", | |
"5": "unset", | |
"6": "unset", | |
"7": "unset", | |
"8": "unset", |
package main | |
import ( | |
"bufio" | |
"flag" | |
"fmt" | |
"os" | |
"github.com/ktr0731/go-fuzzyfinder" | |
) |
// https://gist.github.com/tablacus/b706707ae86aa4fd7d126d5d117a853d | |
// Toggle split pane (Vertical) Require "Split" - Tablacus Explorer | |
function ToggleSplitPaneVertical() { | |
if (te.Ctrls(CTRL_TC, true).Count > 1) { | |
Addons.Split.Exec(1, 1); | |
} else { | |
Addons.Split.Exec(2, 3); | |
// https://github.com/tablacus/TablacusExplorerAddons/wiki/switchpane | |
Sync.SwitchPane.NextFV().Navigate(GetFolderView(), SBSP_NEWBROWSER); | |
} |
""" | |
銀行と支店コードを検索 | |
""" | |
import argparse | |
from zengin_code import Bank | |
def format_name(s:str): | |
from_letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-ャュョッ" |
""" ############################################################# | |
## | |
## BEGINING OF FILE: | |
## ~\Documents\PowerShell\cmdlets\python\sudachi_tokenizer.py | |
## | |
############################################################# """ | |
""" |
// ------------------------------------------------------------ | |
// インデント直後では逆インデント、それ以外は直前の1字を削除 | |
// ------------------------------------------------------------ | |
function selectLine() { | |
document.selection.EndOfLine(false, mePosLogical); | |
document.selection.StartOfLine(true, mePosLogical); | |
} | |
function getIndentDepth(s) { |