Skip to content

Instantly share code, notes, and snippets.

View afa7789's full-sized avatar
🐍
Don't thread on me.

Arthur Abeilice afa7789

🐍
Don't thread on me.
View GitHub Profile
@MBrassey
MBrassey / Match_Addresses.md
Last active May 29, 2024 08:51
Match Crypto Wallet Addresses (REGEX)

Match Crypto Wallet Addresses using Regular Expressions

The following regular expressions are crafted to match some commonly used cryptocurrency wallet address types. This document details the Regex components and pattern tests to match Ethereum, Bitcoin, Dash and Monero addresses.

🌀 Click the images below to view the tested patterns.

Ethereum (ETH)

/^0x[a-fA-F0-9]{40}$/g

@chrisgillis
chrisgillis / ssl_smtp_example.go
Created April 16, 2014 14:48
Golang SSL SMTP Example
package main
import (
"fmt"
"log"
"net"
"net/mail"
"net/smtp"
"crypto/tls"
)