Skip to content

Instantly share code, notes, and snippets.

import Nimble
import Quick
/// Replacement for Quick's `it` which runs using swift concurrency.
func asyncIt(
_ description: String,
file: StaticString = #file,
line: UInt = #line,
closure: @MainActor @escaping () async throws -> Void
) {
@gshahbazian
gshahbazian / curls.txt
Last active February 11, 2021 19:03
Graph API Curls
// Showing folder ids. Note inbox and Gabe's Folder.
$ curl --request GET \
--url 'https://graph.microsoft.com/v1.0/me/mailFolders' \
--header 'Authorization: Bearer ___' \
--header 'Prefer: IdType=ImmutableId' | jq '.'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3542 100 3542 0 0 25120 0 --:--:-- --:--:-- --:--:-- 25120
{