0 */3 * * * '/usr/bin/rm /home/majid/java_error_in_idea_*.log' >> /tmp/cron_remove_java_error_in_idea.log 2>&1
0 */3 * * * '/usr/bin/rm /home/majid/replay_pid*.log' >> /tmp/cron_remove_replay_pid.log 2>&1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p ~/.vim/syntax/ | |
wget https://www.vim.org/scripts/download_script.php?src_id=27919 -O ~/.vim/syntax/nginx.vim | |
cat > ~/.vim/filetype.vim <<EOF | |
au BufRead,BufNewFile /etc/nginx/*,/etc/nginx/conf.d/*,/usr/local/nginx/conf/* if &ft == '' | setfiletype nginx | endif | |
EOF |
Here is the link to the extension. Here is the link to the chrome extension.
sudo apt install php-[ext_name]
orsudo pecl install [ext_name]
.cd /etc/php/7.4/mods-available
andls
to see if the[ext_name].so
is available there.- If it's available, then add
extension=[ext_name].so;
to thephp.ini
file and thensudo systemctl restart php7.4-fpm.service
. - Check
php -m | grep [ext_name]
to see if it has been installed. - IF NOT:
php -i | grep extension_dir
and thencd
to the path of the returned extension dir. - The
[ext_name].so
file must be on this path. Copy it to the/etc/php/7.4/mods-available
folder and jump tostep 2
.
NewerOlder