Skip to content

Instantly share code, notes, and snippets.

View TomasVotruba's full-sized avatar
🎯
Deprecating Legacy

Tomas Votruba TomasVotruba

🎯
Deprecating Legacy
View GitHub Profile
@TomasVotruba
TomasVotruba / README.md
Created October 10, 2020 09:38
text on github about bio me

Tomas loves to combine open-source and innovations... yet he's super lazy. Traumatized in childhood by doing repeated tasks as a punishment by his father (he loves), he's unable to do anything twice without deep physical pain.

That's why he always spends dozens of hours to automate problems that would take and hour or two to do manually.

This extreme lazyness created the Rector ecosystem. A tool that automatically upgrades and refactores PHP, so you can have a coffee instead while your code is upgraded from PHP 5.3 to PHP 8.0.

<?php
final class BuildSymfonyConfigsCommand extends Command
{
protected static $defaultName = 'app:build-symfony-configs';
protected function execute(InputInterface $input, OutputInterface $output): int
{
$generator = new ConfigBuilderGenerator(__DIR__ . '/../../var/cache');

Wobbly

# [mixed, mixed, mixed] 😢 
[$talk, $author, $time] = $conferenceItem->getDetails();

Strong

@TomasVotruba
TomasVotruba / gist:e21efa04552fcbfd695b80d609723383
Last active February 7, 2024 15:37
Working Gif recorder for Linux 2024

Working Gif recorder for Linux 2024

  1. Record with native "Screenshot tool"

  2. Go to ~/Screencasts

  3. To make this process easier, create a ~/bin/twitter-screencast

#!/bin/bash