paste.otavio.lol · paste listing
marsedit_template.html
5 months ago<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>#title#</title>
<style>
/* Light mode */
:root {
--text: #000000;
--link: #1565C0;
--link_visited: #15...
statusrequestfactory.swift
1 year agopublic 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
1 year agopublic protocol OMGAPIFactoryProtocol {
/// Builds the OMG network client.
/// - Parameter authToken: The auth token for authenticated requests.
/// - Returns: The network client.
...
gitconfig
1 year 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
1 year agoimport Combine
import Network
public protocol NWPathMonitorPathPublishing {
func pathPublisher(
) -> AnyPublisher<NWPath.Status, Never>
func pathPublisher(
queue: Dispatc...
networkclient.swift
1 year agopublic protocol NetworkClientProtocol {
/// Performs the network request.
///
/// - Parameter networkRequest: The network request to perform.
/// - Returns: The network response....