Skip to content

Instantly share code, notes, and snippets.

View wax13003's full-sized avatar
🎯
Focusing

Wanjia Xu wax13003

🎯
Focusing
  • San Francisco Bay Area
View GitHub Profile
@ntoniazzi
ntoniazzi / SamlLogoutHandler.php
Created May 4, 2016 12:13
Single Logout with LightSaml
<?php
/* SamlLogoutHandler.php, in the main project or a dedicated bundle */
namespace AcmeBundle\Lib;
use Symfony\Component\Security\Http\Logout\LogoutSuccessHandlerInterface;
use Exception;
use LightSaml\Binding\AbstractBinding;
use LightSaml\Binding\BindingFactory;
use LightSaml\Context\Profile\MessageContext;
@krisanalfa
krisanalfa / macosx-install-php-oracle-oci8-pdo_oci.md
Last active January 11, 2024 22:00 — forked from gido/macosx-install-php-oracle-oci8.md
Install OCI8 and / or PDO_OCI on OSX via Brew

Installation

This procedure is tested on Mac OS X 10.10.5 with Developpers tools installed (xCode).

PHP 5.6 installed with Homebrew.

Preparation

Download the following files from Oracle website (yes, you need to create an account and accept terms):