Skip to content

Instantly share code, notes, and snippets.

View ben221199's full-sized avatar
:atom:
Programming

Ben ben221199

:atom:
Programming
View GitHub Profile
@ben221199
ben221199 / DATABASE.md
Last active January 8, 2025 09:33
LBRY

LBRY Database

Prefix Row Prefix Key Key Parameters Value Value parameters Conditions
ClaimToSupportPrefixRow K ClaimToSupportKey claim_hash,tx_num,position ClaimToSupportValue amount PUT: every output with support claim and matching normalized name
SupportToClaimPrefixRow L SupportToClaimKey tx_num,position SupportToClaimValue claim_hash PUT: every output with support claim and matching normalized name
ClaimToTXOPrefixRow E ClaimToTXOKey claim_hash ClaimToTXOValue tx_num,position,root_tx_num,root_position,amount,activation,channel_signature_is_valid,name
TXOToClaimPrefixRow G TXOToClaimKey tx_num,position TXOToClaimValue claim_hash,name
ClaimToChannelPrefixRow I ClaimToChannelKey claim_hash,tx_num,position ClaimToChannelValue signing_hash
ChannelToClaimPrefixRow J ChannelToClaimKey signing_hash,name,tx_num,`posi
@ben221199
ben221199 / MANIFEST.md
Last active November 21, 2024 13:15
WebExtensions

WebExtensions - Manifest

Field Introduced in Type Description
app 1** object
background_page 1 string Page that runs in background.
browser_action 1* object The browser action of the extension.
chrome_url_overrides 1* object
content_scripts 1 array The content scripts of the extension.
default_locale 1* string The default locale for a internationalized extension.
@ben221199
ben221199 / API.md
Last active December 16, 2024 13:10
Enphase

Enphase API

Version 1 [End of Life]

Base URL: https://api.enphaseenergy.com/api

Endpoints

TODO:

@ben221199
ben221199 / OBJECTS.md
Last active August 17, 2024 15:45
EPP

EPP Objects

Contact (IETF)

Namespace: urn:ietf:params:xml:ns:contact-1.0

Attribute Minimal occurance Maximal occurance Create Read (Information) Update Delete Extension Namespace
id 1 1 -
roid 1 1 -
@ben221199
ben221199 / MAPSYM.md
Last active July 28, 2024 15:05
Microsoft File Information
Version File name MD5 SHA-1 Byte Size Date Description Found in
MapSym v3.00 MAPSYM.EXE F264D1B5C492F53D5685F06DAEE38DDB A58C3F63DC340F2B510FBDAED26958C593504B21 17290 1984-11-09 15:22:42 - Microsoft Macro Assembler 3.00
MapSym v3.01 MAPSYM.EXE 83BCFA8235668DA182A260784D7AE21B 78B28AA5E745FE3CF04DD80AFFE452DE2A700F39 51904 1985-06-21 10:21:06 Symbol File Utility Microsoft Macro Assembler 3.01
MapSym v3.10 MAPSYM.EXE D9A38D70BC954E367652C0E073A9EDFA 32B4660BFD081AEEC2C81817E8117416383D3464 48186 1985-07-17 09:07:38 - Windows 1.01 SDK (Disk 1: WINDEV1)
MapSym v3.10 MAPSYM.EXE 20F1DEB0DB818EAFFAC5676381782DCE DEE7319A509E2E3218C1262BE93B06F307FA9227 48990 1986-08-27 14:10:02 - Windows 1.03 SDK (Disk 1: WINDEV1)
Windows 1.04 SDK (Disk 1: UTILITY)
MapSym v3.10 MAPSYM.EXE 365C8D36F72A37E73A92932AC6F7C835 BF04B41EDB76C9E2766CF292CDE4059E5C3663EA
@ben221199
ben221199 / SYM.md
Last active July 27, 2024 22:43
Microsoft File Types
@ben221199
ben221199 / SYM.bt
Created July 27, 2024 15:45
Binary Template files for 010 Editor
struct mapdef_s {
unsigned short md_spmap; /* 16 bit SEG ptr to next map (0 if end) */
unsigned char md_abstype; /* 8 bit map/abs sym flags */
unsigned char md_pad; /* 8 bit pad */
unsigned short md_segentry; /* 16 bit entry point segment value */
unsigned short md_cabs; /* 16 bit count of constants in map */
unsigned short md_pabsoff; /* 16 bit ptr to constant offsets */
unsigned short md_cseg; /* 16 bit count of segments in map */
unsigned short md_spseg; /* 16 bit SEG ptr to segment chain */
unsigned char md_cbnamemax; /* 8 bit maximum symbol name length */

SGML

Useful details about parsing SGML.

Declaration subsets

Recognition modes

There are two recognition modes: DS and DSM:

  • DS - Only recognizable in a declaration subset

Electrum Protocol

Versions

  • 0.1
  • 0.2
  • 0.3
  • 0.4
  • 0.5
  • 0.6