Skip to content

Instantly share code, notes, and snippets.

View Skrip42's full-sized avatar
👨‍🔧

Skrip42 Skrip42

👨‍🔧
  • owl technology
  • Russia, Novokuznetsk
View GitHub Profile
@marcelkorpel
marcelkorpel / DiffCommand.php
Created February 3, 2021 12:46
Migrations with multiple entity managers
<?php
namespace App\Command\Migrations;
use Doctrine\Migrations\Configuration\EntityManager\ExistingEntityManager;
use Doctrine\Migrations\Configuration\Migration\YamlFile;
use Doctrine\Migrations\DependencyFactory;
use Doctrine\Persistence\ManagerRegistry;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\ArrayInput;
@erickpatrick
erickpatrick / install-vim-8-with-python-ruby-lua-ubuntu.sh
Last active April 19, 2023 09:32
Install Vim 8 with Python, Python 3, Ruby (2.5) and Lua support on Ubuntu
# remove current vim
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common
# removes current link for vim
sudo rm -rf /usr/local/share/vim /usr/bin/vim
# add ppa for newest version of ruby (currently, as of 06/06/2017, ruby v2.4)
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update