Skip to content

Instantly share code, notes, and snippets.

View nathanfjohnson's full-sized avatar

nat_a_cyborg nathanfjohnson

  • 12:21 (UTC -06:00)
View GitHub Profile
Verifying my Blockstack ID is secured with the address 1MeWGWQ6SUoPW5Pksfi6rtczff5EoAdnsw https://explorer.blockstack.org/address/1MeWGWQ6SUoPW5Pksfi6rtczff5EoAdnsw
@nathanfjohnson
nathanfjohnson / String+HTML.swift
Last active November 23, 2021 15:09 — forked from mwaterfall/StringExtensionHTML.swift
Decoding HTML Entities in Swift 4
// Swift 4
// Check out the history for contributions and acknowledgements.
extension String {
/// Returns a new string made by replacing all HTML character entity references with the corresponding character.
///
/// - Returns: decoded string
func decodingHTMLEntities() -> String {
var result = String()
var position = startIndex
@nathanfjohnson
nathanfjohnson / keybase.md
Created April 25, 2017 17:08
Keybase proof

Keybase proof

I hereby claim:

  • I am nathanfjohnson on github.
  • I am nathanfjohnson (https://keybase.io/nathanfjohnson) on keybase.
  • I have a public key whose fingerprint is 4432 057B 5362 C444 6D4F 4B43 9EBE 3808 FA52 754D

To claim this, I am signing this object: