Skip to content

Instantly share code, notes, and snippets.

View novemberfiveco-gists's full-sized avatar

November Five Ops novemberfiveco-gists

View GitHub Profile
@novemberfiveco-gists
novemberfiveco-gists / WKCookieWebView.swift
Last active June 26, 2023 10:02
A WKWebView subclass that passes cookies after a 302 redirect response.
//
// WKCookieWebView.swift
//
// Created by Jens Reynders on 30/03/2018.
// Copyright (c) 2018 November Five
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@novemberfiveco-gists
novemberfiveco-gists / ARCameraCompassAlignment.cs
Last active February 19, 2021 16:19
A Unity component for use in the Mapbox SDK's WorldAlignmentKit sample, aligns the AR camera with the compass orientation
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
using UnityARInterface;
using Mapbox.Unity.Location;