Skip to content

Instantly share code, notes, and snippets.

View sblondeau's full-sized avatar

Sylvain Blondeau sblondeau

View GitHub Profile
@sblondeau
sblondeau / index.html
Created February 26, 2020 22:01
redux without React
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Counter Redux</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Redux CDN -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/4.0.1/redux.min.js"></script>
@sblondeau
sblondeau / Author
Created July 13, 2018 14:05
ManyToMany config
/**
* @var string
*
* @ORM\ManyToMany(targetEntity="Article", mappedBy="authors")
*/
private $articles;
/**
* Constructor
-- MySQL dump 10.13 Distrib 5.7.21, for Linux (x86_64)
--
-- Host: localhost Database: bdd_advanced
-- ------------------------------------------------------
-- Server version 5.7.21-0ubuntu0.16.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
ceci
est
un
test
pour
gist
ceci
est
un
test
pour
gist
ceci
est
un
test
pour
gist
ceci
est
un
test
pour
gist
2