Cette sonde permet de vérifier des sites web :
- vérification du HTTP Status Code (2xx)
- vérification de la présence d'un terme dans la page
- vérification du temps de chargement
#!/bin/bash | |
function ask() { | |
question="$1" | |
answer="" | |
while [ "${answer}" == "" ]; do | |
read -p "${question}" answer | |
done | |
echo "${answer}" |
<?php | |
class ParsedownCheckbox extends ParsedownExtra | |
{ | |
protected function checkboxUnchecked($text) | |
{ | |
if ($this->markupEscaped || $this->safeMode) { | |
$text = self::escape($text); | |
// Disable escape to convert data with line (avoid double encoding) |
<!DOCTYPE html> | |
<html lang="fr"> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Génération de tickets pour les scénarii Scrum</title> | |
<!-- | |
Copyright © 2016 Simon Leblanc <contact@leblanc-simon.eu> | |
This work is free. You can redistribute it and/or modify it under the | |
terms of the Do What The Fuck You Want To Public License, Version 2, | |
as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. |
<?php | |
function buildDxf($original_datas) { | |
$template = ' 0 | |
SECTION | |
2 | |
HEADER | |
9 | |
$ACADVER | |
1 |
# -*- coding: utf-8 -*- | |
from email.parser import Parser | |
from email.header import decode_header | |
import json | |
import pyinotify | |
import requests | |
from StringIO import StringIO | |
import sys | |
import tempfile |
<?php | |
namespace AppBundle\Command; | |
use Symfony\Bundle\FrameworkBundle\Command\AbstractConfigCommand; | |
use Symfony\Component\Config\Definition\Processor; | |
use Symfony\Component\Console\Exception\LogicException; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Output\OutputInterface; |
#!/bin/bash | |
# Install Symfony 3.4 | |
symfony new vich lts | |
# Go to the directory | |
cd vich | |
# Remove the parameters.yml to populate with good value | |
rm app/config/parameters.yml |
<!DOCTYPE html> | |
<html lang="fr"> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Génération de tickets pour les scénarii Scrum</title> | |
<!-- | |
Copyright © 2016 Simon Leblanc <contact@leblanc-simon.eu> | |
This work is free. You can redistribute it and/or modify it under the | |
terms of the Do What The Fuck You Want To Public License, Version 2, | |
as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. |
Verifying that +leblanc_simon is my blockchain ID. https://onename.com/leblanc_simon |