Skip to content

Instantly share code, notes, and snippets.

View kolyadin's full-sized avatar

Aleksey kolyadin

  • Easy Commerce
  • Russia
View GitHub Profile
* getaddrinfo(3) failed for Authorization: DirectCrm key="Gf0c36d0i49NvI5" customerId="" sessionKey="":80
* Couldn't resolve host 'Authorization: DirectCrm key="Gf0c36d0i49NvI5" customerId="" sessionKey=""'
* Closing connection #0
curl: (6) Couldn't resolve host 'Authorization: DirectCrm key="Gf0c36d0i49NvI5" customerId="" sessionKey=""'
* About to connect() to danone-services.directcrm.ru port 443 (#0)
* Trying 95.131.24.244... connected
* Connected to danone-services.directcrm.ru (95.131.24.244) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
2015-04-11 13:13:58 Request init
2015-04-11 13:13:58 To: https://danone-services.directcrm.ru/v2/customers/current/logon/via-password
2015-04-11 13:13:58 Headers:
Array
(
[0] => X-Brand: Tema
[1] => X-Channel: Web
[2] => X-Customer-IP: 178.70.53.22
[3] => X-Customer-URI: http://tema-play.ru/
2015-04-11 13:13:28 Request init
2015-04-11 13:13:28 To: https://danone-services.directcrm.ru/v2/customers/current/available-operations
2015-04-11 13:13:28 Headers:
Array
(
[0] => X-Brand: Tema
[1] => X-Channel: Web
[2] => X-Customer-IP: 178.70.53.22
[3] => X-Customer-URI: http://tema-play.ru/
<?php
if ($_SERVER['REMOTE_ADDR'] != '217.21.220.190'
&& $_SERVER['REMOTE_ADDR'] != '87.117.1.195'
&& $_SERVER['REMOTE_ADDR'] != '46.37.153.91'
&& $_SERVER['REMOTE_ADDR'] != '95.189.168.158'
&& $_SERVER['REMOTE_ADDR'] != '87.117.1.195'
&& $_SERVER['REMOTE_ADDR'] != '95.220.124.35'
&& $_SERVER['REMOTE_ADDR'] != '80.235.94.211'
<html>
<head>
<title>Сайт временно недоступен. Приносим свои извинения за неудобства.</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/font/helveticaround.css" type="text/css" rel="stylesheet" />
<style type="text/css">
html, body {padding: 0px; margin: 0px;}
* {font-family: 'helveticarounded', serif;}
body {background-color: #FDF1E5;}
.container {width: 500px;margin: 170px auto;text-align: center;}
АВСТРАЛИЙСКАЯ ОВЧАРКА
АВСТРАЛИЙСКИЙ КЕЛПИ
АВСТРАЛИЙСКИЙ ХИЛЕР
БЕЛАЯ ШВЕЙЦАРСКАЯ ОВЧАРКА
БЕЛЬГИЙСКАЯ ОВЧАРКА (по разновидностям)
БОРДЕР КОЛЛИ
БОРОДАТАЯ КОЛЛИ
БОСЕРОН
БРИАР
ВЕЛЬШ КОРГИ КАРДИГАН
{
"selection1": [
{
"extract1": "Абиссинская"
},
{
"extract1": "Австралийский мист"
},
{
"extract1": "Азиатская (табби)"
<?php
namespace Hills\MapBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
class DefaultController extends Controller {
{"objects":[{"id":1,"name":"\u0424\u0438\u043b\u044f","type":"shop","address":"\u041a\u0438\u0440\u043e\u0447\u043d\u0430\u044f \u0443\u043b, 7\u0430","phone":"8 (812) 272 48 31","fax":null,"operationTime":null,"info":null,"latitude":59.943832466281,"longitude":30.353669604911,"city":1,"metro":[1]},{"id":2,"name":"\u0421\u043e\u0431\u0430\u0447\u044c\u044f \u0436\u0438\u0437\u043d\u044c","type":"clinic","address":"\u0422\u0430\u0432\u0440\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0443\u043b. \u0414. 27","phone":null,"fax":null,"operationTime":null,"info":null,"latitude":59.945299404861,"longitude":30.379030689566,"city":1,"metro":[1]},{"id":3,"name":"\u0415\u043d\u043e\u0442","type":"clinic","address":"8-\u044f \u043b\u0438\u043d\u0438\u044f,\u0412.\u041e. \u0434. 57","phone":null,"fax":null,"operationTime":null,"info":null,"latitude":59.944055405492,"longitude":30.274689604911,"city":1,"metro":[2]},{"id":4,"name":"\u0426\u0435\u043d\u0442\u0440 \u0441\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f
{"objects":[{"id":1,"name":"\u0424\u0438\u043b\u044f","type":"shop","address":"\u041a\u0438\u0440\u043e\u0447\u043d\u0430\u044f \u0443\u043b, 7\u0430","phone":"8 (812) 272 48 31","fax":null,"operationTime":null,"info":null,"latitude":59.943832466281,"longitude":30.353669604911,"city":1,"metro":[1]},{"id":2,"name":"\u0421\u043e\u0431\u0430\u0447\u044c\u044f \u0436\u0438\u0437\u043d\u044c","type":"clinic","address":"\u0422\u0430\u0432\u0440\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0443\u043b. \u0414. 27","phone":null,"fax":null,"operationTime":null,"info":null,"latitude":59.945299404861,"longitude":30.379030689566,"city":1,"metro":[1]},{"id":3,"name":"\u0415\u043d\u043e\u0442","type":"clinic","address":"8-\u044f \u043b\u0438\u043d\u0438\u044f,\u0412.\u041e. \u0434. 57","phone":null,"fax":null,"operationTime":null,"info":null,"latitude":59.944055405492,"longitude":30.274689604911,"city":1,"metro":[2]},{"id":4,"name":"\u0426\u0435\u043d\u0442\u0440 \u0441\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f