Skip to content

Instantly share code, notes, and snippets.

View nfabre's full-sized avatar

Nicolas Fabre nfabre

View GitHub Profile
@nfabre
nfabre / 1-README.md
Last active April 27, 2017 06:35
OKTA Setup

Setup OKTA App

  1. Create a new Application SAML 2.0 in OKTA
  2. Configure SAML

The "attribute statements" section is optional. If you want to create user on the first login with more data than email, you need to set these attributes.

Verifying that +nfabre is my blockchain ID. https://onename.com/nfabre
@nfabre
nfabre / Symfony Live Paris.markdown
Last active October 7, 2020 12:27
Slides Symfony Live 2013
@nfabre
nfabre / gist:742227
Created December 15, 2010 16:44
VmwareUserCreate.php
<?php
// ...
class VmwareUserCreateTask extends Task {
// ...
private $vmconnex = array();
public function createVmconnex() {
$num = array_push($this->vmconnex, new Connexion());
return $this->vmconnex[$num-1];
}
@nfabre
nfabre / gist:742209
Created December 15, 2010 16:33
build.xml
<project name="test" basedir="." default="buidit">
<!-- definition du type -->
<typedef name="vmconnex" classname="phing.types.custom.vmware.datatype.Connexion" />
<taskdef name="vmwareUserCreate" classname="phing.tasks.vmware.vmware.user.CreateTask" />
<!-- Parametrage -->
<vmconnex
id="mainconnex"
username="login"
password="password"
/>
@nfabre
nfabre / gist:742199
Created December 15, 2010 16:29
Connexion.php
<?php
require_once "phing/types/DataType.php";
/**
* This Type represents a Connection.
*/
class Connexion extends DataType {
private $username;
private $password;
/**
@nfabre
nfabre / gist:742039
Created December 15, 2010 14:59
build.xml
<?xml version="1.0" ?>
<project name="test" basedir="." default="work">
<!-- rattachement de la tache a une balise -->
<taskdef name="vmwareUserCreate"
classname="phing.tasks.custom.vmware.user.CreateTask" />
<target name="work">
<vmwareUserCreate username="nfa"
password="pwd"
description="my delegated admin auto-agent software"
<?php
require_once "phing/Task.php";
class CreateTask extends Task {
private $username;
private $password;
private $details;
// ...
@nfabre
nfabre / gist:742028
Created December 15, 2010 14:50
VmwareUserCreateTask.php
<?php
require_once "phing/Task.php";
class CreateTask extends Task {
/**
* @var string
*/
private $username;
/**