Skip to content

Instantly share code, notes, and snippets.

@PaulWagener
PaulWagener / Keychain.swift
Created November 1, 2017 07:09
Easy Keychain use with Swift 4
//
// Keychain.swift
// SecKeychain
//
// Created by Paul Wagener on 01-11-17.
// Copyright © 2017 Paul Wagener. All rights reserved.
//
import Foundation
@cocuroci
cocuroci / URLSchemes.txt
Last active September 6, 2023 00:58
URLSchemes Bancos
Banco do Brasil = "bbapp://"
Bradesco = "BDNiPhoneVarejo://"
Bradesco Prime = "BDNiPhonePrime://"
Itaú = "itauvarejo://"
Itaú Personnalité = "itaupersonnalite://"
Santander = "santanderpf://"
Sicoob = "sicoob://"
Neon = "banconeon://"
Nubank = "nuapp://"
@pkmishra
pkmishra / MTOMSoapClient.php
Created March 29, 2012 19:57
PHP SOAP client to handle mtom message encoding
/**
* This client extends the ususal SoapClient to handle mtom encoding. Due
* to mtom encoding soap body has test apart from valid xml. This extension
* remove the text and just keeps the response xml.
*/
class MTOMSoapClient extends SoapClient {
public function __doRequest($request, $location, $action, $version, $one_way = 0) {
$response = parent::__doRequest($request, $location, $action, $version, $one_way);
//if resposnse content type is mtom strip away everything but the xml.