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 / highlighted.html
Created January 30, 2020 19:39
Highlight header
<h1 class="editorial-card__title">
<span class="underlay-highlight-yellow">How great managers give and receive feedback</span>
</h1>
<style>
.underlay-highlight-yellow {
background-image: url(text-underlay-yellow.svg);
}
</style>
import Vue from 'vue'
import * as Sentry from '@sentry/browser'
import axios from 'axios'
import _ from 'lodash'
import { Platform, Notify } from 'quasar'
import Firebase from 'firebase/app'
import 'firebase/auth'
import 'firebase/messaging'
import moment from 'moment'
import firebase from 'firebase/app'
import 'firebase/storage'
import uuid from 'uuid/v4'
export default function upload (file, metadata, onChange) {
return new Promise((resolve) => {
const ref = 'media/' + uuid()
const uploadTask = firebase
.storage()
.ref()
<?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)
*/
@razbakov
razbakov / airbnb.md
Last active March 18, 2019 10:26
Rental scam using Airbnb: Schöne Wohnung in der Maxvorstadt
  Schöne Wohnung in der Maxvorstadt
  Zimmer:	2,00
  Wohnfläche:	35,00 m²
  Kaltmiete:	550 €
  Adresse:	Görresstraße 17 80798 München, Maxvorstadt
  Scout-ID:	108756423

  ---
@razbakov
razbakov / vue-styleguide.md
Created February 1, 2019 08:29
Vue Style Guide

Style guide

Filenames

  • should be PascalCase

Filenames of single-file components should either be always PascalCase or always kebab-case. PascalCase works best with autocompletion in code editors, as it’s consistent with how we reference components in JS(X) and templates, wherever possible. However, mixed case filenames can sometimes create issues on case-insensitive file systems, which is why kebab-case is also perfectly acceptable.

Components

@razbakov
razbakov / JuniorDesigner.md
Created September 12, 2018 20:49
Interview: How to become JuniorDesigner?

Interview

  1. Are education and working experience required to find a work as Junior Designer?
  2. What kind of tasks do you receive as a Junior Designer?
  3. What level of experience with graphic software is expected from Junior Designer?
  4. Does an employer expect you as Junior Designer to have an extended knowledge in design applications?
  5. Is it acceptable that you are still learning those applications?
  6. Which applications are required except Adobe Illustrator, Photoshop and InDesign?
  7. Is Adobe After Effects a must? 8 ) Is it more demanding to work in a Web Agency?

Capitalized, short (<=50 chars) summary without dot

Description. More detailed explanatory text, if necessary. Wrap it to about 72 characters or so. In some contexts, the first line is treated as the subject of an email and the rest of the text as the body. The blank line separating the summary from the body is critical (unless you omit the body entirely); tools like rebase can get confused if you run the two together.

Write your commit message in the imperative: "Fix bug" and not "Fixed bug"

@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