Avatar
AsaiToshiya
0a2f19dc1a185792c3b0376f1d7f9971295e8932966c397935a5dddd1451a25a
📝 https://notes.asaitoshiya.com/

ルールを追加

- ブログはノーカウント

- ブランチへのコミットはノーカウント

- 自分が作成したリポジトリへのコミットのみ

惰性で続けても無意味

毎日コミットを続けて得たものは、毎日コミットを続けるというモチベーションが維持できることだけ

何の意味もない

#github

OneKey

https://onekey.so/

NIP-07 (`window.nostr` capability for web browsers) を実装するクロスプラットフォームの暗号資産ウォレット

リポジトリ: https://github.com/OneKeyHQ/app-monorepo

#キャッチアップ #awesomenostr

awesome-nostr のコミットのキャッチアップ

https://github.com/aljazceru/awesome-nostr/commits/main?since=2023-11-29&until=2023-12-04&author=aljazceru

#キャッチアップ #awesomenostr

NIPs のコミットのキャッチアップ

https://github.com/nostr-protocol/nips/commits/master?since=2023-12-04&until=2023-12-04

* NIP-90: Data Vending Machines

* typo

* NIP-53: Live Activities

* 同上

* NIP-10: Conventions for clients' use of `e` and `p` tags in text events

* 同上

* NIP-47: Wallet Connect

* 同上

* README

* Lightning.Pub (`kind: 21000`) のリンクが修正された

#キャッチアップ #nips

NIPs のコミットのキャッチアップ

https://github.com/nostr-protocol/nips/commits/master?since=2023-11-29&until=2023-12-03

* README

* kind の順序が修正された

* NIPs 外の `kind: 21000` が追加された

* タグのリストを更新した

* NIP-01: Basic protocol flow description

* 「Meaning of WebSocket status codes」が削除された。同じ意味の `CLOSE` メッセージを使用する

* NIP-22: Event `created_at` Limits

* 削除された。理由: https://github.com/nostr-protocol/nips/pull/897#issue-2007148202

* NIP-58: Badges

* PoW (NIP-13) に関する記述が削除された。理由: https://github.com/nostr-protocol/nips/pull/909#issue-2020580139

* NIP-15: Nostr Marketplace (for resilient marketplaces)

* typo

* NIP-07: `window.nostr` capability for web browsers

* OneKey (https://onekey.so/) が追加された

#キャッチアップ #nips

今日はこれ

#イベント

Difference between Element.value and Element.getAttribute("value")

https://stackoverflow.com/a/11973716

#javascript

`proxy` タグで HTTP/HTTPS をブリッジできそう

```

{

"kind": 5392,

"content": "",

"tags": [

["proxy", "web", "https://asaitoshiya.github.io/brostr/"]

],

...

}

```

用途は不明

タグで GitHub Pages にデプロイ

1. 「Settings」 > 「Pages」 > 「Build and deployment」 > 「Source」で、「GitHub Actions」を選択

2. 任意のワークフローを選択して、YAML ファイルの `push` セクションを以下のように変更

```

tags:

- '*'

```

3. 「Settings」 > 「Environments」 > 「github-pages」 > 「Deployment branches and tags」で、「No restriction」を選択

#github

`chars()`

イテレーターを実装する `Chars` を返す

https://doc.rust-lang.org/std/string/struct.String.html#method.chars

#rustlang