Skip to content

Instantly share code, notes, and snippets.

View joachimdoerr's full-sized avatar

Joachim Dörr joachimdoerr

  • Germany
View GitHub Profile
@joachimdoerr
joachimdoerr / IdenticonPlus.php
Created February 18, 2019 07:33 — forked from mistic100/IdenticonPlus.php
PHP implementation of Don Park Identicon algorithm with additional shapes and variations
<?php
/**
* Identicon++
*
* @description: PHP implementation of Don Park Identicon algorithm with additional shapes and variations.
*
* @author: Damien "Mistic" Sorel - http://strangeplanet.fr
* @license: MIT
* @version: 2.0.0
* @date: 21/05/2015
@joachimdoerr
joachimdoerr / 1.How to easily implement a REST API with oAuth2 presentation.md
Created September 30, 2019 16:09 — forked from lologhi/1.How to easily implement a REST API with oAuth2 presentation.md
Symfony2 : How to easily implement a REST API with oAuth2 (for normal guys)

It's still a work in progress...

Intro

As William Durand was recently explaining in his SOS, he "didn't see any other interesting blog post about REST with Symfony recently unfortunately". After spending some long hours to implement an API strongly secured with oAuth, I thought it was time for me to purpose my simple explanation of how to do it.

Ok, you know the bundles

You might have already seen some good explanation of how to easily create a REST API with Symfony2. There are famous really good bundles a.k.a. :

@joachimdoerr
joachimdoerr / slideshow_augabe.php
Created July 25, 2023 17:36 — forked from skerbis/slideshow_augabe.php
slidesjow_eingabe.php
<?php
$ylink = [['name' => 'News', 'table'=>'rex_news', 'column' => 'title']];
$auswahl = new Mform();
$auswahl->addFieldsetArea('Settings');
$auswahl->addSelectField(16, array(1=>'Ja',2=>'Nein'), array('label'=>'Autoplay'));
$auswahl->addSelectField(18, array('slide'=>'slide','fade'=>'fade','scale'=>'scale','pull'=>'pull','push'=>'push'), array('label'=>'Übergangs-</br>effekt'));
$auswahl->addSelectField(19, array('ja'=>'Ja',2=>'Nein'), array('label'=>'Navigations-</br>punkte anzeigen'));
$auswahl->addSelectField(20, array('ja'=>'Ja',2=>'Nein'), array('label'=>'Höhe wie Bildschirm'));
echo $auswahl->show();
?>