Skip to content

Instantly share code, notes, and snippets.

....
created: () => console.log(mapState('user', ['username'])), //for debug
computed: {
...mapState('user', ['username'])
},
....
@thatside
thatside / ContractStatus.php
Created March 14, 2018 16:09
Enum-like example
<?php
use Library\EnumLike;
class ContractStatus extends EnumLike
{
const ACTIVE = 'active';
const STOPPING = 'stopping';
<?php
use Carbon\Carbon;
/**
* Trait PeriodMultiplier
* Used in cases when class has
*/
trait PeriodMultiplierTrait
{
<?php declare(strict_types=1);
namespace Common\ArgumentResolver;
use Common\Exception\ValidationErrorException;
use Common\Request\RequestData;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface;
use Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata;
@thatside
thatside / resume.json
Last active February 27, 2021 11:44
resume.json
{
"basics": {
"name": "Bohdan Turchyk",
"label": "Senior Backend Developer ",
"picture": "",
"email": "[email protected]",
"phone": "",
"website": "",
"summary": "Backend/Fullstack Software Engineer with more than 5 years of professional experience in creating modern, elaborate and useful applications. MA in Software Engineering. \n\nSkills:\n- PHP 5/7 (Symfony), Golang (Gin), Python (Flask), basic Kotlin skills;\n- VueJS, ReactJS;\n- MySQL, PostgreSQL, RabbitMQ, Redis, InfluxDB;\n- Docker, Jenkins, overall Linux;\n- Excellent problem solving and solution design skills.\n\nInterested in using new practices , tools and languages in my work.\nPrefer to take responsibility over the project I am working and push it beyond the limits. Good in team work, but not afraid to work on my own.\n\nLooking for backend/infrastructure-focused positions using Symfony, Golang or Kotlin (as migration target).\nNot interested in frontend-only job offers and Laravel framework.",
"location": {