This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef enum { | |
PROTO_UPLOAD_IN_PROGRESS = 0, | |
PROTO_UPLOAD_DONE, | |
PROTO_UPLOAD_FAILED, | |
PROTO_UPLOAD_NO_CONNECTION | |
} proto_upload_status_t; | |
typedef struct { | |
uint8_t data_id; | |
proto_upload_status_t status; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Dependencies: | |
# 1Password cli tool: https://support.1password.com/command-line/ | |
# jq | |
# | |
# Usage: | |
# ./op_download_documents.sh <op_subdomain> <vault_uuid> | |
# | |
# op_subdomain: 1Password subdomain (login once via `op signin <signinaddress> <emailaddress> <secretkey>`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
public class WeakSet<T: AnyObject>: Sequence, ExpressibleByArrayLiteral, CustomStringConvertible, CustomDebugStringConvertible { | |
private var objects = NSHashTable<T>.weakObjects() | |
public init(_ objects: [T]) { | |
for object in objects { | |
insert(object) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "core-list Issue", | |
"version": "0.0.0", | |
"authors": [ | |
"Simon Seyer <[email protected]>" | |
], | |
"main": "index.html", | |
"license": "MIT", | |
"ignore": [ | |
"**/.*", |