Skip to content

Instantly share code, notes, and snippets.

<?php
namespace UmberFirm\Bundle\CustomerBundle\Tests\Unit\Entity;
use DateTime;
use UmberFirm\Bundle\CommonBundle\Entity\Gender;
use UmberFirm\Bundle\CustomerBundle\Entity\Customer;
use UmberFirm\Bundle\CustomerBundle\Entity\CustomerProfile;
/**
<?php
namespace AppBundle\Command;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\DomCrawler\Crawler;
@andreybolonin
andreybolonin / gist:278af113f27ea92a9cb8d89ee893704d
Created December 8, 2016 09:30
Google Places API request by keyword "Киев"
object(Illuminate\Support\Collection)#711 (1) {
["items":protected]=>
array(2) {
["predictions"]=>
object(Illuminate\Support\Collection)#713 (1) {
["items":protected]=>
array(5) {
[0]=>
array(8) {
["description"]=>
image: andreybolonin/phpunit_ctype:latest
pipelines:
default:
- step:
script: # Modify the commands below to build your repository.
- service mysql restart
- composer install -n
- phpunit
# PHPUnit Docker Container.
FROM ubuntu:latest
MAINTAINER Julien Breux <[email protected]>
#RUN apk --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing add \
# bash \
# ca-certificates \
# git \
# curl \
# unzip \
git checkout feature/HM20-84
git rebase -i HEAD~9
git push origin feature/HM20-84 -f
git pull --rebase origin develop
git checkout -b {branch_name}
<form action="http://crm.healthmarketing.me/lead/lead_capture_form" method="post">
<input name="name" class="form-control" type="text" placeholder="Name" required>
<input name="email" class="form-control" type="email" placeholder="Email" required>
<input name="phone" class="form-control" type="text" placeholder="Phone" required>
<input name="userId" class="form-control" type="hidden" value="4" required>
<input name="redirectUrl" class="form-control" type="hidden" value="http://healthmareting.me/thx" placeholder="userId" required>
<input class="btn btn-primary" type="button" value="Submit">
<form>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<title>Автоподбор бесплатно | Услуги автоэксперта в Киеве</title>
<!-- core CSS -->
<!-- Change the width and height values to suit you best -->
<div class="typeform-widget" data-url="https://crmtronic.typeform.com/to/twAX7w" data-text="Book-magnit" style="width:100%;height:500px;"></div>
<script>(function(){var qs,js,q,s,d=document,gi=d.getElementById,ce=d.createElement,gt=d.getElementsByTagName,id='typef_orm',b='https://s3-eu-west-1.amazonaws.com/share.typeform.com/';if(!gi.call(d,id)){js=ce.call(d,'script');js.id=id;js.src=b+'widget.js';q=gt.call(d,'script')[0];q.parentNode.insertBefore(js,q)}})()</script>
@andreybolonin
andreybolonin / gist:f53f2de09cc4cfed7d37e9dfa52fb753
Created September 2, 2016 08:03
Sales/Marketing for entrepreneurs 7.09.16
<link rel="stylesheet" href="//app.ontraport.com/js/formeditor/moonrayform/paymentplandisplay/production.css" type="text/css" /><link rel="stylesheet" href="//forms.ontraport.com/formeditor/formeditor/css/form.default.css" type="text/css" /><link rel="stylesheet" href="//forms.ontraport.com/formeditor/formeditor/css/form.publish.css" type="text/css" /><link rel="stylesheet" href="//forms.ontraport.com/v2.4/include/minify/?g=moonrayCSS" type="text/css" /><link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/smoothness/jquery-ui.min.css" type="text/css" /><link rel="stylesheet" href="//forms.ontraport.com/v2.4/include/formEditor/gencss.php?uid=p2c80476f179" type="text/css" /><script type="text/javascript" src="//forms.ontraport.com/v2.4/include/formEditor/genjs-v3.php?html=false&uid=p2c80476f179"></script><div class="moonray-form-p2c80476f179 ussr"><div class="moonray-form moonray-form-label-pos-stacked">
<form class="moonray-form-clearfix" action="https://forms.ontraport.com/v2.4/