Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Raphael Blehoue raphydev

🎯
Focusing
Block or report user

Report or block raphydev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@raphydev
raphydev / CompagnyType.php
Last active Jul 24, 2018
Problème avec la sérialisation (JMS Sérializer )des données en poster en Ajax avec un Formulaire symfony 4 - Erreur Afficher
View CompagnyType.php
<?php
namespace App\Form;
use App\Entity\Company;
use App\Entity\Domain;
use App\Entity\Legal;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
@raphydev
raphydev / SignInFormContainer.js
Last active Feb 17, 2018
HOC authorization Failed
View SignInFormContainer.js
import React, { Component } from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import { Field, reduxForm } from 'redux-form';
import { Link } from 'react-router-dom';
import $ from 'jquery/dist/jquery.min';
import '../../Ui/styles/login.css';
import logo from '../../Ui/images/logo_origin.png';
import SecurityLayout from '../../Layouts/SecurityLayout';
import renderField from '../../Components/renderField';
View LoginFormEmail.php
<?php
/**
* Created by PhpStorm.
* User: raphael
* Date: 07/03/2017
* Time: 16:19
*/
namespace Labs\AuthBundle\Form;
use Symfony\Component\Form\AbstractType;
View parameters.yml
parameters:
database_host: 127.0.0.1
database_port: null
database_name: database
database_user: root
database_password: root
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: null
mailer_password: null
@raphydev
raphydev / config.yml
Last active Aug 29, 2015
Solution de l'erreur [Symfony\Component\Config\Definition\Exception\InvalidConfigurationException] Unrecognized option "naming_strategy" under "doctrine.orm" du Bundle stof/doctrine-extensions-bundle
View config.yml
orm:
auto_generate_proxy_classes: "%kernel.debug%"
entity_managers:
default:
naming_strategy: doctrine.orm.naming_strategy.underscore
auto_mapping: true
mappings:
gedmo_translatable:
type: annotation
prefix: Gedmo\Translatable\Entity
@raphydev
raphydev / donnée Json
Created Sep 14, 2014
Bonjour j'utilise Mustache et j'aimerai afficher mes données recuperées en ajax avec le template mustache , mais je ne compren pas pourquoi celui ne s'affiche pas : Voila mon code - j'utilise cakephp
View donnée Json
//données recuperées en JSON
[
{
"User": {
"lastname": "wild",
"firstname": "bertrand",
"email": "wild@outlook.fr",
"entreprise": "alpha",
"fonction": "ScrumMaster"
}
You can’t perform that action at this time.