This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Import JSTS : http://bjornharrtell.github.io/jsts/ | |
// Import Google Map API | |
var map = new google.maps.Map(document.getElementById('map'), { | |
mapTypeId: google.maps.MapTypeId.TERRAIN | |
}); | |
var bound = new google.maps.LatLngBounds(); | |
var paths = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$username = 'lum-customer-****-zone-residential'; | |
$password = '*********'; | |
$port = 22225; | |
$user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36'; | |
$session = mt_rand(); | |
$super_proxy = 'zproxy.lum-superproxy.io'; | |
$url = 'https://www.domaintocrawl.com/'; | |
$curl = curl_init($url); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$host = 'https://api.cognitive.microsoft.com'; | |
$path = '/bing/v7.0/spellcheck?'; | |
$input = "Hollo, wrld!"; | |
$get = [ | |
'mkt' => 'en-US', | |
'mode' => 'proof' | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Command; | |
use Craue\GeoBundle\Entity\GeoPostalCode; | |
use Doctrine\ORM\EntityManagerInterface; | |
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; | |
use Symfony\Component\Console\Helper\ProgressBar; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\OutputInterface; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
security: | |
encoders: | |
Symfony\Component\Security\Core\User\User: plaintext | |
providers: | |
in_memory: | |
memory: | |
users: | |
admin: | |
password: "PASSWORD123" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'base.html.twig' %} | |
{% block body %} | |
<h1>Connexion</h1> | |
{% if error %} | |
<div class="alert alert-danger">{{ error.message }}</div> | |
{% endif %} | |
<form method="post" action="{{ path('login_check') }}" class="form-horizontal col-md-6 col-md-offset-2"> | |
<div class="form-group"> | |
<label class="control-label col-sm-4" id="inputUsername">Nom d'utilisateur</label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AppBundle\Controller; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
use Symfony\Component\HttpFoundation\Request; | |
/** | |
* Class AdminController | |
* @package AppBundle\Controller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that "tilotiti.id" is my Blockstack ID. https://onename.com/tilotiti |