Skip to content

Instantly share code, notes, and snippets.

View sudomaxime's full-sized avatar

Maxime Nadeau sudomaxime

View GitHub Profile
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="600" >
<tr>
<td style="background-color: #ffffff;">
<a target="_blank" href="https://www.agencesudo.com">
<img src="https://sudo-website-production.s3.ca-central-1.amazonaws.com/email-thumbnails/logo-3.jpg" width="600" height="40" alt="alt_text" border="0" style="width: 600px; height: auto; background: #dddddd; font-family: sans-serif; font-size: 15px; line-height: 15px; color: #555555; margin: auto; display: block; text-align: left;" class="g-img">
</a>
</td>
</tr>
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="600" >
<tr>
<td style="background-color: #ffffff;">
<a target="_blank" href="https://www.agencesudo.com">
<img src="https://sudo-website-production.s3.ca-central-1.amazonaws.com/email-thumbnails/logo-3.jpg" width="600" height="40" alt="alt_text" border="0" style="width: 600px; height: auto; background: #dddddd; font-family: sans-serif; font-size: 15px; line-height: 15px; color: #555555; margin: auto; display: block; text-align: left;" class="g-img">
</a>
</td>
</tr>
{
'fr_Hauteur':'100 cm',
'fr_Largeur':'50 cm',
'fr_Zone':'3',
'fr_Floraison':'Mi-été, Fin été',
'fr_Couleur':'Blanche, Mauve',
'fr_Feuillage':'Caduc',
'fr_Utilisation':'Accent, Platebande',
'fr_Exposition':'Soleil, Mi-ombre',
'fr_Port':'Érigé',
<script src="https://player.vimeo.com/api/player.js"></script>
.video-overlay {
background-color: rgba(0, 0, 0, 0.904);
position: fixed;
height: 100%;
z-index: 999;
width: 100%;
top: 0;
<?php
// Avec cela tu peut compter le nombre d'occurences d'un courriel dans une liste
$list = [
['bon' => true, 'email' => '[email protected]'],
['bon' => true, 'email' => '[email protected]'],
['bon' => false, 'email' => '[email protected]'],
];
feilds : Page / docs
<?php
namespace Adapt\Fields;
function make_doc () {
$category = array(
'name' => 'category_doc',
{% extends "base.twig" %}
{% block content %}
{# Titre de la page -------------------------------------------------------- #}
<div class="row">
<div class="col">
<h2 class="d-block d-md-inline">{{post.post_title}}</h2>
</div>
</div>
function setCookie(name,value,days) {
var expires = "";
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days*24*60*60*1000));
expires = "; expires=" + date.toUTCString();
}
document.cookie = name + "=" + (value || "") + expires + "; path=/";
}
function getCookie(name) {
// fonts.scss
@import url('https://fonts.googleapis.com/css?family=Oswald:400,700|Roboto:400,700');
$fontDisplay: 'Oswald', sans-serif;
$fontText: 'Roboto', sans-serif;
h1, h2, h3, h4, h5, h6 {
font-family: $fontDisplay;
}
[
{
id: '2',
dateSpanBegin: fakeDates.startOfNextWeek,
days: [
{
date: fakeDates.startOfNextWeek,
dayOfWeek: 0,
choices: [
{