- Stop MySQL
sudo service mysql stop
- Make MySQL service directory.
sudo mkdir /var/run/mysqld
- Give MySQL user permission to write to the service directory.
| // No Security | |
| { | |
| "rules": { | |
| ".read": true, | |
| ".write": true | |
| } | |
| } |
| #!/bin/sh | |
| set -e | |
| vendor/bin/phpunit | |
| (git push) || true | |
| git checkout production | |
| git merge master |
initialize: once, when the controller is first instantiatedconnect: anytime the controller is connected to the DOM| ```app/models/concerns/active_admin/filter_name.rb``` | |
| module ActiveAdmin::FilterName | |
| extend ActiveSupport::Concern | |
| included do | |
| def self.ransackable_scopes(_auth_object = nil) | |
| %i[attribute_eq] | |
| end | |
| def self.attribute_eq(paramater) | |
| return none unless invalid_parameter |
List of terminal commands to install the zsh.
# ZSH
sudo apt install zsh -y
sudo apt-get install powerline fonts-powerline -y
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
chsh -s /bin/zsh
# REBOOT