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 / README.md
Last active September 10, 2022 11:37

Apple Application Startup

iOS

Write main function and call UIApplicationMain

Objective-C

#import 
@ben221199
ben221199 / table.md
Last active March 2, 2024 14:27
Electrum vs Stratum vs Stratum Mining

Electrum vs Stratum vs Stratum Mining

Technology Type Website Creator Description References First commit
Electrum Client
Server (in the early days)
Protcol (in the early days)
https://electrum.org Thomas Voegtlin (ThomasV) Started as a client/server combination using TCP/HTTP with Python's repr function as protocol format. Later adapted the Stratum protocol Repository:
https://gitorious.org/electrum (DEAD)
https://github.com/spesmilo/electrum
2011-11-04T17:00:37Z (https://github.com/spesmilo/electrum/commit/6db1a31e58ee15c448448139e7d3a9e72b14268f)
Stratum Protocol N/A Marek Palatinus (slush) Started as a replacement protocol for the Electrum client, eventually ending the repr-based protocol. N/A N/A
Stratum Mining Protocol https://stratumprotocol.org (V2) Marek Palatinus (slush) The Stratum protocol, but then with mining commands. **Documentation:**https://web.archive.org/web/20120921014023/h

OAuth 1.0

Versions

Versions as used below.

  • ORG: Original OAuth 1.0 spec
  • REV: The OAuth 1.0 spec with Revision A
  • RFC: The OAuth 1.0 spec as specified in RFC 5849

Electrum Protocol

Versions

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

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
@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 */
@ben221199
ben221199 / SYM.md
Last active July 27, 2024 22:43
Microsoft File Types
@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 / 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 -