Skip to content

Instantly share code, notes, and snippets.

@andreybolonin
andreybolonin / DoctrineFixturesDumpCommand.php
Created August 1, 2014 03:50
DoctrineFixturesDumpCommand
<?php
namespace Acme\MainBundle\Command;
use Doctrine\Common\Util\Inflector;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Filesystem\Filesystem;
@andreybolonin
andreybolonin / Tag.php
Created August 17, 2014 06:53
Tag.php
class Tag
{
private $tag;
private $class;
private $id;
private $parent
private $childs;
}
@andreybolonin
andreybolonin / pip.log
Created August 21, 2014 09:28
pip.log
------------------------------------------------------------
/usr/bin/pip run on Thu Aug 21 12:16:59 2014
Requirement already satisfied (use --upgrade to upgrade): Django==1.6.5 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 1))
Downloading/unpacking Pillow==2.5.1 (from -r requirements.txt (line 2))
Getting page https://pypi.python.org/simple/Pillow/
URLs to search for versions for Pillow==2.5.1 (from -r requirements.txt (line 2)):
* https://pypi.python.org/simple/Pillow/2.5.1
* https://pypi.python.org/simple/Pillow/
Getting page https://pypi.python.org/simple/Pillow/2.5.1
Could not fetch URL https://pypi.python.org/simple/Pillow/2.5.1: 404 Client Error: Not Found
@andreybolonin
andreybolonin / error.log
Created August 21, 2014 09:58
error.log
[Tue Aug 19 05:36:12.206468 2014] [mpm_prefork:notice] [pid 16322] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.3 configured -- resuming normal operations
[Tue Aug 19 05:36:12.206496 2014] [core:notice] [pid 16322] AH00094: Command line: '/usr/sbin/apache2'
[Thu Aug 21 12:22:36.599683 2014] [mpm_prefork:notice] [pid 16322] AH00169: caught SIGTERM, shutting down
[Thu Aug 21 12:33:43.479886 2014] [mpm_prefork:notice] [pid 10355] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.3 mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations
[Thu Aug 21 12:33:43.479956 2014] [core:notice] [pid 10355] AH00094: Command line: '/usr/sbin/apache2'
[Thu Aug 21 12:34:31.659710 2014] [authz_core:error] [pid 10364] [client 127.0.0.1:57291] AH01630: client denied by server configuration: /home/andreybolonin/www/api_psd2html/api/wsgi.py
[Thu Aug 21 12:34:31.720897 2014] [authz_core:error] [pid 10364] [client 127.0.0.1:57291] AH01630: client denied by server configuration: /home/andreybolonin/www/api_psd2html/api/
@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/
<!-- 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>
<!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 -->
<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>
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}
# PHPUnit Docker Container.
FROM ubuntu:latest
MAINTAINER Julien Breux <julien.breux@gmail.com>
#RUN apk --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing add \
# bash \
# ca-certificates \
# git \
# curl \
# unzip \