Skip to content

Instantly share code, notes, and snippets.

View jerronimo's full-sized avatar

Eugene Kashkarov jerronimo

  • Kharkiv
View GitHub Profile
<article role="tabpanel-category" class="tab" id="payment_settings">
<form action="#" class="main-form" name="paymentForm" novalidate>
<div class="row">
<div class="title-box">
<label class="info-label">KYC required. Your current level is: <span class="payment-level-highlight">LIGHT</span></label>
</div>
</div>
<div class="row">
<div class="box text-right">
$(function(){
'use strict';
var onSavePostCode = false;
var onSavePostCodePayment = false;
var settingsAutocompService = new GoogleAutocompleteService(),
isAvailable = settingsAutocompService.getFormElements('.settings form[name="contactForm"]');
if(isAvailable)
settingsAutocompService.initAutoComplete();
<VirtualHost *:80>
ServerName acted.loc
ServerAlias www.acted.loc
DirectoryIndex app_dev.php
DocumentRoot /home/eugene/www/acted/web
<Directory /home/eugene/www/acted/web>
# enable the .htaccess rewrites
AllowOverride All
Order allow,deny
<?php
namespace App\Console\Commands;
use App\Models\Apartment;
use Illuminate\Console\Command;
use Elasticsearch\ClientBuilder;
class ElasticReindexCommand extends Command
{
Building elasticsearch
Step 1/17 : FROM openjdk:8-jre
---> 02d99451775e
Step 2/17 : ENV GOSU_VERSION 1.7
---> Using cache
---> ba4ee616e678
Step 3/17 : RUN set -x && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" && export GNUPGHOME="$(mktemp -d)" && gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc && chmod +x /usr/local/bin/gosu && gosu nobody true
---> Running in fbe6dd6e56b8
+ dpkg --print-architecture
+ wget -O /usr/local/bin/gosu https://github.com/tianon/gosu/releases/download/1.7/gosu-amd64
<VirtualHost *:80>
ServerName acted.loc
ServerAlias www.acted.loc
DirectoryIndex app_dev.php
DocumentRoot /home/eugene/www/acted/web
<Directory /home/eugene/www/acted/web>
# enable the .htaccess rewrites
AllowOverride All
Order allow,deny
{
"quoteItems": [
{
"id": 1,
"active": 0,
"quotePackages": [
{
"id": 1,
"active": 1,
"quoteSets": [
{
"quoteItems": [
{
"id": 9,
"active": 0,
"quotePackages": [
{
"id": 6,
"active": 1,
"quoteSets": [
{
"hello_pad": {
"mappings": {
"apartment": {
"properties": {
"bathrooms": {
"type": "integer"
},
"bedrooms": {
"type": "integer"
liip_imagine:
driver: imagick
filter_sets:
thumbnail_filter:
format: jpeg
filters:
strip: ~
downscale: { max: [300, 200] }
search_image_thumbnail:
quality: 100