Skip to content

Instantly share code, notes, and snippets.

module.exports = {
defaultBrowser: "Browserosaurus",
rewrite: [
{
// Redirect all urls to use https
match: ({ url }) => url.protocol === "http",
url: { protocol: "https" }
},
],
handlers: [
Verifying that I control the following Nostr public key: npub16lrdq99ng2q4hg5ufre5f8j0qpealp8544vq4ctn2wqyrf4tk6uqn8mfeq
@higedamc
higedamc / nostr_seed.py
Created May 10, 2024 09:42
Uses Embit to convert hex or bech32 keys to BIP39 seed words and vice-versa
"""Uses Embit and qrcode modules to convert hex and bech32 keys to BIP39 seed words and vice-versa.
Also generates ascii compact seed QR codes.
Install Embit:
pip install embit
Exemple: Words as input:
python nostr_c_seed_qr.py picture body actor coil end satoshi fish mom distance proof thank play fantasy friend dinner clump boring ozone review cart virtual toss foot infant
Hex Key: a4431c0a96a4997ed5ec763fb58b7f532530b9cf916219f3d2e2118f47cb56bb
Bech32 key: nsec153p3cz5k5jvha40vwclmtzml2vjnpww0j93pnu7juggc737t26ascxcmgr
BIP39 seed numbers: [1315, 200, 22, 363, 589, 1532, 702, 1143, 510, 1379, 1791, 1331, 665, 744, 499, 355, 208, 1269, 1477, 281, 1956, 1838, 728, 923]
" Settings
" 検索窓に自動フォーカスするの阻止
" set noautofocus
" レターケース無視
set ignorecase
" カーソル自動消去
set autohidecursor
" 日本
let locale="jp"
" Hint-a-Hint
@higedamc
higedamc / keybase.md
Created September 12, 2019 03:38
Keybase

Keybase proof

I hereby claim:

  • I am higedamc on github.
  • I am higechang (https://keybase.io/higechang) on keybase.
  • I have a public key ASCapb35lqvDTsizZ3tuVlpSQVcMgsksxGORT2JZxGBYkwo

To claim this, I am signing this object: