Skip to content

Instantly share code, notes, and snippets.

View sudomaxime's full-sized avatar

Maxime Nadeau sudomaxime

View GitHub Profile
<?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]'],
];
<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;
{
'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é',
<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>
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="600" >
<tr>
<td style="background-color: #ffffff;">
<img src="https://sudo-website-production.s3.ca-central-1.amazonaws.com/email-thumbnails/line.jpg" width="500" height="20" alt="alt_text" border="0" style="width: 600px; height: auto; background: white; font-family: sans-serif; font-size: 15px; line-height: 15px; color: white; margin: auto; display: block; text-align: left;" class="g-img">
</td>
</tr>
<!-- Clear Spacer : BEGIN -->
<tr>
import * as vegetalLib from "some-weird-vegetal-lib";
let eatables = ["banana", "apple", "watermelon", "tomato", "carrot", "cucumber", "lettuce", "kiwi", "orange"];
function findWidelyAcceptedAsVegetable (eatables) {
return eatables.filter(eatable => vegetableLib.lexicalCheck(eatable) && vegetableLib.debatable(eatable) ? !vegetableLib.isTomato(eatable) : true);
}
import * as vegetalLib from "some-weird-vegetal-lib";
let eatable = [
"banana", "apple", "watermelon", "tomato", "carrot",
"cucumber", "lettuce", "kiwi", "orange"
];
function isWidelyAcceptedVegetable (eatable) {
let validLexically = vegetableLib.lexicalCheck(eatable);
let isTomato = vegetableLib.isTomato(eatable);
type Cat = { name: string, purrVelocity: number };
var Cat = { slideStuffOffTheTable = true };
class Dog {
isDog () {
return true;
}
}
// This is fine
var dog: Dog;
// This is wrong, Syntax error 'Dog' has already been declared.
var Dog;