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
// | |
// ViewController.swift | |
// NetworkTest | |
// | |
// Created by Kraig Spear on 10/10/17. | |
// Copyright © 2017 spearware. All rights reserved. | |
// | |
import UIKit | |
import NetworkExtension |
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
--framework:/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/RevealServer.framework |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Android.App; | |
using Android.Content; | |
using Android.Net.Wifi; | |
using Android.Widget; | |
using Android.OS; | |
using Android.Runtime; |
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
// | |
// Logger.swift | |
// SpearSwiftLib | |
// | |
// Created by Kraig Spear on 4/22/18. | |
// Copyright © 2018 spearware. All rights reserved. | |
// | |
import Foundation |
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
using System.IO; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Azure.WebJobs.Extensions.Http; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.Azure.WebJobs.Host; | |
using Newtonsoft.Json; | |
using System.Threading.Tasks; | |
namespace Logger |
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
public static class HttpTrigger | |
{ | |
[FunctionName("HttpTrigger")] | |
public static IActionResult Run([HttpTrigger(AuthorizationLevel.Function, "get", Route = null)]HttpRequest req, TraceWriter log) | |
{ | |
log.Info("C# HTTP trigger function processed a request."); | |
string maxCountStr = req.GetQueryParameterDictionary().FirstOrDefault(q => string.Compare(q.Key, "max", true) == 0).Value; | |
int maxCount = 200; |
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
// | |
// LogFetcher.swift | |
// LogQuery | |
// | |
// Created by Kraig Spear on 5/13/18. | |
// Copyright © 2018 spearware. All rights reserved. | |
// | |
import Foundation | |
import SpearSwiftLibmacOS |
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
// | |
// URLProtocolMock.swift | |
// WeatherKitTests | |
// | |
// Created by Kraig Spear on 12/15/19. | |
// Copyright © 2019 spearware. All rights reserved. | |
// | |
import Foundation | |
import XCTest |
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
protocol VehicleDataLoadable { | |
var vehiclePublisher: Published<Vehicle?>.Publisher { get } | |
} | |
final class VehicleDataLoader: VehicleDataLoadable { | |
@Published var vehicle: Vehicle? | |
var vehiclePublisher: Published<Vehicle?>.Publisher { $vehicle } | |
} |
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
// | |
// QRCodeGeneration.swift | |
// TempCheck | |
// | |
// Created by Kraig Spear on 6/12/20. | |
// | |
import CoreImage.CIFilterBuiltins | |
import UIKit |
OlderNewer