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 / QFirebaseUploaderBase.vue
Created April 23, 2019 14:38
Firebase File Uploader for Quasar Framework
<script>
import { QUploaderBase } from 'quasar'
import firebase from 'firebase/app'
import 'firebase/storage'
import uuid from 'uuid/v4'
export default {
mixins: [ QUploaderBase ],
props: {
@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
// 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: