Skip to content

Instantly share code, notes, and snippets.

View paulomendes's full-sized avatar

Paulo Mendes paulomendes

View GitHub Profile
@paulomendes
paulomendes / NetworkRequestProvider.swift
Created June 15, 2021 12:29
Simple combine network client with retry mechanism
enum NetworkRequestProviderError: Error {
case badRequest
case unauthorized
case forbidden
case notFound
case error4xx(Int)
case error5xx(Int)
case serverError
case unknownError
case urlSessionFailed(URLError)

Keybase proof

I hereby claim:

  • I am paulomendes on github.
  • I am paulo_mendes (https://keybase.io/paulo_mendes) on keybase.
  • I have a public key ASB-KJr_Une0_Eu7-a3GaCgjcbLfLYP2WfIuQA5Ah8WEnAo

To claim this, I am signing this object:

@paulomendes
paulomendes / .vimrc
Last active March 22, 2017 14:27
Personal Vimrc
syntax on
set nocompatible " be iMproved, required
filetype off " required
filetype plugin indent on " required
syntax on
set t_Co=256
set number
set nu
set shiftwidth=2