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
| --- oauth2.el.orig 2022-12-21 05:13:00.000000000 +0900 | |
| +++ oauth2.el 2023-04-11 11:40:27.494107486 +0900 | |
| @@ -61,7 +61,7 @@ | |
| (if (string-match-p "\?" auth-url) "&" "?") | |
| "client_id=" (url-hexify-string client-id) | |
| "&response_type=code" | |
| - "&redirect_uri=" (url-hexify-string (or redirect-uri "urn:ietf:wg:oauth:2.0:oob")) | |
| + "&redirect_uri=" (url-hexify-string (or redirect-uri "http://localhost:1/")) | |
| (if scope (concat "&scope=" (url-hexify-string scope)) "") | |
| (if state (concat "&state=" (url-hexify-string state)) ""))) |
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
| ;; 秋月電子の URL 変更に追従する browse-url | |
| ;; browse-url-at-point 等も browse-url を使っている | |
| ;; | |
| ;; Old: https://akizukidenshi.com/catalog/g/gI-04575/ | |
| ;; New: https://akizukidenshi.com/catalog/g/g104575/ | |
| ;; → Replace "M-" to "1" | |
| ;; | |
| (defun adjust-akizukidenshi-url (url) | |
| (if (string-match "https://akizukidenshi[.]com/catalog/g/g\\(.-\\)[0-9]+/" url) | |
| (replace-match "1" nil t url 1) |
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
| #!/bin/bash | |
| ################################################################ | |
| # * clangd-setup - Generate .clangd from compile_commands.json | |
| # | |
| # Copyright (C) 2025 Yoshinari Nomura <nom@quickhack.net> | |
| # LICENSE: MIT | |
| # | |
| # clangd-setup is useful when your project uses GCC/G++ cross-compilers, | |
| # such as in Arduino (CLI) or ESP-IDF projects. |
OlderNewer