Skip to content

Instantly share code, notes, and snippets.

View razbakov's full-sized avatar
🖖
Hi

Aleksey Razbakov razbakov

🖖
Hi
View GitHub Profile
@razbakov
razbakov / docker-compose.yml
Last active September 6, 2017 11:11
traefik configuration
version: "2"
services:
bo-loadbalancer:
image: "traefik:1.3"
ports:
- "80:80"
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
app/console
Symfony version 2.7.6 - app/vagrant_dev/debug
Usage:
command [options] [arguments]
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
// Input
groupBy = ['color', 'size', '', ...]
data = [
{
"color": "red",
"size": "big",
"data": "1"
},

require js build file generated by ORO at web/build.js:

{
    "optimize": "uglify2",
    "preserveLicenseComments": true,
    "paths": [],
    "baseUrl": "./bundles",
    "out": "./js/oro.min.js",
    "mainConfigFile": "./js/require-config.js",

Keybase proof

I hereby claim:

  • I am razbakov on github.
  • I am razbakov (https://keybase.io/razbakov) on keybase.
  • I have a public key ASDl0WcFjCHhxyocXKlEKX0Z1Ya-Rg4uv9LR_YUcNQEkGAo

To claim this, I am signing this object:

<?php
/**
*
*
* @category Kirchbergerknorr
* @package Kirchbergerknorr_OrderProcessor
* @author Aleksey Razbakov <ar@kirchbergerknorr.de>
* @copyright Copyright (c) 2016 kirchbergerknorr GmbH (http://www.kirchbergerknorr.de)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/

Angular JS

If you are backend or frontend developer and some times you need to implement javascript logic on a website or AJAX calls, then join this presentation and know alternative simple way of doing this.

HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. AngularJS lets you extend HTML vocabulary for your application. The resulting environment is

@razbakov
razbakov / adds.txt
Last active November 17, 2015 17:08
Шерлох Холмс - гений ли?
Дедукция доступна каждому!
Мафия Мюнхен - плечом к плечу с Шерлоком Холмсом.
---
Прыжок с парашютом.
Давно планируешь прыгнуть?
Слишком опасно? Слишком высоко? Слишком быстро?

StoreSwitcher

Kirchbergerknorr StoreSwitcher redirects a customer to the right store based on his geo-location.

Rewritten block page_switcher to show all active stores from all websites.

Module based on Atwix_Ipstoreswitcher.

Facts