SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
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
SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY','')); |
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
import { Injectable, Injector } from '@angular/core'; | |
import { | |
HttpInterceptor, | |
HttpRequest, | |
HttpHandler, | |
HttpEvent | |
} from '@angular/common/http'; | |
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
sudo dd if=/dev/zero of=/var/swapfile bs=1M count=2048 && \ | |
sudo chmod 600 /var/swapfile && \ | |
sudo mkswap /var/swapfile && \ | |
echo /var/swapfile none swap defaults 0 0 | sudo tee -a /etc/fstab && \ | |
sudo swapon -a |
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
[mysql] | |
user=zabbix | |
password=senha | |
[mysqladmin] | |
user=zabbix | |
password=senha |
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
# Step 1 Install | |
sudo apt-get install zabbix-agent | |
# Step 2 Config agent.cnf | |
vim /etc/zabbix/zabbix_agentd.conf | |
# Step 3 add restart service | |
systemctl restatrt zabbix-agent | |
systemctl enable zabbix-agent | |
systemctl status zabbix-agent | |
# Step 4 Optimize swapefile |
- cd /tmp
- wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana_4.4.1_amd64.deb
- sudo dpkg -i grafana_4.4.1_amd64.deb
- apt-get install -y adduser libfontconfig
- /bin/systemctl daemon-reload
- /bin/systemctl enable grafana-server
O profissional deve possuir, primeiramente, alta disponibilidade para poder suprir as necessidades da área, bem como ser comprometido com resultados e prazos, participar das dailys, sprint planning e sprint review.
Irá trabalhar diretamente com outros Desenvolvedores Back-end, Front-end e Mobile com os quais terá a oportunidade de trocar experiências e sugerir melhorias em arquiteturas e no seu fluxo de trabalho atual.
Sua atuação será tanto em nível de desenvolvimento como na ajuda do planejamento da arquitetura para desenvolvimento de produtos de alta complexidade quanto as necessidades de negócio abordadas.
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
rsync -Cravpe ssh /usr/share/storage/ user@server:/var/www/storage |
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
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: supervisord | |
# Required-Start: $remote_fs | |
# Required-Stop: $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Example initscript | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |