Skip to content

Instantly share code, notes, and snippets.

View Przemyslaw-Wosko's full-sized avatar

Przemysław Wośko Przemyslaw-Wosko

View GitHub Profile
https://www.getpostman.com/docs/newman_intro
http://blog.getpostman.com/tutorials/
How to write automated tests for APIs using Postman
http://blog.getpostman.com/2014/03/07/writing-automated-tests-for-apis-using-postman/
Fajny odcinek podcasta od Joe Colantonio i dobre wprowadzenie wpisowe:
https://www.joecolantonio.com/2016/09/29/api-testing-postman/
@eMdOS
eMdOS / Codable.swift
Last active April 23, 2019 15:04
Codable {Apple Swift version 4.0 (swiftlang-900.0.45.6 clang-900.0.26)}
extension Encodable {
func encode(with encoder: JSONEncoder = JSONEncoder()) throws -> Data {
return try encoder.encode(self)
}
}
extension Decodable {
static func decode(with decoder: JSONDecoder = JSONDecoder(), from data: Data) throws -> Self {
return try decoder.decode(Self.self, from: data)
}
@yanngx
yanngx / FragmentArgumentDelegate.kt
Last active January 19, 2023 09:26
Fragment arguments without hassle !
package be.brol
import android.os.Binder
import android.os.Bundle
import android.support.v4.app.BundleCompat
import android.support.v4.app.Fragment
/**
* Eases the Fragment.newInstance ceremony by marking the fragment's args with this delegate
* Just write the property in newInstance and read it like any other property after the fragment has been created
@devashish2203
devashish2203 / BaseScreen.swift
Last active December 12, 2018 01:59
Page Object Model for UITests in Swift
//
// BaseScreen.swift
//
//
// This serves as the Superclass of all other Screens that need to be created.
import Foundation
import XCTest
class BaseScreen {
@aras-p
aras-p / preprocessor_fun.h
Last active May 16, 2025 11:21
Things to commit just before leaving your job
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
//
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,