Last edit
Related cards:
Disable event tag as doctrine.event_subscriber from Symfony 2
In controller
$em = $this->getDoctrine()->getManager();
$evm = $em->getEventManager();
$evm->removeEventSubscriber($this->get('service.taged.as.doctrine.event_subscriber '));
bashrc mininal with git, android studio, yarn, nvm
export PATH=~/.local/bin:$PATH
export PATH=~/bin:$PATH
function parse_git_branch () {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
RED="\[\033[0;31m\]"
YELLOW="\[\033[0;33m\]"
GREEN="\[\033[0;32m\]"
NO_COLOR="...
Wordpress `wp-config.php` comman conf
error_reporting(E_ERROR);
define('WP_ENV', 'production');
define('WP_SITEURL', 'http://website.com/');
define('WP_HOME', 'http://website.com/');
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
`...
Common Ubuntu 20.04 LEMP stack setup commands
Install required packages
sudo add-apt-repository universe
sudo apt update && sudo apt dist-upgrade && sudo apt autoremove
sudo apt-get install -y build-essential nginx git redis-server wget htop apache2-utils unzip mysql-server nginx mysq...
Ubutnu 20.04 - Update mysql 8 root password
from bash terminal login as root user
sudo su
mysql
From MySQL cli change password
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_password_here';
flush privileges;
Window Manager Script for KDE Plasma! - Krohnkite
On KDE Ubuntu 20.04
Install vie Kwin Script in Settings > Window Management
Enable User configation
mkdir -p ~/.local/share/kservices5/
ln -s ~/.local/share/kwin/scripts/krohnkite/metadata.desktop ~/.local/share/kservices5/krohnkite.de...
Posted by Tushar to Tushar's deck (2012-01-19 20:27)