Skip to content

Instantly share code, notes, and snippets.

@Kalzem
Kalzem / words.json
Created November 11, 2019 16:34
ZippyJSON considers the keys non-ascii
{
"version": 1,
"items": [
{
"id": "en_cat",
"name": "cat",
"lang": "en",
"defs": [
{
"id": "en_cat_1",
@Kalzem
Kalzem / OrderedDictionary.swift
Created November 6, 2018 17:41
OrderedDictionary for Swift 4.2
import Foundation
struct OrderedDictionary<Key: Hashable, Value> {
var keys = [Key]()
var values = [Key: Value]()
var count: Int {
return self.keys.count
}