Skip to content

Instantly share code, notes, and snippets.

View jlubawy's full-sized avatar

Josh Lubawy jlubawy

View GitHub Profile
@jlubawy
jlubawy / main.go
Last active November 20, 2018 06:21
go-boilerpipe example
package main
import (
"encoding/csv"
"net/http"
"net/http/cookiejar"
"os"
"github.com/jlubawy/go-boilerpipe"
"github.com/jlubawy/go-cli"
@jlubawy
jlubawy / ClassThatUsesThreadRunner.swift
Last active January 31, 2022 07:44
Using TheadRunner class to read/write Realm objects on single background thread
import Foundation
class ClassThatUsesThreadRunner {
let bgThread: ThreadRunner
/// Global Realm instance that may only be accessed from background thread
var bgRealm: Realm?
public init() {