paste.otavio.lol · paste listing

custom_weblog_template.html

4 months ago
<!DOCTYPE html>
<html lang="en">
<head>
    <title>{weblog-title}{separator}{post-title}</title>
    
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-sc...

statusrequestfactory.swift

4 months ago
public enum StatusRequestFactory {

    /// Builds the request to retrieve all the statuses in the statuslog.
    /// - Returns: The request to be performed by the network client.
    public stati...

omgapifactory.swift

4 months ago
public protocol OMGAPIFactoryProtocol {

    /// Builds the OMG network client.
    /// - Parameter authToken: The auth token for authenticated requests.
    /// - Returns: The network client.
  ...

gitconfig

5 months ago
[user]
	name = Otavio Cordeiro
	email = otaviocc@users.noreply.github.com

[alias]
	aliases = "!f() { git config --global -l | grep alias | sort; }; f"
	st = status
	br = branch
	cm = commit
...

nwpathmonitorpathpublishing.swift

5 months ago
import Combine
import Network

public protocol NWPathMonitorPathPublishing {
    func pathPublisher(
    ) -> AnyPublisher<NWPath.Status, Never>

    func pathPublisher(
        queue: Dispatc...

networkclient.swift

5 months ago
public protocol NetworkClientProtocol {

    /// Performs the network request.
    ///
    /// - Parameter networkRequest: The network request to perform.
    /// - Returns: The network response....