curl -O http://launchpadlibrarian.net/648013231/libtinfo5_6.4-2_amd64.deb
sudo dpkg -i libtinfo5_6.4-2_amd64.deb
curl -O http://launchpadlibrarian.net/648013227/libncurses5_6.4-2_amd64.deb
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
```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 |
initialize
: once, when the controller is first instantiatedconnect
: anytime the controller is connected to the DOM#!/bin/sh | |
set -e | |
vendor/bin/phpunit | |
(git push) || true | |
git checkout production | |
git merge master |
// No Security | |
{ | |
"rules": { | |
".read": true, | |
".write": true | |
} | |
} |